angr.angrdb.serializers.variables

class angr.angrdb.serializers.variables.VariableManagerSerializer

Bases: object

Serialize/unserialize a variable manager and its variables.

The same machinery serializes the disassembly-level manager (kb.variables into the variables table) and the decompilation manager (kb.dec_variables into the dec_variables table); the target table and manager class are parameterized.

static dump(session, db_kb, var_manager, table=<class 'angr.angrdb.models.DbVariableCollection'>)
Parameters:
static dump_dvars(session, db_kb, var_manager)
Parameters:
static load(session, db_kb, kb, ident=None, table=<class 'angr.angrdb.models.DbVariableCollection'>)
Parameters:
static load_dvars(session, db_kb, kb, ident=None)
Parameters:
static load_internal(db_varcoll, variable_manager)
Return type:

VariableManagerInternal

Parameters:

variable_manager (VariableManager)