Class AssemblyNopStateGenerator
java.lang.Object
ghidra.app.plugin.assembler.sleigh.sem.AbstractAssemblyStateGenerator<AssemblyParseNumericToken>
ghidra.app.plugin.assembler.sleigh.sem.AssemblyNopStateGenerator
public class AssemblyNopStateGenerator
extends AbstractAssemblyStateGenerator<AssemblyParseNumericToken>
The generator of
AssemblyOperandState
for a hidden value operand
In short, this does nothing, except to hold the place of the operand for diagnostics. Likely, the "hidden" operand appears in the defining expression of a temporary symbol used in the print pieces.
-
Nested Class Summary
Nested classes/interfaces inherited from class ghidra.app.plugin.assembler.sleigh.sem.AbstractAssemblyStateGenerator
AbstractAssemblyStateGenerator.GeneratorContext
-
Field Summary
Fields inherited from class ghidra.app.plugin.assembler.sleigh.sem.AbstractAssemblyStateGenerator
DBG, fromLeft, node, resolver
-
Constructor Summary
ConstructorDescriptionAssemblyNopStateGenerator
(AbstractAssemblyTreeResolver<?> resolver, OperandSymbol opSym, AssemblyResolvedPatterns fromLeft) Construct the hidden value operand state generator -
Method Summary
Modifier and TypeMethodDescriptionGenerate states
-
Field Details
-
opSym
-
-
Constructor Details
-
AssemblyNopStateGenerator
public AssemblyNopStateGenerator(AbstractAssemblyTreeResolver<?> resolver, OperandSymbol opSym, AssemblyResolvedPatterns fromLeft) Construct the hidden value operand state generator- Parameters:
resolver
- the resolveropSym
- the operand symbolfromLeft
- the accumulated patterns from the left sibling or parent
-
-
Method Details
-
generate
public Stream<AssemblyGeneratedPrototype> generate(AbstractAssemblyStateGenerator.GeneratorContext gc) Description copied from class:AbstractAssemblyStateGenerator
Generate states- Specified by:
generate
in classAbstractAssemblyStateGenerator<AssemblyParseNumericToken>
- Parameters:
gc
- the generator context for this node- Returns:
- the stream of prototypes, each including accumulated patterns
-