angr.angrdb.serializers.funcs

class angr.angrdb.serializers.funcs.FunctionManagerSerializer

Bases: object

Serialize/unserialize a function manager and its functions.

static dump(session, db_kb, func_manager)
Parameters:
Returns:

static load(session, db_kb, kb, callgraph=None, cfg_model=None)
Parameters:
  • session

  • db_kb (DbKnowledgeBase)

  • kb (KnowledgeBase)

  • callgraph (MultiDiGraph | None) – A deserialized callgraph (if the database stores one). When provided, it is used directly and the (much slower) callgraph rebuilding logic is skipped.

  • cfg_model (CFGModel | None) – An optional CFG model. When provided, the function_address member of all CFG nodes that belong to a function will be set accordingly.

Returns:

A loaded function manager.