def METHOD_NAME(self, key: str, value: str):
    if key == "global_poison":
        self.workspace.main_instance.kb.decompiler_poison.global_poison = self._string_to_poison(value)
    elif key.startswith("local_poison_"):
        func = int(key.split("_")[2], 16)
        self.workspace.main_instance.kb.decompiler_poison.local_poison[func] = self._string_to_poison(value)