public interface

INativeDataAnalyzer

com.pnfsoftware.jeb.core.units.code.asm.analyzer.INativeDataAnalyzer

Class Overview

The data analyzer is used to create data items for a native code unit model.

Summary

Public Methods
abstract INativeDataItem apply(long address, INativeType type)
Create a data item at the provided address: Parse data as an item of the given type.
abstract INativeDataItem apply(long address, INativeType type, int appliedSize)
Create a data item at the provided address: Parse data as an item of the given type.
abstract INativeStringItem createString(long address, long size, INativeType type, StringEncoding stringType, String defaultStringValue)
Create a string item.
abstract ITypeManager getTypeManager()
Retrieve the type manager used by this data parser.

Public Methods

public abstract INativeDataItem apply (long address, INativeType type)

Create a data item at the provided address: Parse data as an item of the given type. The returned item should be registered to a memory model or immediately disposed.

public abstract INativeDataItem apply (long address, INativeType type, int appliedSize)

Create a data item at the provided address: Parse data as an item of the given type. The returned item should be registered to a memory model or immediately disposed.

Parameters
appliedSize -1 for full size application; disregarded for non-complex items

public abstract INativeStringItem createString (long address, long size, INativeType type, StringEncoding stringType, String defaultStringValue)

Create a string item. The returned item should be registered to a memory model or immediately disposed.

public abstract ITypeManager getTypeManager ()

Retrieve the type manager used by this data parser.