mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 02:09:44 +02:00
GP-4400: ML extension improvements
This commit is contained in:
parent
47bd5a50cb
commit
efb837ef34
9 changed files with 316 additions and 109 deletions
|
@ -24,8 +24,7 @@ import ghidra.app.cmd.disassemble.DisassembleCommand;
|
|||
import ghidra.app.cmd.function.CreateFunctionCmd;
|
||||
import ghidra.app.script.GhidraScript;
|
||||
import ghidra.machinelearning.functionfinding.*;
|
||||
import ghidra.program.model.address.Address;
|
||||
import ghidra.program.model.address.AddressSet;
|
||||
import ghidra.program.model.address.*;
|
||||
import ghidra.program.model.block.BasicBlockModel;
|
||||
|
||||
//NOTE: This script is referenced by name in the help for the
|
||||
|
@ -131,7 +130,7 @@ public class FindFunctionsRFExampleScript extends GhidraScript {
|
|||
new GetAddressesToClassifyTask(currentProgram, minUndefinedRange);
|
||||
getAddressTask.run(monitor);
|
||||
|
||||
AddressSet toClassify = getAddressTask.getAddressesToClassify();
|
||||
AddressSetView toClassify = getAddressTask.getAddressesToClassify();
|
||||
|
||||
Map<Address, Double> potentialStarts = classifier.classify(toClassify, monitor);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue