Skip to content

Commit 782b476

Browse files
committed
don't find unused space by default
1 parent 4becb32 commit 782b476

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/patcherex2/targets/elf_leon3_bare.py

-5
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@ def _init_memory_analysis(self):
3131
)
3232
self.p.allocation_manager.add_block(block)
3333

34-
unused_funcs = self.p.binary_analyzer.get_unused_funcs()
35-
36-
for func in unused_funcs:
37-
self.p.allocation_manager.add_free_space(func["addr"], func["size"], "RX")
38-
3934

4035
class ElfLeon3Bare(Target):
4136
@staticmethod

0 commit comments

Comments
 (0)