NationalSecurityAgency / ghidra

Ghidra is a software reverse engineering (SRE) framework
https://www.nsa.gov/ghidra
Apache License 2.0
49.06k stars 5.65k forks source link

Parallel decompiler/disassembler performance #6650

Open sad-dev opened 1 week ago

sad-dev commented 1 week ago

This p/r has 3 commits which do the following:

1.) Remove synchronized bottlenecks in ContextCache and SleighLanguage 2.) store HighFunction.func.getEntryPoint() and HighFunction.func.getEntryPoint().getAddressSpace() to avoid expensive hits to the database lock.

sad-dev commented 1 week ago

6649 is an issue solved by the first commit

2791 has some old discussion on bottlenecks in parallel decompilation that the changes here mitigate (but not completely remove)