public class BasicBlockSym extends BasicSym implements BlockSym
Constructor and Description |
---|
BasicBlockSym(BlockSym parent,
long length,
Address addr,
java.lang.String name)
Creates a new BlockSym.
|
Modifier and Type | Method and Description |
---|---|
void |
addLocal(LocalSym local) |
BlockSym |
asBlock() |
Address |
getAddress()
Address of the first machine instruction in this block
|
long |
getLength()
Length in bytes of the machine code in this block
|
LocalSym |
getLocal(int i)
Return ith local (0..getNumLocals() - 1)
|
int |
getNumLocals()
Number of local variable symbols associated with this block
|
BlockSym |
getParent()
Get the lexically enclosing block, or null if none
|
void |
resolve(BasicCDebugInfoDataBase db,
ResolveListener listener)
Resolve type and symbol references in this symbol
|
asFunction, asGlobal, asLocal, getName, isBlock, isFunction, isGlobal, isLazy, isLocal, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asFunction, asGlobal, asLocal, isBlock, isFunction, isGlobal, isLocal, toString
public BlockSym asBlock()
public BlockSym getParent()
BlockSym
public long getLength()
BlockSym
public Address getAddress()
BlockSym
getAddress
in interface BlockSym
public int getNumLocals()
BlockSym
getNumLocals
in interface BlockSym
public LocalSym getLocal(int i)
BlockSym
public void addLocal(LocalSym local)
public void resolve(BasicCDebugInfoDataBase db, ResolveListener listener)
BasicSym
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.