mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-10 08:08:14 +08:00
Fix monitor messages for constant propagation
This commit is contained in:
@@ -36,7 +36,7 @@ public class PropagateConstantReferences extends GhidraScript {
|
||||
public void run() throws Exception {
|
||||
long numInstructions = currentProgram.getListing().getNumInstructions();
|
||||
monitor.initialize((int) (numInstructions));
|
||||
monitor.setMessage("Constant Propogation Markup");
|
||||
monitor.setMessage("Constant Propagation Markup");
|
||||
|
||||
// set up the address set to restrict processing
|
||||
AddressSet restrictedSet =
|
||||
|
||||
@@ -57,7 +57,7 @@ public class PropagateX86ConstantReferences extends GhidraScript {
|
||||
public void run() throws Exception {
|
||||
long numInstructions = currentProgram.getListing().getNumInstructions();
|
||||
monitor.initialize((int) (numInstructions));
|
||||
monitor.setMessage("Constant Propogation Markup");
|
||||
monitor.setMessage("Constant Propagation Markup");
|
||||
|
||||
// set up the address set to restrict processing
|
||||
AddressSet restrictedSet = new AddressSet(currentSelection);
|
||||
|
||||
Reference in New Issue
Block a user