angr.state_plugins.jni_references¶
- class angr.state_plugins.jni_references.SimStateJNIReferences¶
Bases:
SimStatePluginManagement of the mapping between opaque JNI references and the corresponding Java objects.
- __init__(local_refs=None, global_refs=None)¶
- lookup(opaque_ref)¶
Lookups the object that was used for creating the reference.
- create_new_reference(obj, global_ref=False)¶
Create a new reference thats maps to the given object.
- Parameters:
obj – Object which gets referenced.
global_ref (bool) – Whether a local or global reference is created.
- clear_local_references()¶
Clear all local references.