summaryrefslogtreecommitdiff
path: root/src/interp/binary-reader-interp.cc
diff options
context:
space:
mode:
authorWouter van Oortmerssen <aardappel@gmail.com>2019-04-05 15:00:08 -0700
committerGitHub <noreply@github.com>2019-04-05 15:00:08 -0700
commit189c0e61cb164b6db98a97b6bc4f19205d9f2dc6 (patch)
treeee9dc41c593af14037991399bab625435a73d781 /src/interp/binary-reader-interp.cc
parenta927578d466838b6dacfdd30c2aebc891bcf594e (diff)
downloadwabt-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