mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 02:09:44 +02:00
GP-2835 addressing code review comments
This commit is contained in:
parent
88b7734608
commit
74040472fb
9 changed files with 118 additions and 104 deletions
|
@ -113,7 +113,8 @@ public class FindFunctionsRFExampleScript extends GhidraScript {
|
|||
|
||||
//show the true function starts most similar to one of the false positives
|
||||
if (!falsePositives.isEmpty()) {
|
||||
SimilarStartsFinder finder = new SimilarStartsFinder(currentProgram, best);
|
||||
SimilarStartsFinder finder =
|
||||
new SimilarStartsFinder(currentProgram, currentProgram, best);
|
||||
List<SimilarStartRowObject> neighbors =
|
||||
finder.getSimilarFunctionStarts(falsePositives.get(0).getKey(), 10);
|
||||
printf("\nClosest function starts to false positive at %s :\n",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue