GP-2835 addressing code review comments

This commit is contained in:
James 2022-11-22 09:11:16 -05:00
parent 88b7734608
commit 74040472fb
9 changed files with 118 additions and 104 deletions

View file

@ -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",