commit | 0efda78995bdcc5460b1755db8c49b52d7f5e9cf | [log] [tgz] |
---|---|---|
author | Orion Hodson <oth@google.com> | Thu Oct 14 18:34:05 2021 +0100 |
committer | Orion Hodson <oth@google.com> | Tue Oct 19 20:46:38 2021 +0100 |
tree | 64ce8e509b8005b47e2e18ffafb5eaa3bddf056d | |
parent | aaed0c92fd5a421d86acdcb9d809290ec846c1a8 [diff] |
slicer: Fix output logging std::stringstream(std::string& x) initializes the buffer with x, but does not update the output position. The recent change that added this yielded error messages with overwritten content. Flush the log buffer since logging is to stdout by default and buffered so log messages can be swallowed if abort is called. Bug: N/A Test: dexter_tests.py & slicer_tests & manual Change-Id: I0587115f6eff495c54f5073bbb8723b587db3242
This is the home of the .dex manipulation library (slicer) and command line tool (dexter).
Both the command line tool and the library can be built for host and device targets.
To build dexter:
$ m dexter
To test dexter:
# in tools/dexter (and assuming a Linux host) $ python dexter/dexter_tests.py -cmd ../../out/host/linux-x86/bin/dexter -root testdata