The world's first agentic reverse engineer.
actually fix import issues
Amruth8d20fc40b7c7
diff --git a/kong/agent/__init__.py b/kong/agent/__init__.pyindex f48c55c..dc3e2c7 100644--- a/kong/agent/__init__.py+++ b/kong/agent/__init__.py@@ -1,30 +1,11 @@-"""Agent core — autonomous analysis pipeline."""+"""Agent core — autonomous analysis pipeline.-from kong.agent.analyzer import Analyzer, LLMClient, LLMResponse-from kong.agent.events import Event, EventType, Phase-from kong.agent.models import FunctionResult-from kong.agent.queue import WorkItem, WorkQueue-from kong.agent.signatures import SignatureDB, SignatureMatch-from kong.agent.models import AnalysisStats-from kong.agent.supervisor import Supervisor-from kong.agent.triage import CallGraph, LanguageHints, TriageAgent, TriageResult--__all__ = [- "AnalysisStats",- "Analyzer",- "CallGraph",- "Event",- "EventType",- "FunctionResult",- "LLMClient",- "LLMResponse",- "LanguageHints",- "Phase",- "SignatureDB",- "SignatureMatch",- "Supervisor",- "TriageAgent",- "TriageResult",- "WorkItem",- "WorkQueue",-]+Submodules:+ kong.agent.analyzer – Analyzer, LLMClient, LLMResponse+ kong.agent.events – Event, EventType, Phase+ kong.agent.models – AnalysisStats, FunctionResult+ kong.agent.queue – WorkItem, WorkQueue+ kong.agent.signatures – SignatureDB, SignatureMatch+ kong.agent.supervisor – Supervisor+ kong.agent.triage – CallGraph, LanguageHints, TriageAgent, TriageResult+"""diff --git a/kong/export/source.py b/kong/export/source.pyindex 6307271..b428c87 100644--- a/kong/export/source.py+++ b/kong/export/source.py@@ -2,11 +2,14 @@ from __future__ import annotationsfrom dataclasses import dataclassfrom pathlib import Path-from kong.agent.models import FunctionResult-from kong.agent.models import AnalysisStats+from typing import TYPE_CHECKING+from kong.ghidra.types import BinaryInfofrom kong.llm.usage import TokenUsage+if TYPE_CHECKING:+ from kong.agent.models import AnalysisStats, FunctionResult+SECTION_ORDER: list[tuple[str, str]] = [("crypto", "Crypto"),("networking", "Networking"),diff --git a/kong/llm/__init__.py b/kong/llm/__init__.pyindex 98a3e35..7f90f67 100644--- a/kong/llm/__init__.py+++ b/kong/llm/__init__.py@@ -1,14 +1,8 @@-"""LLM integration layer."""+"""LLM integration layer.-from kong.llm.client import AnthropicClient-from kong.llm.openai_client import OpenAIClient-from kong.llm.usage import TokenUsage-from kong.llm.tools import DEOBFUSCATION_TOOLS, ToolExecutor--__all__ = [- "AnthropicClient",- "DEOBFUSCATION_TOOLS",- "OpenAIClient",- "TokenUsage",- "ToolExecutor",-]+Submodules:+ kong.llm.client – AnthropicClient+ kong.llm.openai_client – OpenAIClient+ kong.llm.tools – ToolExecutor, DEOBFUSCATION_TOOLS+ kong.llm.usage – TokenUsage+"""