fix #2283 - 'persistent' spelling error

This commit is contained in:
Nick Fox 2020-10-01 10:58:55 -04:00
parent 415fcc2cf7
commit ca1047cd97
No known key found for this signature in database
GPG key ID: 82719985805A7CA8
7 changed files with 15 additions and 15 deletions

View file

@ -56,7 +56,7 @@ import ghidra.util.timer.GTimer;
* *
* Refactor fileInfo -> needs dialog to show properties * Refactor fileInfo -> needs dialog to show properties
* Refactor GFile.getInfo() to return Map<> instead of String. * 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. * Unify GhidraFileChooser with GFileSystem.
* Add "Mounted Filesystems" button to show currently opened GFilesystems? * Add "Mounted Filesystems" button to show currently opened GFilesystems?
* Dockable filesystem browser in FrontEnd. * Dockable filesystem browser in FrontEnd.

View file

@ -170,7 +170,7 @@ public class VarnodeOperation extends Varnode {
} }
@Override @Override
public boolean isPersistant() { public boolean isPersistent() {
return false; return false;
} }

View file

@ -128,7 +128,7 @@ public class GraphAST extends GhidraScript {
else if (vn.isUnique()) { else if (vn.isUnique()) {
colorattrib = "Black"; colorattrib = "Black";
} }
else if (vn.isPersistant()) { else if (vn.isPersistent()) {
colorattrib = "DarkOrange"; colorattrib = "DarkOrange";
} }
else if (vn.isAddrTied()) { else if (vn.isAddrTied()) {

View file

@ -61,7 +61,7 @@ public interface PcodeFactory {
public HighSymbol getSymbol(long symbolId); public HighSymbol getSymbol(long symbolId);
public Varnode setInput(Varnode vn,boolean val); public Varnode setInput(Varnode vn,boolean val);
public void setAddrTied(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 setUnaffected(Varnode vn,boolean val);
public void setMergeGroup(Varnode vn,short val); public void setMergeGroup(Varnode vn,short val);
public void setDataType(Varnode vn,DataType type); public void setDataType(Varnode vn,DataType type);

View file

@ -392,9 +392,9 @@ public class PcodeSyntaxTree implements PcodeFactory {
} }
@Override @Override
public void setPersistant(Varnode vn, boolean val) { public void setPersistent(Varnode vn, boolean val) {
VarnodeAST vnast = (VarnodeAST) vn; VarnodeAST vnast = (VarnodeAST) vn;
vnast.setPersistant(val); vnast.setPersistent(val);
} }
@Override @Override

View file

@ -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 return false; // Not a valid query with a free varnode
} }
@ -476,7 +476,7 @@ public class Varnode {
} }
attrstring = el.getAttribute("persists"); attrstring = el.getAttribute("persists");
if ((attrstring != null) && (SpecXmlUtils.decodeBoolean(attrstring))) { if ((attrstring != null) && (SpecXmlUtils.decodeBoolean(attrstring))) {
factory.setPersistant(vn, true); factory.setPersistent(vn, true);
} }
attrstring = el.getAttribute("addrtied"); attrstring = el.getAttribute("addrtied");
if ((attrstring != null) && (SpecXmlUtils.decodeBoolean(attrstring))) { if ((attrstring != null) && (SpecXmlUtils.decodeBoolean(attrstring))) {

View file

@ -37,7 +37,7 @@ public class VarnodeAST extends Varnode {
private boolean bInput; private boolean bInput;
private boolean bAddrTied; private boolean bAddrTied;
private boolean bPersistant; private boolean bPersistent;
private boolean bUnaffected; private boolean bUnaffected;
private boolean bFree; private boolean bFree;
private int uniqId; // Unique Id for distinguishing otherwise identical varnodes private int uniqId; // Unique Id for distinguishing otherwise identical varnodes
@ -50,7 +50,7 @@ public class VarnodeAST extends Varnode {
super(a, sz); super(a, sz);
bInput = false; bInput = false;
bAddrTied = false; bAddrTied = false;
bPersistant = false; bPersistent = false;
bUnaffected = false; bUnaffected = false;
bFree = true; bFree = true;
uniqId = id; uniqId = id;
@ -70,8 +70,8 @@ public class VarnodeAST extends Varnode {
} }
@Override @Override
public boolean isPersistant() { public boolean isPersistent() {
return bPersistant; return bPersistent;
} }
@Override @Override
@ -132,8 +132,8 @@ public class VarnodeAST extends Varnode {
def = null; def = null;
} }
public void setPersistant(boolean val) { public void setPersistent(boolean val) {
bPersistant = val; bPersistent = val;
} }
public void setUnaffected(boolean val) { public void setUnaffected(boolean val) {