public final class StdCatchBuilder extends java.lang.Object implements CatchBuilder
CatchTable instances from RopMethod
and associated data.| Constructor and Description |
|---|
StdCatchBuilder(RopMethod method,
int[] order,
BlockAddresses addresses)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
CatchTable |
build()
Builds and returns the catch table for this instance.
|
static CatchTable |
build(RopMethod method,
int[] order,
BlockAddresses addresses)
Builds and returns the catch table for a given method.
|
java.util.HashSet<Type> |
getCatchTypes()
Gets the set of catch types associated with this instance.
|
boolean |
hasAnyCatches()
Gets whether this instance has any catches at all (either typed
or catch-all).
|
public StdCatchBuilder(RopMethod method, int[] order, BlockAddresses addresses)
build().method - non-null; method to build the list fororder - non-null; block output orderaddresses - non-null; address objects for each blockpublic CatchTable build()
build in interface CatchBuildernon-null; the constructed tablepublic boolean hasAnyCatches()
hasAnyCatches in interface CatchBuilderpublic java.util.HashSet<Type> getCatchTypes()
getCatchTypes in interface CatchBuildernon-null; the set of catch typespublic static CatchTable build(RopMethod method, int[] order, BlockAddresses addresses)
method - non-null; method to build the list fororder - non-null; block output orderaddresses - non-null; address objects for each blocknon-null; the constructed tableCopyright © 2020. All Rights Reserved.