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

A collection of binary patterns and a verifier for them. Determine if any one of the pattern matches a provided bytes buffer.

## Constructor: BinaryPatternVerifier


## Method: addPattern
- parameter: `pattern`, type: `com.pnfsoftware.jeb.core.units.code.asm.analyzer.IBinaryPattern`


## Method: addPatterns
- parameter: `patterns`, type: `java.util.Collection<com.pnfsoftware.jeb.core.units.code.asm.analyzer.IBinaryPattern>`


## Method: addPatterns
- parameter: `patterns`, type: `com.pnfsoftware.jeb.core.units.code.asm.analyzer.IBinaryPattern[]`


## Method: clear


## Method: getLongestSize
- return type: `int`


## Method: getPatterns
- return type: `java.util.Collection<com.pnfsoftware.jeb.core.units.code.asm.analyzer.IBinaryPattern>`


## Method: verify
- parameter: `gca`, type: `com.pnfsoftware.jeb.core.units.code.asm.analyzer.INativeCodeAnalyzer<?>`
- parameter: `address`, type: `long`
- parameter: `buffer`, type: `byte[]`
- parameter: `offset`, type: `int`
- parameter: `offsetEnd`, type: `int`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.analyzer.IBinaryPattern`


## Method: verify
- parameter: `gca`, type: `com.pnfsoftware.jeb.core.units.code.asm.analyzer.INativeCodeAnalyzer<?>`
- parameter: `address`, type: `long`
- parameter: `buffer`, type: `byte[]`
- parameter: `offset`, type: `int`
- parameter: `offsetEnd`, type: `int`
- parameter: `patternSize`, type: `int`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.analyzer.IBinaryPattern`


## Method: verify
- parameter: `gca`, type: `com.pnfsoftware.jeb.core.units.code.asm.analyzer.INativeCodeAnalyzer<?>`
- parameter: `address`, type: `long`
- parameter: `buffer`, type: `byte[]`
- parameter: `offset`, type: `int`
- parameter: `offsetEnd`, type: `int`
- parameter: `patternSize`, type: `int`
- parameter: `processorMode`, type: `int`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.analyzer.IBinaryPattern`

Description: 
parameter: gca: 
parameter: address: 
parameter: buffer: 
parameter: offset: 
parameter: offsetEnd: 
parameter: patternSize: if different from zero, the verification is only done with the patterns of            the given size in bytes
parameter: processorMode: restricted processor mode, matching            [IBinaryPattern#getProcessorMode()](IBinaryPattern#getProcessorMode()). Use [IProcessor#MODE_DEFAULT](IProcessor#MODE_DEFAULT) to            test all modes or pick one to restrict verification.
return: 

