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: db_kb (DbKnowledgeBase) plugin (str) data (dict[str, Any] | None) static load(session, db_kb, plugin)¶ Return type: dict[str, Any] | None Parameters: db_kb (DbKnowledgeBase) plugin (str) 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])