mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 02:09:44 +02:00
Fix monitor messages for constant propagation
This commit is contained in:
parent
79fce9b032
commit
682bc88df0
2 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ public class PropagateConstantReferences extends GhidraScript {
|
||||||
public void run() throws Exception {
|
public void run() throws Exception {
|
||||||
long numInstructions = currentProgram.getListing().getNumInstructions();
|
long numInstructions = currentProgram.getListing().getNumInstructions();
|
||||||
monitor.initialize((int) (numInstructions));
|
monitor.initialize((int) (numInstructions));
|
||||||
monitor.setMessage("Constant Propogation Markup");
|
monitor.setMessage("Constant Propagation Markup");
|
||||||
|
|
||||||
// set up the address set to restrict processing
|
// set up the address set to restrict processing
|
||||||
AddressSet restrictedSet =
|
AddressSet restrictedSet =
|
||||||
|
|
|
@ -57,7 +57,7 @@ public class PropagateX86ConstantReferences extends GhidraScript {
|
||||||
public void run() throws Exception {
|
public void run() throws Exception {
|
||||||
long numInstructions = currentProgram.getListing().getNumInstructions();
|
long numInstructions = currentProgram.getListing().getNumInstructions();
|
||||||
monitor.initialize((int) (numInstructions));
|
monitor.initialize((int) (numInstructions));
|
||||||
monitor.setMessage("Constant Propogation Markup");
|
monitor.setMessage("Constant Propagation Markup");
|
||||||
|
|
||||||
// set up the address set to restrict processing
|
// set up the address set to restrict processing
|
||||||
AddressSet restrictedSet = new AddressSet(currentSelection);
|
AddressSet restrictedSet = new AddressSet(currentSelection);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue