getSymbolgetSymbolBasicType
public byte getSymbolBasicType(String symbolName,
String module)
- Finds the symbol's basic type (void, int, float, etc.) using its
- Parameters:
- name - and @param module.
- name - the symbol name (standard notation prepends "_"
to the name.
- module - the module name in which the symbol is defined.
- Returns:
- a byte representing the basic type as defined in
SymbolParams
getSymbolDerivedType
public byte getSymbolDerivedType(String symbolName,
String module)
- Finds the symbol's derived type (none, pointer, etc.) using its
- Parameters:
- name - and @param module.
- name - the symbol name (standard notation prepends "_"
to the name.
- module - the module name in which the symbol is defined.
- Returns:
- a byte representing the derived type as defined in
SymbolParams
isSymbolArray
public boolean isSymbolArray(String symbolName,
String module)
- Determines whether or not this symbol is of array
(
DT_ARY) type.
- Parameters:
- name - the symbol name (standard notation prepends "_"
to the name.
- module - the module name in which the symbol is defined.
- Returns:
- true if symbol is of array type
isSymbolPointer
public boolean isSymbolPointer(String symbolName,
String module)
- Determines whether or not this symbol is of pointer
(
DT_PTR) type.
- Parameters:
- name - the symbol name (standard notation prepends "_"
to the name.
- module - the module name in which the symbol is defined.
- Returns:
- true if symbol is of array l is of array type
getSymbolLocation
public int getSymbolLocation(String symbolName,
String module)
- Finds the symbol's address using its
- Parameters:
- name - and @param module.
- name - the symbol name (standard notation prepends "_"
to the name.
- module - the module name in which the symbol is defined.
- Returns:
- address of the symbol.
getFileVariableSpaceOld
public int[] getFileVariableSpaceOld(String module)
- Determines the starting address and range for the file scope
variables in the module @param module. Since there can be
multiple @param module called out and some modules without
.bss sections. This function is typically required for
internal use. This function should not be used, instead use
getFileVariableSpace()
- Parameters:
- module - the name of the model
- Returns:
- an array of int, starting address and range. int, starting address and range.
getFileVariableSpace
public int[] getFileVariableSpace(String module,
String sectionStr)
- Determines the starting address and range for the file scope
variables in the module @param module. Since there can be
multiple @param module called out and some modules without
.bss sections. This function is typically required fequired for
internal use.
- Parameters:
- module - the name of the model
- section - the name of the section, typically ".bss" or
".data"
- Returns:
- an array of int, starting address and range.
All Packages Class Hierarchy This Package Previous Next Index