Class AssemblyNopState
java.lang.Object
ghidra.app.plugin.assembler.sleigh.sem.AbstractAssemblyState
ghidra.app.plugin.assembler.sleigh.sem.AssemblyNopState
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAssemblyNopState
(AbstractAssemblyTreeResolver<?> resolver, List<AssemblyConstructorSemantic> path, int shift, OperandSymbol opSym) -
Method Summary
Modifier and TypeMethodDescriptionint
Pre compute this nodes hashboolean
protected boolean
partsEqual
(AssemblyNopState that) protected Stream
<AssemblyResolvedPatterns> resolve
(AssemblyResolvedPatterns fromRight, Collection<AssemblyResolvedError> errors) Generate machine (partial) code for this nodetoString()
Methods inherited from class ghidra.app.plugin.assembler.sleigh.sem.AbstractAssemblyState
getLength, getPath, getResolver, getShift, hashCode
-
Constructor Details
-
AssemblyNopState
public AssemblyNopState(AbstractAssemblyTreeResolver<?> resolver, List<AssemblyConstructorSemantic> path, int shift, OperandSymbol opSym)
-
-
Method Details
-
computeHash
public int computeHash()Description copied from class:AbstractAssemblyState
Pre compute this nodes hash- Specified by:
computeHash
in classAbstractAssemblyState
- Returns:
- the hash
-
partsEqual
-
equals
- Specified by:
equals
in classAbstractAssemblyState
-
toString
-
resolve
protected Stream<AssemblyResolvedPatterns> resolve(AssemblyResolvedPatterns fromRight, Collection<AssemblyResolvedError> errors) Description copied from class:AbstractAssemblyState
Generate machine (partial) code for this node- Specified by:
resolve
in classAbstractAssemblyState
- Parameters:
fromRight
- the accumulated patterns thus far, from the right sibling or left-most childerrors
- a place to collect error reports- Returns:
- the stream of generated patterns, as accumulated
-