Public Member Functions | Package Functions

com.google.security.zynamics.binnavi.API.disassembly.IAddressSpaceListener Interface Reference

Inheritance diagram for com.google.security.zynamics.binnavi.API.disassembly.IAddressSpaceListener:
com.google.security.zynamics.binnavi.API.disassembly.AddressSpaceListenerAdapter

List of all members.

Public Member Functions

void changedDebugger (AddressSpace addressSpace, Debugger debugger)
void changedDescription (AddressSpace addressSpace, String description)
void changedImageBase (AddressSpace addressSpace, Module module, Address address)
void changedModificationDate (AddressSpace addressSpace, Date modificationDate)
void changedName (AddressSpace addressSpace, String name)
void closedAddressSpace (AddressSpace addressSpace)
boolean closingAddressSpace (AddressSpace addressSpace)
void loadedAddressSpace (AddressSpace addressSpace)
void removedModule (AddressSpace addressSpace, Module module)

Package Functions

void addedModule (AddressSpace addressSpace, Module module)

Detailed Description

Interface that can be implemented by objects that want to be notified about changes in AddressSpace objects.


Member Function Documentation

void com.google.security.zynamics.binnavi.API.disassembly.IAddressSpaceListener.addedModule ( AddressSpace  addressSpace,
Module  module 
) [package]

Invoked after a module was added to the address space.

Parameters:
addressSpace The address space where the module was added.
module The module that was added to the address space.
void com.google.security.zynamics.binnavi.API.disassembly.IAddressSpaceListener.changedDebugger ( AddressSpace  addressSpace,
Debugger  debugger 
)

Invoked after the debugger of the address space changed.

Parameters:
addressSpace The address space whose debugger changed.
debugger The new debugger of the address space. This argument is null if no debugger is set.
void com.google.security.zynamics.binnavi.API.disassembly.IAddressSpaceListener.changedDescription ( AddressSpace  addressSpace,
String  description 
)

Invoked after the description of the address space changed.

Parameters:
addressSpace The address space whose description changed.
description The new description of the address space.
void com.google.security.zynamics.binnavi.API.disassembly.IAddressSpaceListener.changedImageBase ( AddressSpace  addressSpace,
Module  module,
Address  address 
)

Invoked after the image base of module inside the address space changed.

Parameters:
addressSpace The address space where the change happened.
module The module whose image base was changed.
address The new image base value of the module inside the address space.
void com.google.security.zynamics.binnavi.API.disassembly.IAddressSpaceListener.changedModificationDate ( AddressSpace  addressSpace,
Date  modificationDate 
)

Invoked after the modification date of an address space changed.

Parameters:
addressSpace The address space whose modification date changed.
modificationDate The new modification date of the address space.
void com.google.security.zynamics.binnavi.API.disassembly.IAddressSpaceListener.changedName ( AddressSpace  addressSpace,
String  name 
)

Invoked after the name of the address space changed.

Parameters:
addressSpace The address space whose name changed.
name The new name of the address space.
void com.google.security.zynamics.binnavi.API.disassembly.IAddressSpaceListener.closedAddressSpace ( AddressSpace  addressSpace  ) 

Invoked right after an address space was closed.

Parameters:
addressSpace The address space that was closed.
boolean com.google.security.zynamics.binnavi.API.disassembly.IAddressSpaceListener.closingAddressSpace ( AddressSpace  addressSpace  ) 

Invoked right before a address space is closed. The listening object has the opportunity to veto the close process if it still needs to work with the address space.

Parameters:
addressSpace The address space that is about to be closed.
Returns:
True, to indicate that the address space can be closed. False, to veto the close process.
void com.google.security.zynamics.binnavi.API.disassembly.IAddressSpaceListener.loadedAddressSpace ( AddressSpace  addressSpace  ) 

Invoked after the address space was loaded.

Parameters:
addressSpace The address space which was loaded.
void com.google.security.zynamics.binnavi.API.disassembly.IAddressSpaceListener.removedModule ( AddressSpace  addressSpace,
Module  module 
)

Invoked after a module was removed from the address space.

After this function was invoked, further usage of the removed module in the context of the address space (for example by setting the image base of the module in the address space) lead to undefined behavior.

It is however perfectly fine to keep using the module object in the general database context because the module still exists in the database. It was simply removed from the address space, not completely deleted.

Parameters:
addressSpace The address space where the module was removed.
module The module that was removed from the address space.