angr.angrdb.serializers.plugin_data

class angr.angrdb.serializers.plugin_data.PluginDataStore

Bases: object

Read and write the JSON document of one knowledge base plugin in the kb_plugin_data table.

static save(session, db_kb, plugin, data)

Replace the stored document of plugin; None removes it.

Return type:

None

Parameters:
static load(session, db_kb, plugin)
Return type:

dict[str, Any] | None

Parameters:
static bytes_map_to_json(d)
Return type:

dict[str, str]

Parameters:

d (dict[int, bytes])

static bytes_map_from_json(d)
Return type:

dict[int, bytes]

Parameters:

d (dict[str, str])