| com.pnfsoftware.jeb.core.units.code.asm.analyzer.IBinaryPattern |
Known Indirect Subclasses
|
Definition of a binary pattern. The pattern can be masked. The basic verification routine does something like: checkedByte[i] == pattern[i] & mask[i] ?)
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract byte[] |
getBinary()
Binary bytes.
| ||||||||||
| abstract Object |
getExtra()
Get some extra data associated to this pattern.
| ||||||||||
| abstract byte[] |
getMask()
Binary mask.
| ||||||||||
| abstract int |
getProcessorMode()
Valid processor mode for this Binary Pattern.
| ||||||||||
| abstract int |
getRealStartOffset()
The real start offset.
| ||||||||||
| abstract boolean |
validate(INativeCodeAnalyzer<?> gca, long address, byte[] buffer, int offset, int offsetEnd)
Final validation.
| ||||||||||
Binary bytes. Mandatory.
Get some extra data associated to this pattern. Client specific.
Binary mask. Optional. If present, must have same length as getBinary().
Valid processor mode for this Binary Pattern. Can be MODE_DEFAULT if valid
in any mode.
The real start offset.
Final validation. Optional method.