aboutsummaryrefslogtreecommitdiff
path: root/disassembler.h
diff options
context:
space:
mode:
authorCalder Kitagawa <ckitagawa@chromium.org>2018-06-28 21:48:40 +0000
committerCopybara-Service <copybara-worker@google.com>2021-07-25 20:02:36 -0700
commit82e8472ee794f6c684905001f055f529184142a2 (patch)
tree06b9dee892a10211c76211d2ee4e00c840a22169 /disassembler.h
parent2ed3877df49fb5271a03f999192d8640b41f5b5e (diff)
downloadzucchini-82e8472ee794f6c684905001f055f529184142a2.tar.gz
[Zucchini] Require DEX to have parsable code items
Zucchini makes the assumption that a valid DEX file has code items. However, this contraint was not applied to whether the DEX file contained valid and parsable code. As a result when attempting to find references for within these code items, which weren't successfully parsed, Zucchini would crash. The solution is to impose a requirement that at least one code item was parsed to create a disassembler. Found during fuzzing of DEX files in CL: https://chromium-review.googlesource.com/c/chromium/src/+/1117123 Change-Id: I76fcbb9267099a7fe3d6eb61c345ffbfaf772fff Reviewed-on: https://chromium-review.googlesource.com/1118851 Commit-Queue: Calder Kitagawa <ckitagawa@chromium.org> Reviewed-by: Samuel Huang <huangs@chromium.org> Cr-Commit-Position: refs/heads/master@{#571276} NOKEYCHECK=True GitOrigin-RevId: 2f1a0765a55cda93faa787cf7110db3b78f02a26
Diffstat (limited to 'disassembler.h')
0 files changed, 0 insertions, 0 deletions