Public Member Functions

# BinNavi.API.disassembly.GlobalVariablesManager Class Reference

Manages the global variables of a module. More...

List of all members.

## Public Member Functions
List< View > | getReferences (final GlobalVariable variable)
| Finds views that use a global variable.
GlobalVariable | getVariable (final Address address)
| Looks up a global variable by address.
List< GlobalVariable > | getVariables ()
| Returns all global variables.

## Detailed Description

Represents the global variable manager of a module. You can access get the global variable manager of a module through the

## Member Function Documentation

List<View> BinNavi.API.disassembly.GlobalVariablesManager.getReferences | ( | final GlobalVariable | variable | ) |

Returns a list of views that contain instructions that reference a given global variable.

Parameters:

  | variable | The variable to look for.

Returns:
  A list of views that reference the given variable.

GlobalVariable BinNavi.API.disassembly.GlobalVariablesManager.getVariable | ( | final Address | address | ) |

Returns the global variable that is stored at the given address.

Parameters:

  | address | The address where the global variable is stored in the module.

Returns:
  The global variable at the given address or null if there is no such variable.

List<GlobalVariable> BinNavi.API.disassembly.GlobalVariablesManager.getVariables | ( |  | ) |

Returns all global variables of the module.

Returns:
  A list that contains all global variables of the module.