java.lang.Object |
↳ |
com.pnfsoftware.jeb.core.units.code.asm.analyzer.BinaryPatternVerifier |
Class Overview
A collection of binary patterns and a verifier for it, ie determine if any one of the pattern
matches a provided bytes buffer.
Summary
Public Methods |
void
|
addPattern(IBinaryPattern pattern)
|
void
|
addPatterns(IBinaryPattern... patterns)
|
void
|
addPatterns(Collection<IBinaryPattern> patterns)
|
void
|
clear()
|
int
|
getLongestSize()
|
Collection<IBinaryPattern>
|
getPatterns()
|
IBinaryPattern
|
verify(INativeCodeAnalyzer<?> gca, long address, byte[] buffer, int offset, int offsetEnd, int patternSize)
|
IBinaryPattern
|
verify(INativeCodeAnalyzer<?> gca, long address, byte[] buffer, int offset, int offsetEnd)
|
IBinaryPattern
|
verify(INativeCodeAnalyzer<?> gca, long address, byte[] buffer, int offset, int offsetEnd, int patternSize, int processorMode)
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
public
BinaryPatternVerifier
()
Public Methods
public
int
getLongestSize
()
public
IBinaryPattern
verify
(INativeCodeAnalyzer<?> gca, long address, byte[] buffer, int offset, int offsetEnd, int patternSize, int processorMode)
Parameters
patternSize |
if different from zero, the verification is only done with the patterns of
the given size in bytes |
processorMode |
restricted processor mode, matching
getProcessorMode() . Use MODE_DEFAULT to
test all modes or pick one to restrict verification. |