public interface

ICIdentifierManager

com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICIdentifierManager

Class Overview

Factory for C variables. A manager of ICIdentifier (and ICDefinition). Each ICMethod has its own identifier factory.

Summary

Public Methods
abstract ICDecl create(int id, ICType type, String name, CIdentifierClass identClass)
abstract ICDecl create(int id, ICType type, String name, CIdentifierClass identClass, Integer methodIndex, Long address, Integer paramIndex)
abstract ICDecl getDeclaration(int id)
Get a declaration object by id.
abstract Collection<ICDecl> getDeclarations()
abstract ICIdentifier getIdentifier(int id)
Get an identifier object by id.
abstract ICIdentifier getIdentifierAt(long address)
Retrieve an identifier by address (for GLOBAL idents) or local offset (for LOCAL idents).
abstract Collection<ICIdentifier> getIdentifiers()
abstract ICNamingEngine getNamingEngine()
abstract void setNamingEngine(ICNamingEngine namingEngine)

Public Methods

public abstract ICDecl create (int id, ICType type, String name, CIdentifierClass identClass)

public abstract ICDecl create (int id, ICType type, String name, CIdentifierClass identClass, Integer methodIndex, Long address, Integer paramIndex)

public abstract ICDecl getDeclaration (int id)

Get a declaration object by id.

public abstract Collection<ICDecl> getDeclarations ()

public abstract ICIdentifier getIdentifier (int id)

Get an identifier object by id.

public abstract ICIdentifier getIdentifierAt (long address)

Retrieve an identifier by address (for GLOBAL idents) or local offset (for LOCAL idents). Synthetic identifiers cannot be retrieved using this method, since they do not have an address or offset.

public abstract Collection<ICIdentifier> getIdentifiers ()

public abstract ICNamingEngine getNamingEngine ()

public abstract void setNamingEngine (ICNamingEngine namingEngine)