summaryrefslogtreecommitdiff
path: root/disassembler/disassembler.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2022-01-07 11:57:24 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2022-01-10 08:36:50 +0000
commitcc809a55aaed91ce54c0dde6efbc9bd4acb4eea5 (patch)
treecdd88fb29fe00ca2e9513ac678e3add36d8c0cee /disassembler/disassembler.h
parent8f114dc431d8195b928fe3494244c11066f9cd68 (diff)
Do not continue loading a vdex if we don't have enough reserved space.
It's always a sign that something is off and the oat file should be rejected. Note that if we continue loading, and the oat file somehow does not get rejected, we will end up in a bogus situation where the OatFile has a wrong value for vdex_begin_ and vdex_end_. Test: test.py Bug: 211367695 (cherry picked from commit 0d0e09d6f9fb7a37eedb68e9825d4d37b52b4410) Merged-In: I6d6db4bc35f103c2aa935e91b2d329974cbd2d6b Change-Id: I58b60b051d00b0920f43890c9ef4505ec18c850d
Diffstat (limited to 'disassembler/disassembler.h')
0 files changed, 0 insertions, 0 deletions