public class

CodeAnalyzerUtil

extends Object
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.units.code.asm.analyzer.CodeAnalyzerUtil

Class Overview

Utility methods for the generic code analyzer.

Summary

Public Constructors
CodeAnalyzerUtil()
Public Methods
static IBinaryPattern checkBinaryPattern(INativeCodeAnalyzer<?> analyzer, BinaryPatternVerifier verifier, long address, long addressMax, int patternSize, int processorMode)
Convenience method to check if a given binary pattern verifier matches at the start of the given memory range.
static IBinaryPattern checkBinaryPattern(INativeCodeAnalyzer<?> analyzer, BinaryPatternVerifier verifier, long address, long addressMax)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public CodeAnalyzerUtil ()

Public Methods

public static IBinaryPattern checkBinaryPattern (INativeCodeAnalyzer<?> analyzer, BinaryPatternVerifier verifier, long address, long addressMax, int patternSize, int processorMode)

Convenience method to check if a given binary pattern verifier matches at the start of the given memory range.

Parameters
patternSize IBinaryPattern binary size restriction
processorMode processor mode restriction
Returns
  • pattern if there is a match, null otherwise

public static IBinaryPattern checkBinaryPattern (INativeCodeAnalyzer<?> analyzer, BinaryPatternVerifier verifier, long address, long addressMax)