android_system_core/libunwindstack
Christopher Ferris 4568f4bc0f Verify that the elf matches the expected arch.
To avoid a case where a malicious app might try and trick the system to
create an elf and register object that mismatches, always verify that they
are the same arch.

Test: Ran unit tests.
Change-Id: I66978e9e02f8e4f396856912e7019528ead4838e
2018-10-29 18:08:09 -07:00
..
include/unwindstack Verify that the elf matches the expected arch. 2018-10-29 18:08:09 -07:00
tests Verify that the elf matches the expected arch. 2018-10-29 18:08:09 -07:00
tools Always init gnu_debugdata interface if it exists. 2018-10-23 12:13:54 -07:00
.clang-format
Android.bp Fix which maps to search for globals. 2018-10-17 14:23:10 -07:00
ArmExidx.cpp Fix handling of load bias values. 2018-06-11 18:53:55 -07:00
ArmExidx.h Fix handling of load bias values. 2018-06-11 18:53:55 -07:00
AsmGetRegsMips.S
AsmGetRegsMips64.S
AsmGetRegsX86.S
AsmGetRegsX86_64.S
Check.h
DexFile.cpp Move to using ClassAccessor 2018-08-08 11:04:15 -07:00
DexFile.h Move to using ClassAccessor 2018-08-08 11:04:15 -07:00
DexFiles.cpp Verify that the elf matches the expected arch. 2018-10-29 18:08:09 -07:00
DwarfCfa.cpp Suppress implicit-fallthrough warnings. 2018-09-17 16:50:11 +00:00
DwarfCfa.h Fix handling of load bias values. 2018-06-11 18:53:55 -07:00
DwarfDebugFrame.h Refactor the DwarfSection classes. 2018-06-27 14:52:21 -07:00
DwarfEhFrame.h Refactor the DwarfSection classes. 2018-06-27 14:52:21 -07:00
DwarfEhFrameWithHdr.cpp Refactor the DwarfSection classes. 2018-06-27 14:52:21 -07:00
DwarfEhFrameWithHdr.h Refactor the DwarfSection classes. 2018-06-27 14:52:21 -07:00
DwarfEncoding.h
DwarfMemory.cpp
DwarfOp.cpp Implement new DEX PC lookup scheme. 2018-02-13 16:45:38 -08:00
DwarfOp.h Implement new DEX PC lookup scheme. 2018-02-13 16:45:38 -08:00
DwarfSection.cpp Fix implicit fall through switch cases. 2018-09-19 14:12:59 -07:00
Elf.cpp Verify that the elf matches the expected arch. 2018-10-29 18:08:09 -07:00
ElfInterface.cpp Be permissive about badly formed elf files. 2018-08-03 22:02:05 +00:00
ElfInterfaceArm.cpp Remove Memory::ReadField. 2018-07-12 12:45:31 -07:00
ElfInterfaceArm.h Remove Memory::ReadField. 2018-07-12 12:45:31 -07:00
Global.cpp Verify that the elf matches the expected arch. 2018-10-29 18:08:09 -07:00
JitDebug.cpp Verify that the elf matches the expected arch. 2018-10-29 18:08:09 -07:00
LocalUnwinder.cpp Verify that the elf matches the expected arch. 2018-10-29 18:08:09 -07:00
Log.cpp
MapInfo.cpp Verify that the elf matches the expected arch. 2018-10-29 18:08:09 -07:00
Maps.cpp Implement support for linker rosegment option. 2018-10-03 20:48:45 -07:00
Memory.cpp Implement support for linker rosegment option. 2018-10-03 20:48:45 -07:00
OWNERS
Regs.cpp Expose per arch headers. 2018-02-08 19:29:08 -08:00
RegsArm.cpp libunwindstack: add Regs::Clone. 2018-04-20 13:23:20 -07:00
RegsArm64.cpp libunwindstack: add Regs::Clone. 2018-04-20 13:23:20 -07:00
RegsInfo.h Fix off by one error. 2018-10-23 18:10:41 +01:00
RegsMips.cpp libunwindstack: add Regs::Clone. 2018-04-20 13:23:20 -07:00
RegsMips64.cpp libunwindstack: add Regs::Clone. 2018-04-20 13:23:20 -07:00
RegsX86.cpp libunwindstack: add Regs::Clone. 2018-04-20 13:23:20 -07:00
RegsX86_64.cpp libunwindstack: add Regs::Clone. 2018-04-20 13:23:20 -07:00
Symbols.cpp Fix handling of load bias values. 2018-06-11 18:53:55 -07:00
Symbols.h Fix handling of load bias values. 2018-06-11 18:53:55 -07:00
Unwinder.cpp Verify that the elf matches the expected arch. 2018-10-29 18:08:09 -07:00