Age | Commit message (Collapse) | Author |
|
Tombstones (especially ones with lots of VMAs) are regularly truncated.
We can at least show the number of VMAs, though, for anyone interested
in knowing whether they got close to the default 64Ki limit.
Bug: http://b/66911122
Bug: 64709603 (presubmit balking at the line above)
Test: ran crasher, examined tombstone
(cherry picked from commit 868d39a82fb2d9830d253409a1c28f0ae1fcac33)
Change-Id: I286db66f28f132307d573dbe5164efc969dc6ddc
|
|
As a VNDK-SP module, Android.bp must have 'vndk' tag as well as
'vendor_available: true'.
The 'vndk' tag for VNDK-SP formated as follows:
vndk: {
enabled: true,
support_system_process: true,
},
VNDK-SP modules will be installed both in system/lib(64) as normal
and in system/lib(64)/vndk-sp as a vendor variant.
Bug: 63866913
Test: build and boot with BOARD_VNDK_VERSION=current
Change-Id: I51fe0859f63ad58b7b91909e7d7d4206443228cd
|
|
am: ce8a4c0c2e
Change-Id: Iba1db66328410d9f03660ddea89c2689dd938ebf
|
|
am: c6dd6e8a79
Change-Id: Ie0d80840db92a7be958979785b75d3bf4077b030
|
|
|
|
- Change the field name load_base to load_bias (which is what it really is).
- Add a rel_pc field so that callers do not need to compute it themselves.
- Remove the BacktraceMap::GetRelativePc() since nobody should need to
compute this themselves.
Bug: 23762183
Test: Compiles and unit tests pass (debuggerd, libbacktrace).
Change-Id: I2cb579767120adf08c407a58f3c487ee3f2b45fc
|
|
The StepIfSignalHandler code reads from the process memory object, which
is currently the slowest way to read memory. Change the code to read from
the elf memory object which will almost always be a memory mapped file and
should be really fast.
Also, move the tests for StepIfSignalHandler to its own file.
Bug: 23762183
Test: Unit tests pass.
Change-Id: I1100b50554e5ef736a87babd484f3f34e9071caa
|
|
am: 33913ebfb5
Change-Id: Icfaa2cca55a5aef4b48f58026a64395a267a517b
|
|
- Add the StepIfSignalHandler function to the Regs object that checks
if the code is in a signal handler.
- Add tests for new code, also add a test that unwinds through a signal
handler.
- Slight modification to Elf to fail if a bad machine type is encountered.
Add tests for this.
Bug: 23762183
Test: Ran unit tests.
Change-Id: Idafa1105d00b91a9343d7464ac9ed1cb95830963
|
|
am: ca94f65ea0
Change-Id: Ic1986a1399a61b9ba3455d7ff4d2365cded86194
|
|
- Add namespace unwindstack everywhere so that it's easier for other
code to use the library.
- Move some of the header files into include/unwindstack so that they
can be exposed.
- Modify the headers so that only a limited number need to be exposed.
- Update the tools to use the new headers.
- Add a GetLoadBias() call on the Elf object. This prevents the need
to get the interface object out of the Elf object.
- Move the GetRelPc() call out of the Reg class, to the Elf class. It's
not always the case that a Reg object will be around when you want to
get a relative pc. The tests for this moved to ElfTest.cpp.
Bug: 23762183
Test: Unit tests pass.
Change-Id: Iac609dac1dd90ed83d1a1e24ff2579c96c023bc3
|
|
am: d312abe7c0
Change-Id: I824bf8bb7598383c9ffa4da8b9ffc1c7ded04268
|
|
Bug: 23762183
Test: Ran unit tests, ran new tools.
Change-Id: Icc7cbb4102a68042f4683d6dd622f21bc5e74deb
|
|
am: 0c22c5646e
Change-Id: I557f9348d53d6c64efba4e25c7fa46970ca5e7a0
|
|
- Cleanup the blueprint file a bit.
- Fix the formatting in DwarfMemoryTest.cpp.
- Fix the misnamed test MemoryBuffer.cpp to MemoryBufferTest.cpp.
- Add a function to find the location of the test files so it's not
necessary to run the test in the same directory as the test files.
Bug: 23762183
Test: Builds and unit tests pass.
Change-Id: I5666972bd01f14b8ee47c518f1840f8aeb7fd08b
|
|
am: bbcd3eb369
Change-Id: I6e5693234966ce8307376796fc9ceb6d2396a9b6
|
|
|
|
Don't build for mips, none of this is supported on mips.
Bug: 23762183
Test: Mips build passes.
Change-Id: Iba89466a7bc13856f8fcd59ca0708a30f417b6c6
|
|
am: 63988ba676
Change-Id: Ib9bb8b413ddc0ad411506a5343817f2af5177b1e
|
|
|
|
- Fixes a few bugs in untested functionality.
- Add tests for the way the register handling code is used.
- Fix a few tests that were not reaping child processes.
Bug: 23762183
Test: Ran unit tests on host (32 bit and 64 bit).
Test: Ran unit tests on angler (32 bit and 64 bit).
Change-Id: I573d6617b4f1561f6e8494d7213c52086d112d97
|
|
am: 27ce28a874
Change-Id: Iaf2ebb9f3d39b2e99724b2bed0512b4f0bb3da3c
|
|
|
|
Bug: 23762183
Test: Ran unit tests.
Change-Id: I8ac43517231d88c68c288800d8ed286daa57bce1
|
|
am: dc219f5ca8
Change-Id: I485c6211dfef3b0468dcdd9cf8cc9347b2563231
|
|
|
|
am: 69542edfbe
Change-Id: I4514fe90b92486b2730bc453b8f4badfc9466002
|
|
Bug: 37342627
Test: m
Change-Id: I2b4155bd11b315ff49eb9a69549e1ab3678d0b28
|
|
- Modify the tests to share some code for the generation of the elf data.
- Move the gnu_debugdata files into a separate directory.
- Add tests for GetElf().
- Move the CreateMemory() tests and the GetElf() tests into separate files.
Bug: 23762183
Test: New unit tests pass.
Change-Id: Ie3380296bb49753c2ac8801cfa11f93d6ff7121d
|
|
am: 5d6d932a60
Change-Id: I84ca9a5e4a77c44a336245286c1d40d7fd4de003
|
|
- Use the CHECK macro everywhere that assert was used.
- Remove the _debug version of the tests and leave the CHECK macro so
it's always checking in the code.
Bug: 23762183
Test: Ran unit tests.
Change-Id: Ie705eedae393d0e95bb9d99f852687a11881aef1
|
|
am: 51b4f48280
Change-Id: Ibd1f92670c0238f094616125be0080c8d5c0a50b
|
|
Test: Built.
Change-Id: I455381d29045dc6dddfb2b77dcde312722c06ebf
|
|
am: 9302daeb1d
Change-Id: Idfa6a275050fdf638229e8417f6bb0008fe13dc8
|
|
Update the unwind_info tool to dump all of the sections.
Bug: 23762183
Test: Passes new unit tests.
Change-Id: I8b223bc208a1a2ef06ed333e6d96943c8f273681
|
|
am: ee5c756d25
Change-Id: Iaf9dd25a0982916c6c2b06bf7ba618e1b2b452e1
|
|
Add the code to parse the Elf section headers.
Add the plumbing through of all the symbol handling code.
Add tests for all of this new functionality.
Bug: 23762183
Test: Pass new unit tests.
Change-Id: Ie2d90cbb3d7653c53251dbcf34d9e5d241278377
|
|
am: 60d677147e
Change-Id: I184799dd198d6469326f0c07dfb15a5323e9af69
|
|
|
|
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
|
|
am: b1dc155338
Change-Id: I050d1046fd7605dc23d18219b3f7439d362225b2
|
|
|
|
Bug: 23762183
Test: Pass new unit tests.
Change-Id: I1bfe900e068017ff31998f359bf98d4c5c9af2a5
|
|
am: 56b004c350
Change-Id: I04c96c44d6dd72ab7acd8d8f4a76534e0d35e31b
|
|
Bug: 62141808
Test: Ran unit tests, ran debuggerd -b on android processes.
Change-Id: I40f341bcb2b35dd0a020d245d6b6f2ed2df65481
|
|
am: a32945f71a
Change-Id: If5f8b33dbeff59115888b0964c22e21a65ad7d06
|
|
|
|
Also clang-format modified Regs.cpp slightly.
Bug: 23762183
Test: Built and ran unit tests.
Change-Id: I1c7c1b01974ee3f35059c42b8e2aef24d46c81a7
|
|
am: 1fc59234bf
Change-Id: Ic6ce7179ebd0b93bd1ef143b60a8d90b38ba4997
|
|
Bug: 23762183
Test: Ran new unit tests.
Change-Id: Icca2a73c50d467718ba4ac41e1c8f541488620dd
|