diff options
author | Wouter van Oortmerssen <aardappel@gmail.com> | 2019-04-05 15:00:08 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-05 15:00:08 -0700 |
commit | 189c0e61cb164b6db98a97b6bc4f19205d9f2dc6 (patch) | |
tree | ee9dc41c593af14037991399bab625435a73d781 /src/interp/binary-reader-interp.cc | |
parent | a927578d466838b6dacfdd30c2aebc891bcf594e (diff) | |
download | wabt-189c0e61cb164b6db98a97b6bc4f19205d9f2dc6.tar.gz wabt-189c0e61cb164b6db98a97b6bc4f19205d9f2dc6.tar.bz2 wabt-189c0e61cb164b6db98a97b6bc4f19205d9f2dc6.zip |
Made common string lookups more robust. (#1060)
Since the purpose of these strings is to display them to the user,
an "error string" is a more useful default than an assert, which
would require all callers to consistently check for the range
of valid values (which they didn't).
Tools like wasm-objdump should preferably be able to continue
outputting even in the face of illegal values.
Diffstat (limited to 'src/interp/binary-reader-interp.cc')
0 files changed, 0 insertions, 0 deletions