Package ghidra.app.decompiler.signature
Class CopySignature
java.lang.Object
ghidra.app.decompiler.signature.DebugSignature
ghidra.app.decompiler.signature.CopySignature
A feature representing 1 or more "stand-alone" copies in a basic block.
A COPY operation is considered stand-alone if either a constant or a function input
is copied into a location that is then not read directly by the function.
These COPYs are incorporated into a single feature, which encodes the number
and type of COPYs but does not encode the order in which they occur within the block.
-
Field Summary
Fields inherited from class ghidra.app.decompiler.signature.DebugSignature
hash
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Decode the feature from a stream.void
printRaw
(Language language, StringBuffer buf) Write a brief description of this feature to the given StringBuffer.Methods inherited from class ghidra.app.decompiler.signature.DebugSignature
decodeSignatures
-
Field Details
-
index
public int index
-
-
Constructor Details
-
CopySignature
public CopySignature()
-
-
Method Details
-
decode
Description copied from class:DebugSignature
Decode the feature from a stream.- Specified by:
decode
in classDebugSignature
- Parameters:
decoder
- is the stream decoder- Throws:
DecoderException
- for problems reading the stream
-
printRaw
Description copied from class:DebugSignature
Write a brief description of this feature to the given StringBuffer.- Specified by:
printRaw
in classDebugSignature
- Parameters:
language
- is the underlying language of the functionbuf
- is the given StringBuffer
-