# Class: com.pnfsoftware.jeb.core.units.code.asm.analyzer.CodeAnalyzerUtil

Utility methods for the generic code analyzer.

## Static Method: checkBinaryPattern
- parameter: `analyzer`, type: `com.pnfsoftware.jeb.core.units.code.asm.analyzer.INativeCodeAnalyzer<?>`
- parameter: `verifier`, type: `com.pnfsoftware.jeb.core.units.code.asm.analyzer.BinaryPatternVerifier`
- parameter: `address`, type: `long`
- parameter: `addressMax`, type: `long`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.analyzer.IBinaryPattern`

Description: Convenience method to check if a binary pattern verifier matches at an address.
parameter: analyzer: native code analyzer
parameter: verifier: binary pattern verifier
parameter: address: start address
parameter: addressMax: exclusive end address
return: pattern if there is a match, null otherwise

## Static Method: checkBinaryPattern
- parameter: `analyzer`, type: `com.pnfsoftware.jeb.core.units.code.asm.analyzer.INativeCodeAnalyzer<?>`
- parameter: `verifier`, type: `com.pnfsoftware.jeb.core.units.code.asm.analyzer.BinaryPatternVerifier`
- parameter: `address`, type: `long`
- parameter: `addressMax`, type: `long`
- parameter: `patternSize`, type: `int`
- parameter: `processorMode`, type: `int`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.analyzer.IBinaryPattern`

Description: Convenience method to check if a given binary pattern verifier matches at the start of the given memory range.
parameter: analyzer: native code analyzer
parameter: verifier: binary pattern verifier
parameter: address: start address
parameter: addressMax: exclusive end address
parameter: patternSize: [IBinaryPattern](IBinaryPattern) binary size restriction
parameter: processorMode: processor mode restriction
return: pattern if there is a match, null otherwise

