History log of /system/core/libunwindstack/tests/MemoryFileTest.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ef35aa5d40b6404baf702a58527f1cd3a9f42f19 18-Oct-2017 Josh Gao <jmgao@google.com> unwindstack: rename Memory::Read to ReadFully.

Rename Memory::Read to ReadFully to match its semantics with that of
android::base. ReadPartially will be renamed to Read in a follow up
commit, kept intentionally separate so that there aren't any callers
accidentally switched from ReadFully to Read.

Test: treehugger
Change-Id: I7d845ac5244c3025d92c8512e960e5d0d1da05af
/system/core/libunwindstack/tests/MemoryFileTest.cpp
d226a5140989f509a0ed3e2723f05d5fc93ce8df 14-Jul-2017 Christopher Ferris <cferris@google.com> Make the library usable as a library.

- 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
/system/core/libunwindstack/tests/MemoryFileTest.cpp
f447c8eb205d899085968a0a8dfae861ef56a589 03-Apr-2017 Christopher Ferris <cferris@google.com> Add overflow checks in Memory objects.

Also change one of the reads to be explicitly ReadField instead of an
overloaded Read function.

Bug: 23762183

Test: Passes new unit tests.
Change-Id: Id848f7b632f67df0c5b7318d9e588942cfd2099a
/system/core/libunwindstack/tests/MemoryFileTest.cpp
3958f8060ac0adccd977c0fab7a53d45f3fce58d 02-Feb-2017 Christopher Ferris <cferris@google.com> Elf interface for new unwinder.

This cl includes the code to read arm unwind information from a shared
library.

Bug: 23762183

Test: Passes all unit tests. I can dump the arm unwind information
Test: for an arm shared library.
Change-Id: I43501ea2eab843b81de8bd5128401dd1971af8d3
/system/core/libunwindstack/tests/MemoryFileTest.cpp
723cf9b6e61744f7a20a807e67ab50adb9db5d42 20-Jan-2017 Christopher Ferris <cferris@google.com> New version of unwinder.

Bug: 23762183

Test: All unit tests pass.
Change-Id: I0ac69e55af56e1142c0a1ee3715cdc48f2ed3ec3
/system/core/libunwindstack/tests/MemoryFileTest.cpp