diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2018-06-28 10:44:01 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2018-07-03 05:45:51 -0700 |
| commit | f3f8e13b882f5a4d685ce33831c24efd7077f57c (patch) | |
| tree | bbfb773590e9489742fa9afb6f5450936b8519a5 /tools/analyze_heap_dump.py | |
| parent | cced51cbd23aa732f0243fe555b4427ff46267b4 (diff) | |
analyze everything
Diffstat (limited to 'tools/analyze_heap_dump.py')
| -rwxr-xr-x | tools/analyze_heap_dump.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/analyze_heap_dump.py b/tools/analyze_heap_dump.py index fa3efbe20..31202c23e 100755 --- a/tools/analyze_heap_dump.py +++ b/tools/analyze_heap_dump.py @@ -138,8 +138,8 @@ def do_all_the_things(ram_filename, bin_filename, map_filename, print_block_cont # print(ram_length, "ram length") # print(len(ram_dump) // ram_length, "snapshots") if analyze_snapshots == "all": - #snapshots = range(len(ram_dump) // ram_length - 1, -1, -1) - snapshots = range(4576, -1, -1) + snapshots = range(len(ram_dump) // ram_length - 1, -1, -1) + #snapshots = range(4576, -1, -1) elif analyze_snapshots == "last": snapshots = range(len(ram_dump) // ram_length - 1, len(ram_dump) // ram_length - 2, -1) for snapshot_num in snapshots: @@ -262,6 +262,7 @@ def do_all_the_things(ram_filename, bin_filename, map_filename, print_block_cont potential_type = word bgcolor = "gray" if address in qstr_pools: + #print(address, len(data)) bgcolor = "tomato" elif potential_type in function_types: bgcolor = "green" |
