Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JameZUK/Arkana
/ types & classes
Types & classes
688 in github.com/JameZUK/Arkana
⨍
Functions
6,492
◇
Types & classes
688
↳
Endpoints
6
↓ 198 callers
Class
AnalyzerState
Per-session state for a single analyzed file.
arkana/state.py:129
↓ 37 callers
Class
MockProcess
Mock asyncio.subprocess.Process.
tests/test_debug.py:51
↓ 27 callers
Class
_DebugSession
Wraps a single persistent debug subprocess.
arkana/mcp/tools_debug.py:99
↓ 26 callers
Class
ProgressBridge
Bridges synchronous thread code to async MCP Context progress reporting. Create on the async side (where ``ctx`` and the event loop are available
arkana/mcp/_progress_bridge.py:17
↓ 24 callers
Class
Predicate
A single query predicate: ``field op value``.
scripts/trace_query.py:51
↓ 14 callers
Class
_DebugSessionManager
Manages debug subprocess lifecycle for a single AnalyzerState.
arkana/mcp/tools_debug.py:228
↓ 13 callers
Class
_ToolResultCache
Thread-safe LRU cache for paginated tool results. Keyed by ``(tool_name, params_key)`` where *params_key* is a hashable representation of the
arkana/mcp/_input_helpers.py:48
↓ 12 callers
Class
ProjectMember
A binary that belongs to a project.
arkana/projects.py:185
↓ 12 callers
Class
S
tests/test_dashboard_projects_api.py:383
↓ 12 callers
Class
_TypeLayout
Describes the binary layout of runtime._type for a Go version. Layout varies across Go versions: Go 1.7-1.16: size(ptr) + ptrdata(ptr) +
arkana/parsers/go_types.py:203
↓ 10 callers
Class
BearerAuthMiddleware
ASGI middleware that requires a valid Bearer token on every HTTP request. Wraps the FastMCP ASGI app to enforce authentication before any MCP
arkana/auth.py:8
↓ 10 callers
Class
ScratchProject
An in-memory project created on open_file when no real project is active. ScratchProjects have no on-disk presence. They are promoted to real
arkana/projects.py:577
↓ 9 callers
Class
RanRotPRNG
RanRot PRNG with 17-element circular buffer. Used by modified AutoIt3 builds (AsgardProtector, etc.) instead of MT. Identified by the LCG mul
arkana/parsers/autoit.py:131
↓ 8 callers
Class
MockPE
A dummy wrapper to mimic a pefile.PE object for raw shellcode analysis.
arkana/mock.py:4
↓ 8 callers
Class
StateProxy
Transparent proxy that delegates attribute access to the active session ``AnalyzerState`` (via *contextvars*). In stdio mode the default stat
arkana/state.py:1892
↓ 7 callers
Class
ProjectManager
Singleton-style manager for all on-disk projects. Instantiated once at module import time as ``project_manager``. Thread-safe; a single re-en
arkana/projects.py:637
↓ 6 callers
Class
AnalysisCache
Thread-safe, gzip-compressed, LRU-evicting disk cache for pe_data dicts. Directory layout (git-style two-char prefix to avoid flat-dir issue
arkana/cache.py:66
↓ 6 callers
Class
MersenneTwisterAutoIt
MT19937 with AutoIt3's custom tempering constants.
arkana/parsers/autoit.py:69
↓ 5 callers
Class
MockBlock
tests/test_obfuscation.py:73
↓ 5 callers
Class
MockFunc
tests/test_obfuscation.py:61
↓ 5 callers
Class
_PartialCFG
Shim for a partially-built CFG, backed by the live angr project KB. When the CFG build is interrupted (stall, timeout, or high error rate), `
arkana/background.py:34
↓ 4 callers
Class
FakePE
tests/test_dashboard_projects_api.py:1314
↓ 4 callers
Class
MockGraph
tests/test_obfuscation.py:55
↓ 4 callers
Class
MockPeObj
tests/test_obfuscation.py:446
↓ 4 callers
Class
ResettableLock
A ``threading.Lock`` replacement that supports ``force_reset()``. When a file switch occurs while a background thread holds this lock (e.g. s
arkana/state.py:24
↓ 4 callers
Class
_FakeProject
Minimal Project stub with controllable save_overlay latency.
tests/test_flush_overlay_lock.py:21
↓ 3 callers
Class
Project
A real on-disk project. Use ProjectManager to create/load these.
arkana/projects.py:260
↓ 3 callers
Class
factory
tests/test_obfuscation.py:214
↓ 2 callers
Class
DashboardShutdownError
Raised when the dashboard executor has been shut down (process is exiting). Routes should return a 503 instead of a 500 traceback.
arkana/dashboard/app.py:112
↓ 2 callers
Class
LibraryWarningHandler
Logging handler that captures WARNING+ from known library loggers. Attached to the root logger. Only processes records whose logger name star
arkana/warning_handler.py:31
↓ 2 callers
Class
MockCfg
tests/test_vuln.py:266
↓ 2 callers
Class
MockFunc
tests/test_vuln.py:290
↓ 2 callers
Class
MockProject
tests/test_obfuscation.py:213
↓ 2 callers
Class
MockSection
tests/test_obfuscation.py:490
↓ 2 callers
Class
MockStdout
Mock subprocess stdout that yields pre-configured responses.
tests/test_debug.py:36
↓ 2 callers
Class
Obj
tests/test_go_tools.py:30
↓ 2 callers
Class
_FlossConfig
Groups FLOSS-related parameters for reanalysis to reduce function complexity.
arkana/mcp/tools_pe.py:1302
↓ 1 callers
Class
BadStr
tests/test_go_tools.py:36
↓ 1 callers
Class
BrokenQl
tests/test_anti_vm.py:319
↓ 1 callers
Class
MockCapaCliArgs
arkana/parsers/capa.py:107
↓ 1 callers
Class
MockContext
Minimal mock for MCP Context used by tool tests.
tests/test_learning.py:16
↓ 1 callers
Class
MockContext
tests/test_fixed_tools_comprehensive.py:25
↓ 1 callers
Class
MockContext
Minimal mock for MCP Context used by tool tests.
tests/conftest.py:6
↓ 1 callers
Class
MockContext
tests/test_pe_object_guard.py:17
↓ 1 callers
Class
MockCtx
tests/test_frida.py:33
↓ 1 callers
Class
MockCtx
tests/test_fixed_tools_deep.py:28
↓ 1 callers
Class
MockCtx
tests/test_streamline.py:518
↓ 1 callers
Class
MockPEForHelpers
Minimal mock that exposes __data__ like pefile.PE.
tests/test_refinery_helpers.py:15
↓ 1 callers
Class
MockQl
tests/test_anti_vm.py:307
↓ 1 callers
Class
MockSettings
arkana/imports.py:286
↓ 1 callers
Class
MockStdin
Mock subprocess stdin that records written data.
tests/test_debug.py:24
↓ 1 callers
Class
ProjectManifest
The on-disk manifest for a project.
arkana/projects.py:210
↓ 1 callers
Class
SSDeep
arkana/hashing.py:6
↓ 1 callers
Class
_EmulationSession
Wraps a single persistent emulation subprocess (Qiling or Speakeasy).
arkana/mcp/tools_emulate_inspect.py:45
↓ 1 callers
Class
_EmulationSessionManager
Manages emulation subprocess lifecycle for a single AnalyzerState.
arkana/mcp/tools_emulate_inspect.py:148
↓ 1 callers
Class
_FakeManifest
Minimal Project manifest stub.
tests/test_flush_overlay_lock.py:15
↓ 1 callers
Class
_NoopCtx
Stand-in for FastMCP's Context when calling MCP tools from the dashboard. ``open_file`` only invokes ``ctx.info`` / ``ctx.warning`` / ``ctx.error
arkana/dashboard/app.py:412
↓ 1 callers
Class
_PcHeader
Parsed gopclntab header.
arkana/parsers/go_pclntab.py:189
↓ 1 callers
Class
_ResolvedConfig
Holds all resolved paths and FLOSS configuration for a run.
arkana/main.py:53
↓ 1 callers
Class
_ReturnHook
arkana/mcp/_angr_helpers.py:16
↓ 1 callers
Class
_VoidHook
arkana/mcp/_angr_helpers.py:49
↓ 1 callers
Class
_VoidHook
arkana/mcp/tools_angr_hooks.py:56
Class
CapaError
arkana/imports.py:144
Class
ClassifyFunctionsTests
Test _classify_functions with mock CFG.
tests/test_taint.py:67
Class
ConstantsTests
Verify taint constants are properly defined.
tests/test_taint.py:504
Class
Context
arkana/imports.py:292
Class
DebugLevelFallbackFloss
arkana/imports.py:191
Class
DecompileValidationTests
Test Phase 2 decompile-based argument flow checking.
tests/test_taint.py:315
Class
FindTaintChainsTests
Test BFS chain discovery.
tests/test_taint.py:152
Class
FreezingError
arkana/imports.py:151
Class
InvalidRule
arkana/imports.py:149
Class
MockMCP
arkana/imports.py:287
Class
OPTIONAL_HEADER
tests/test_obfuscation.py:449
Class
Obj
tests/test_go_tools.py:65
Class
QL_INTERCEPT
scripts/qiling_runner.py:1474
Class
RulesAccessError
arkana/imports.py:150
Class
SecurityHeadersMiddleware
ASGI middleware that injects security HTTP headers on every response.
arkana/dashboard/app.py:825
Class
StringTypeFallbackFloss
arkana/imports.py:197
Class
SyncTraceFlowsTests
Test the orchestrator with mocked angr state.
tests/test_taint.py:368
Class
TaintTaxonomyTests
Verify source/sink taxonomy completeness and consistency.
tests/test_taint.py:10
Class
TestAbortBackgroundTask
Tests for abort_background_task MCP tool.
tests/test_overtime.py:314
Class
TestAbortBackgroundTaskConstants
abort_background_task uses TASK_RUNNING/TASK_OVERTIME constants.
tests/test_background_hardening.py:427
Class
TestAcceptPartialCfg
_accept_partial_cfg helper function.
tests/test_partial_cfg.py:93
Class
TestAlertCollectionLogging
_collect_background_alerts logs exceptions at debug level.
tests/test_background_hardening.py:461
Class
TestAnalysisDigest
Test get_analysis_digest with mocked state.
tests/test_streamline.py:344
Class
TestAnalysisPhase
Test analysis phase detection logic.
tests/test_streamline.py:99
Class
TestAnalysisWarningsClearedOnOpenFile
Verify analysis warnings are cleared during open_file cleanup.
tests/test_open_file_cache_cleanup.py:254
Class
TestAnalyzeAllocationActivity
Tests for _analyze_allocation_activity in speakeasy_runner.py.
tests/test_speakeasy_diagnostic.py:77
Class
TestAnalyzeBlockForOpaque
Test the opaque predicate block analysis helper.
tests/test_obfuscation.py:206
Class
TestAnalyzeDebugDeep
tests/test_fixed_tools_deep.py:627
Class
TestAnalyzeDebugDirectory
tests/test_fixed_tools_comprehensive.py:486
Class
TestAnalyzeEntropyByOffset
tests/test_fixed_tools_comprehensive.py:396
Class
TestAnalyzeFunctionForCff
Test the CFF analysis helper.
tests/test_obfuscation.py:47
Class
TestAnalyzeRelocations
tests/test_fixed_tools_comprehensive.py:458
Class
TestAnalyzeRelocationsDeep
tests/test_fixed_tools_deep.py:586
Class
TestAnalyzeSehDeep
tests/test_fixed_tools_deep.py:606
Class
TestAnalyzeSehHandlers
tests/test_fixed_tools_comprehensive.py:472
Class
TestAnalyzerState
tests/test_state.py:29
Class
TestAnalyzerStateOvertimeFields
AnalyzerState has new overtime-related fields.
tests/test_overtime.py:36
Class
TestAngrCore
Tests for all 15 core Angr tools.
tests/integration/mcp_test_client.py:1184
next →
1–100 of 688, ranked by callers