summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
14 daystools/check_elf_alignment.sh: Use double quotesWill McVicker
When files have spaces in them, we need to use double quotes. Otherwise some of the bash commands like `basename` and `mktemp` don't use the full filename which results in incorrect behavior. Bug: 337895632 Change-Id: Ia50946051bd8ef6cff460810d3559f98d55731c6 Signed-off-by: Will McVicker <willmcvicker@google.com>
2024-05-02check_elf: dump all libsSteven Moreland
Tripped me up in b/337956762#comment7, where I thought this binary had no native libs, but it was really 32-bit only. Bug: 337956762 Test: manual Change-Id: I225757e2fd5618aa058ef1a528850827feb309f1
2024-04-30tools/check_elf_alignment.sh: Add zip alignment checkWill McVicker
If an APK is passed in, then check the zipalignment as well to see if it's 16K aligned. This will help cover both requirements -- zipalignment and ELF alignment. Also, add a print message after checking ELF alignment to indicate that it was successful. This helps indicate success when there are no shared libraries in the APK. Bug: 337895632 Change-Id: I2578dba77e13570aa5b880f950058cfcd939857f
2024-04-29tools: Add script to check ELF alignmentWill McVicker
This script can be used to check the ELF alignment of shared libraries in the provided path or in the provided *.apk file. Bug: 337895632 Change-Id: I3b40383eab076809a73e2ffcf920e6bd8b638cff
2016-05-13lockdep_chains: graph visualizationMark Salyzyn
Create the system/extras/tools directory for simple analysis helpers. Publish a host tool helper script that aids visualization of kernel runtime collected lock dependencies. Helpful to look for circular locks, or to get a handle on locking order used in a driver. Bug: 28310683 Change-Id: Ib52c23f4cdefb37882232eff11b943eeb1b2abfa