analyze everything
This commit is contained in:
parent
cced51cbd2
commit
f3f8e13b88
@ -138,8 +138,8 @@ def do_all_the_things(ram_filename, bin_filename, map_filename, print_block_cont
|
|||||||
# print(ram_length, "ram length")
|
# print(ram_length, "ram length")
|
||||||
# print(len(ram_dump) // ram_length, "snapshots")
|
# print(len(ram_dump) // ram_length, "snapshots")
|
||||||
if analyze_snapshots == "all":
|
if analyze_snapshots == "all":
|
||||||
#snapshots = range(len(ram_dump) // ram_length - 1, -1, -1)
|
snapshots = range(len(ram_dump) // ram_length - 1, -1, -1)
|
||||||
snapshots = range(4576, -1, -1)
|
#snapshots = range(4576, -1, -1)
|
||||||
elif analyze_snapshots == "last":
|
elif analyze_snapshots == "last":
|
||||||
snapshots = range(len(ram_dump) // ram_length - 1, len(ram_dump) // ram_length - 2, -1)
|
snapshots = range(len(ram_dump) // ram_length - 1, len(ram_dump) // ram_length - 2, -1)
|
||||||
for snapshot_num in snapshots:
|
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
|
potential_type = word
|
||||||
bgcolor = "gray"
|
bgcolor = "gray"
|
||||||
if address in qstr_pools:
|
if address in qstr_pools:
|
||||||
|
#print(address, len(data))
|
||||||
bgcolor = "tomato"
|
bgcolor = "tomato"
|
||||||
elif potential_type in function_types:
|
elif potential_type in function_types:
|
||||||
bgcolor = "green"
|
bgcolor = "green"
|
||||||
|
Loading…
Reference in New Issue
Block a user