mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
fix #2283 - 'persistent' spelling error
This commit is contained in:
parent
415fcc2cf7
commit
ca1047cd97
7 changed files with 15 additions and 15 deletions
|
@ -56,7 +56,7 @@ import ghidra.util.timer.GTimer;
|
|||
*
|
||||
* Refactor fileInfo -> needs dialog to show properties
|
||||
* Refactor GFile.getInfo() to return Map<> instead of String.
|
||||
* Persistant filesystem - when reopen tool, filesystems should auto-reopen.
|
||||
* Persistent filesystem - when reopen tool, filesystems should auto-reopen.
|
||||
* Unify GhidraFileChooser with GFileSystem.
|
||||
* Add "Mounted Filesystems" button to show currently opened GFilesystems?
|
||||
* Dockable filesystem browser in FrontEnd.
|
||||
|
|
|
@ -170,7 +170,7 @@ public class VarnodeOperation extends Varnode {
|
|||
}
|
||||
|
||||
@Override
|
||||
public boolean isPersistant() {
|
||||
public boolean isPersistent() {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -128,7 +128,7 @@ public class GraphAST extends GhidraScript {
|
|||
else if (vn.isUnique()) {
|
||||
colorattrib = "Black";
|
||||
}
|
||||
else if (vn.isPersistant()) {
|
||||
else if (vn.isPersistent()) {
|
||||
colorattrib = "DarkOrange";
|
||||
}
|
||||
else if (vn.isAddrTied()) {
|
||||
|
|
|
@ -61,7 +61,7 @@ public interface PcodeFactory {
|
|||
public HighSymbol getSymbol(long symbolId);
|
||||
public Varnode setInput(Varnode vn,boolean val);
|
||||
public void setAddrTied(Varnode vn,boolean val);
|
||||
public void setPersistant(Varnode vn,boolean val);
|
||||
public void setPersistent(Varnode vn, boolean val);
|
||||
public void setUnaffected(Varnode vn,boolean val);
|
||||
public void setMergeGroup(Varnode vn,short val);
|
||||
public void setDataType(Varnode vn,DataType type);
|
||||
|
|
|
@ -392,9 +392,9 @@ public class PcodeSyntaxTree implements PcodeFactory {
|
|||
}
|
||||
|
||||
@Override
|
||||
public void setPersistant(Varnode vn, boolean val) {
|
||||
public void setPersistent(Varnode vn, boolean val) {
|
||||
VarnodeAST vnast = (VarnodeAST) vn;
|
||||
vnast.setPersistant(val);
|
||||
vnast.setPersistent(val);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -255,9 +255,9 @@ public class Varnode {
|
|||
}
|
||||
|
||||
/**
|
||||
* @return is persistant
|
||||
* @return is persistent
|
||||
*/
|
||||
public boolean isPersistant() {
|
||||
public boolean isPersistent() {
|
||||
return false; // Not a valid query with a free varnode
|
||||
}
|
||||
|
||||
|
@ -476,7 +476,7 @@ public class Varnode {
|
|||
}
|
||||
attrstring = el.getAttribute("persists");
|
||||
if ((attrstring != null) && (SpecXmlUtils.decodeBoolean(attrstring))) {
|
||||
factory.setPersistant(vn, true);
|
||||
factory.setPersistent(vn, true);
|
||||
}
|
||||
attrstring = el.getAttribute("addrtied");
|
||||
if ((attrstring != null) && (SpecXmlUtils.decodeBoolean(attrstring))) {
|
||||
|
|
|
@ -37,7 +37,7 @@ public class VarnodeAST extends Varnode {
|
|||
|
||||
private boolean bInput;
|
||||
private boolean bAddrTied;
|
||||
private boolean bPersistant;
|
||||
private boolean bPersistent;
|
||||
private boolean bUnaffected;
|
||||
private boolean bFree;
|
||||
private int uniqId; // Unique Id for distinguishing otherwise identical varnodes
|
||||
|
@ -50,7 +50,7 @@ public class VarnodeAST extends Varnode {
|
|||
super(a, sz);
|
||||
bInput = false;
|
||||
bAddrTied = false;
|
||||
bPersistant = false;
|
||||
bPersistent = false;
|
||||
bUnaffected = false;
|
||||
bFree = true;
|
||||
uniqId = id;
|
||||
|
@ -70,8 +70,8 @@ public class VarnodeAST extends Varnode {
|
|||
}
|
||||
|
||||
@Override
|
||||
public boolean isPersistant() {
|
||||
return bPersistant;
|
||||
public boolean isPersistent() {
|
||||
return bPersistent;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -132,8 +132,8 @@ public class VarnodeAST extends Varnode {
|
|||
def = null;
|
||||
}
|
||||
|
||||
public void setPersistant(boolean val) {
|
||||
bPersistant = val;
|
||||
public void setPersistent(boolean val) {
|
||||
bPersistent = val;
|
||||
}
|
||||
|
||||
public void setUnaffected(boolean val) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue