summaryrefslogtreecommitdiff
path: root/src/support/file.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 'std::string &' => 'std::string& ' (#1403)Alon Zakai2018-02-051-4/+4
| | | The & on the type is the proper convention.
* wasm-reduce tool (#1139)Alon Zakai2017-09-011-0/+12
| | | Reduce an interesting wasm to a smaller still interesting wasm. This takes an arbitrary command to run, and reduces the wasm as much as it can while keeping the behavior of that command fixed. This can be used to reduce compiler bugs in an arbitrary VM, etc.
* Fix wasm::read_file() to read correctly sized input strings in text mode. ↵juj2017-07-181-0/+6
| | | | (#1088)
* Wrap description (#839)Loo Rong Jie2016-11-281-0/+1
|
* add support for symbol assignments, closes #4422 (#615)Dominic Chen2016-07-111-1/+1
| | | Adds support for aliases to objects, to go along with the existing support for aliases to functions.
* Build fixes/workarounds to support Visual Studio 2013 build, which has ↵juj2016-06-211-0/+1
| | | | trouble with some new C++11 constructs. (#581)
* Changed type of flags to fix Visual Studio 2015 error (#418)BSalita2016-04-301-1/+1
| | | Changed type of flags (line 26) in read_file() from auto to std::ios_base::openmode to fix Visual Studio 2015 error.
* fix file size for binary files readAlon Zakai2016-04-211-1/+1
|
* refactor file flags into enumsAlon Zakai2016-03-311-8/+8
|
* set the binary bit on files we need to open in binary modeAlon Zakai2016-03-311-7/+12
|
* Repair broken file-size checkpjuftring2016-03-311-1/+1
|
* streampos may be signed on some platformsAlon Zakai2016-03-281-2/+2
|
* Use std::numeric_limits<uint32_t>::max() instead of 0xFFFFFFFF.Jukka Jylänki2016-03-281-2/+3
|
* Fix wasm::read_file() to abort if input file is too big to read in when ↵Jukka Jylänki2016-03-281-2/+7
| | | | building a 32-bit executable and size_t is not 64-bit.
* asm2wasm: use support's command-lineJF Bastien2016-01-111-2/+7
|
* Move file input / output to support.JF Bastien2016-01-041-0/+51