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 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.
|
||||||
|
|
|
@ -170,7 +170,7 @@ public class VarnodeOperation extends Varnode {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isPersistant() {
|
public boolean isPersistent() {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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()) {
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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))) {
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue