diff options
author | Ben Smith <binjimin@gmail.com> | 2018-11-28 00:10:51 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-28 00:10:51 -0800 |
commit | 2547ab9c1dd291ad3c19beaf96ddf74d3a8892e5 (patch) | |
tree | c2d45ed7d8967908dabf047ec21b48c2e5dd4bf2 /src/binary-reader-objdump.cc | |
parent | a3ec8554b5c62e2f973992054904f30e99910384 (diff) | |
download | wabt-2547ab9c1dd291ad3c19beaf96ddf74d3a8892e5.tar.gz wabt-2547ab9c1dd291ad3c19beaf96ddf74d3a8892e5.tar.bz2 wabt-2547ab9c1dd291ad3c19beaf96ddf74d3a8892e5.zip |
Handle mismatch in function/code section (#959)
If the function section is present, and has a non-zero count, then if
the code section is absent the module should not validate.
If either section is missing, but the count is zero it is OK.
Diffstat (limited to 'src/binary-reader-objdump.cc')
0 files changed, 0 insertions, 0 deletions