Interface INativeDataAnalyzer
public interface INativeDataAnalyzer
The data analyzer is used to create data items for a native code unit model.
-
Method Summary
Modifier and TypeMethodDescriptionapply(long address, INativeType type) Create a data item at the provided address: Parse data as an item of the given type.apply(long address, INativeType type, int appliedSize) Create a data item at the provided address: Parse data as an item of the given type.createString(long address, long size, INativeType type, StringEncoding stringType, String defaultStringValue) Create a string item.Retrieve the type manager used by this data parser.
-
Method Details
-
getTypeManager
ITypeManager getTypeManager()Retrieve the type manager used by this data parser.- Returns:
- type manager
-
apply
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:
address- item addresstype- native type to apply- Returns:
- data item, or null
-
apply
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:
address- item addresstype- native type to applyappliedSize- -1 for full size application; disregarded for non-complex items- Returns:
- data item, or null
-
createString
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.- Parameters:
address- string addresssize- string sizetype- native string typestringType- string encodingdefaultStringValue- default string value- Returns:
- string item, or null
-