android_system_core/libunwindstack/tests
Christopher Ferris 051792fed4 Fix some memory leaks, potential errors.
Fix a couple of memory leaks in tests.

Fix a potential case that length could be zero.

Bug: 23762183

Test: Ran unit tests, then ran valgrind on unit tests and verified no leaks.
Change-Id: I5f7602aa0204db0488a8e305250658cdb6e977d0
2017-06-19 16:20:33 -07:00
..
ArmExidxDecodeTest.cpp Elf interface for new unwinder. 2017-03-09 12:27:16 -08:00
ArmExidxExtractTest.cpp Elf interface for new unwinder. 2017-03-09 12:27:16 -08:00
DwarfCfaLogTest.cpp Add DwarfSection classes. 2017-06-01 13:12:31 -07:00
DwarfCfaTest.cpp Add DwarfSection classes. 2017-06-01 13:12:31 -07:00
DwarfMemoryTest.cpp Add DwarfMemory class. 2017-03-24 14:07:21 -07:00
DwarfOpLogTest.cpp Add DwarfOp support. 2017-04-04 12:35:50 -07:00
DwarfOpTest.cpp Add DwarfSection classes. 2017-06-01 13:12:31 -07:00
DwarfSectionImplTest.cpp Add DwarfSection classes. 2017-06-01 13:12:31 -07:00
DwarfSectionTest.cpp Add DwarfSection classes. 2017-06-01 13:12:31 -07:00
ElfInterfaceArmTest.cpp Elf interface for new unwinder. 2017-03-09 12:27:16 -08:00
ElfInterfaceTest.cpp Elf interface for new unwinder. 2017-03-09 12:27:16 -08:00
ElfTest.cpp Elf interface for new unwinder. 2017-03-09 12:27:16 -08:00
LogFake.cpp Remote reference to log/logger.h 2017-01-30 13:24:51 -08:00
LogFake.h New version of unwinder. 2017-01-25 12:21:51 -08:00
MapInfoTest.cpp Fix some memory leaks, potential errors. 2017-06-19 16:20:33 -07:00
MapsTest.cpp Implement maps parsing. 2017-04-06 15:01:02 -07:00
MemoryBuffer.cpp Add overflow checks in Memory objects. 2017-04-03 18:36:33 -07:00
MemoryFake.cpp New version of unwinder. 2017-01-25 12:21:51 -08:00
MemoryFake.h Add overflow checks in Memory objects. 2017-04-03 18:36:33 -07:00
MemoryFileTest.cpp Add overflow checks in Memory objects. 2017-04-03 18:36:33 -07:00
MemoryLocalTest.cpp Add overflow checks in Memory objects. 2017-04-03 18:36:33 -07:00
MemoryRangeTest.cpp Fix some memory leaks, potential errors. 2017-06-19 16:20:33 -07:00
MemoryRemoteTest.cpp Add overflow checks in Memory objects. 2017-04-03 18:36:33 -07:00
MemoryTest.cpp Add overflow checks in Memory objects. 2017-04-03 18:36:33 -07:00
RegsFake.h Change RegsTmpl to RegsImpl. 2017-06-01 17:56:46 -07:00
RegsTest.cpp Change RegsTmpl to RegsImpl. 2017-06-01 17:56:46 -07:00
SymbolsTest.cpp Add Symbols parsing. 2017-04-04 14:41:34 -07:00