@eyeauras/insight-cli 0.8.4 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.cli-package-build.json +1 -1
- package/README.md +16 -23
- package/SKILL.md +6 -44
- package/dist/src/activity-audit.d.ts +33 -46
- package/dist/src/activity-audit.js +120 -195
- package/dist/src/analysis-default.d.ts +10 -2
- package/dist/src/analysis-default.js +62 -47
- package/dist/src/analysis-storage.d.ts +13 -13
- package/dist/src/analysis-storage.js +127 -258
- package/dist/src/artifacts.d.ts +5 -1
- package/dist/src/artifacts.js +31 -46
- package/dist/src/audit-commands.d.ts +6 -1
- package/dist/src/audit-commands.js +9 -2
- package/dist/src/audit-retention.d.ts +5 -23
- package/dist/src/audit-retention.js +37 -150
- package/dist/src/binary.js +4 -13
- package/dist/src/budgets.d.ts +2 -2
- package/dist/src/budgets.js +7 -9
- package/dist/src/capture.js +17 -30
- package/dist/src/cli.d.ts +9 -4
- package/dist/src/cli.js +288 -473
- package/dist/src/code-references.d.ts +2 -13
- package/dist/src/code-references.js +7 -99
- package/dist/src/context-diagnostics.d.ts +1 -23
- package/dist/src/context-diagnostics.js +1 -83
- package/dist/src/core/coordinator.d.ts +298 -0
- package/dist/src/core/coordinator.js +591 -0
- package/dist/src/core/layout.d.ts +51 -0
- package/dist/src/core/layout.js +55 -0
- package/dist/src/core/legacy-import.d.ts +55 -0
- package/dist/src/core/legacy-import.js +193 -0
- package/dist/src/cross-results.d.ts +3 -3
- package/dist/src/cross-results.js +4 -42
- package/dist/src/cross.js +2 -3
- package/dist/src/debugger-results.d.ts +1 -6
- package/dist/src/debugger-results.js +21 -153
- package/dist/src/debugger.d.ts +21 -11
- package/dist/src/debugger.js +106 -168
- package/dist/src/decode-results.d.ts +2 -1
- package/dist/src/decode-results.js +4 -20
- package/dist/src/diagnostic-error.d.ts +1 -1
- package/dist/src/diagnostic-error.js +4 -23
- package/dist/src/die.js +1 -23
- package/dist/src/dnspy-runtime.js +5 -12
- package/dist/src/dnspy.js +13 -28
- package/dist/src/dotnet-diagnostics.js +1 -1
- package/dist/src/extensions.d.ts +2 -3
- package/dist/src/extensions.js +14 -91
- package/dist/src/frida-worker.js +0 -20
- package/dist/src/frida.js +3 -26
- package/dist/src/function-boundaries.d.ts +2 -2
- package/dist/src/function-boundaries.js +9 -61
- package/dist/src/function-entries.d.ts +2 -2
- package/dist/src/function-entries.js +6 -36
- package/dist/src/function-inspection.d.ts +2 -2
- package/dist/src/function-inspection.js +17 -33
- package/dist/src/function-results.d.ts +1 -3
- package/dist/src/function-results.js +2 -13
- package/dist/src/hub/admin.d.ts +101 -0
- package/dist/src/hub/admin.js +314 -0
- package/dist/src/hub/autostart.d.ts +111 -0
- package/dist/src/hub/autostart.js +207 -0
- package/dist/src/hub/bundle.d.ts +33 -0
- package/dist/src/hub/bundle.js +25 -0
- package/dist/src/hub/client.d.ts +90 -0
- package/dist/src/hub/client.js +256 -0
- package/dist/src/hub/commands.d.ts +13 -0
- package/dist/src/hub/commands.js +280 -0
- package/dist/src/hub/contract.d.ts +87 -0
- package/dist/src/hub/contract.js +3 -0
- package/dist/src/hub/extensions.d.ts +41 -0
- package/dist/src/hub/extensions.js +3 -0
- package/dist/src/hub/ghidra.d.ts +70 -0
- package/dist/src/hub/ghidra.js +197 -0
- package/dist/src/hub/index.d.ts +6 -0
- package/dist/src/hub/index.js +7 -0
- package/dist/src/{work/store.d.ts → hub/ledger-store.d.ts} +57 -94
- package/dist/src/hub/ledger-store.js +919 -0
- package/dist/src/hub/ledger.d.ts +4 -0
- package/dist/src/hub/ledger.js +173 -0
- package/dist/src/hub/lock.d.ts +7 -0
- package/dist/src/hub/lock.js +53 -0
- package/dist/src/hub/repository.d.ts +45 -0
- package/dist/src/hub/repository.js +130 -0
- package/dist/src/hub/server.d.ts +86 -0
- package/dist/src/hub/server.js +414 -0
- package/dist/src/hub/settings.d.ts +36 -0
- package/dist/src/hub/settings.js +112 -0
- package/dist/src/hub/storage.d.ts +13 -0
- package/dist/src/hub/storage.js +46 -0
- package/dist/src/hub/store.d.ts +75 -0
- package/dist/src/hub/store.js +188 -0
- package/dist/src/ilspy.js +1 -1
- package/dist/src/internal-timing.d.ts +2 -9
- package/dist/src/internal-timing.js +2 -95
- package/dist/src/lldb.js +3 -15
- package/dist/src/llvm.js +0 -9
- package/dist/src/managed-heap.js +3 -7
- package/dist/src/managed-metadata.js +2 -5
- package/dist/src/memory-inputs.d.ts +1 -4
- package/dist/src/memory-inputs.js +10 -40
- package/dist/src/mitmproxy.d.ts +35 -4
- package/dist/src/mitmproxy.js +59 -40
- package/dist/src/model.d.ts +0 -73
- package/dist/src/model.js +0 -45
- package/dist/src/mutations.d.ts +1 -1
- package/dist/src/mutations.js +5 -10
- package/dist/src/native/contract.d.ts +130 -0
- package/dist/src/native/ghidra.d.ts +58 -0
- package/dist/src/native/ghidra.js +77 -0
- package/dist/src/native/host.d.ts +71 -0
- package/dist/src/native/host.js +265 -0
- package/dist/src/native/index.d.ts +13 -0
- package/dist/src/native/index.js +19 -0
- package/dist/src/native/jvm.d.ts +54 -0
- package/dist/src/native/jvm.js +47 -0
- package/dist/src/native/worker.d.ts +70 -0
- package/dist/src/native/worker.js +240 -0
- package/dist/src/native-inputs.d.ts +9 -14
- package/dist/src/native-inputs.js +22 -110
- package/dist/src/native-merge-patches.d.ts +2 -2
- package/dist/src/native-merge-patches.js +14 -14
- package/dist/src/persistent-client.js +53 -25
- package/dist/src/procmon.js +17 -31
- package/dist/src/program-files.d.ts +42 -0
- package/dist/src/program-files.js +148 -0
- package/dist/src/queries.js +2 -15
- package/dist/src/query-policy.d.ts +0 -2
- package/dist/src/query-policy.js +1 -14
- package/dist/src/research.d.ts +59 -238
- package/dist/src/research.js +212 -906
- package/dist/src/runtime-identity.d.ts +8 -0
- package/dist/src/runtime-identity.js +26 -0
- package/dist/src/runtime-manager.d.ts +1 -11
- package/dist/src/runtime-manager.js +10 -145
- package/dist/src/runtime-selection.d.ts +1 -1
- package/dist/src/runtime-selection.js +5 -37
- package/dist/src/saved-materials.js +8 -51
- package/dist/src/scripts.d.ts +1 -1
- package/dist/src/scripts.js +15 -15
- package/dist/src/sdk-contracts.js +2 -2
- package/dist/src/sdk.js +8 -8
- package/dist/src/sevenzip.js +1 -3
- package/dist/src/strace.js +0 -3
- package/dist/src/string-anchors.d.ts +2 -3
- package/dist/src/string-anchors.js +8 -101
- package/dist/src/text-window.d.ts +5 -4
- package/dist/src/text-window.js +4 -4
- package/dist/src/tool-runtime/archives.d.ts +1 -1
- package/dist/src/tool-runtime/archives.js +11 -20
- package/dist/src/tool-runtime/catalog.js +2 -5
- package/dist/src/tool-runtime/commands.js +1 -3
- package/dist/src/tool-runtime/deadline.js +2 -7
- package/dist/src/tool-runtime/definition.js +1 -31
- package/dist/src/tool-runtime/identity.js +6 -87
- package/dist/src/tool-runtime/installer.d.ts +2 -6
- package/dist/src/tool-runtime/installer.js +14 -76
- package/dist/src/tool-runtime/java-arguments.js +4 -10
- package/dist/src/tool-runtime/launch-worker.js +2 -8
- package/dist/src/tool-runtime/run.d.ts +2 -0
- package/dist/src/tool-runtime/run.js +20 -8
- package/dist/src/tool-runtime/store.d.ts +3 -3
- package/dist/src/tool-runtime/store.js +21 -83
- package/dist/src/tool-runtime/supervisor.d.ts +6 -11
- package/dist/src/tool-runtime/supervisor.js +155 -214
- package/dist/src/tool-runtime/windows-helper.d.ts +5 -0
- package/dist/src/tool-runtime/windows-helper.js +13 -0
- package/dist/src/tool-runtime/windows-job.d.ts +5 -5
- package/dist/src/tool-runtime/windows-job.js +13 -31
- package/dist/src/tshark.js +14 -27
- package/dist/src/ui-results.d.ts +3 -2
- package/dist/src/ui-results.js +16 -53
- package/dist/src/ui.d.ts +12 -13
- package/dist/src/ui.js +32 -70
- package/dist/src/version-tracking.d.ts +25 -39
- package/dist/src/version-tracking.js +70 -174
- package/dist/src/windbg.d.ts +1 -1
- package/dist/src/windbg.js +2 -8
- package/dist/src/work/client.d.ts +63 -0
- package/dist/src/work/client.js +163 -0
- package/dist/src/work/commands.d.ts +3 -1
- package/dist/src/work/commands.js +158 -184
- package/dist/src/work/dashboard.d.ts +2 -2
- package/dist/src/work/dashboard.js +7 -8
- package/dist/src/work/legacy.d.ts +8 -0
- package/dist/src/work/legacy.js +70 -0
- package/dist/src/work/model.d.ts +0 -3
- package/dist/src/work/model.js +0 -10
- package/dist/src/work/timing.d.ts +3 -3
- package/dist/src/work/timing.js +21 -25
- package/dist/src/workspace.d.ts +4 -250
- package/dist/src/workspace.js +11 -699
- package/node_modules/@eyeauras/cli-factory/README.md +6 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/cli.d.ts.map +1 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/cli.js +76 -28
- package/node_modules/@eyeauras/cli-factory/dist/src/cli.js.map +1 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/command.d.ts +1 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/command.d.ts.map +1 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/command.js +1 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/command.js.map +1 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/errors.d.ts +1 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/errors.d.ts.map +1 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/errors.js +18 -6
- package/node_modules/@eyeauras/cli-factory/dist/src/errors.js.map +1 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/file-publication.d.ts +44 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/file-publication.d.ts.map +1 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/{profile-file.js → file-publication.js} +41 -113
- package/node_modules/@eyeauras/cli-factory/dist/src/file-publication.js.map +1 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/help.d.ts +5 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/help.d.ts.map +1 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/help.js +17 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/help.js.map +1 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/index.d.ts +9 -4
- package/node_modules/@eyeauras/cli-factory/dist/src/index.d.ts.map +1 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/index.js +5 -2
- package/node_modules/@eyeauras/cli-factory/dist/src/index.js.map +1 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/json-rpc.d.ts.map +1 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/json-rpc.js +11 -18
- package/node_modules/@eyeauras/cli-factory/dist/src/json-rpc.js.map +1 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/output-write.d.ts +10 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/output-write.d.ts.map +1 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/output-write.js +69 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/output-write.js.map +1 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/output.d.ts +3 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/output.d.ts.map +1 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/output.js +74 -14
- package/node_modules/@eyeauras/cli-factory/dist/src/output.js.map +1 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/pagination.d.ts +3 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/pagination.d.ts.map +1 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/pagination.js +9 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/pagination.js.map +1 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/permissions.d.ts.map +1 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/permissions.js +3 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/permissions.js.map +1 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/stream-result.d.ts +16 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/stream-result.d.ts.map +1 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/stream-result.js +83 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/stream-result.js.map +1 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/types.d.ts +5 -0
- package/node_modules/@eyeauras/cli-factory/dist/src/types.d.ts.map +1 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/view.d.ts +49 -7
- package/node_modules/@eyeauras/cli-factory/dist/src/view.d.ts.map +1 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/view.js +83 -6
- package/node_modules/@eyeauras/cli-factory/dist/src/view.js.map +1 -1
- package/node_modules/@eyeauras/cli-factory/package.json +1 -1
- package/node_modules/@eyeauras/cli-factory-ipc/dist/cli-host.proto +19 -19
- package/node_modules/@eyeauras/cli-factory-ipc/dist/src/build.d.ts +7 -1
- package/node_modules/@eyeauras/cli-factory-ipc/dist/src/build.d.ts.map +1 -1
- package/node_modules/@eyeauras/cli-factory-ipc/dist/src/build.js +9 -4
- package/node_modules/@eyeauras/cli-factory-ipc/dist/src/build.js.map +1 -1
- package/node_modules/@eyeauras/cli-factory-ipc/dist/src/host.d.ts.map +1 -1
- package/node_modules/@eyeauras/cli-factory-ipc/dist/src/host.js +5 -4
- package/node_modules/@eyeauras/cli-factory-ipc/dist/src/host.js.map +1 -1
- package/node_modules/@eyeauras/cli-factory-ipc/dist/src/package-build.d.ts +11 -1
- package/node_modules/@eyeauras/cli-factory-ipc/dist/src/package-build.d.ts.map +1 -1
- package/node_modules/@eyeauras/cli-factory-ipc/dist/src/package-build.js +85 -57
- package/node_modules/@eyeauras/cli-factory-ipc/dist/src/package-build.js.map +1 -1
- package/node_modules/@eyeauras/cli-factory-ipc/package.json +2 -2
- package/package.json +4 -5
- package/references/native/InsightAnalyzerOptions.java +10 -0
- package/references/native/InsightAnchorScan.java +1 -11
- package/references/native/InsightCodeReferences.java +2 -3
- package/references/native/InsightCopyType.java +24 -0
- package/references/native/InsightFunctionBoundaries.java +0 -1
- package/references/native/InsightFunctionDatabases.java +20 -16
- package/references/native/InsightHelperCall.java +17 -0
- package/references/native/InsightHubServer.java +214 -0
- package/references/native/InsightNativeHost.java +112 -0
- package/references/native/InsightPlugins.java +0 -1
- package/references/native/InsightPythonWheels.java +3 -2
- package/references/native/InsightResearchQueries.java +3 -4
- package/references/native/InsightResearchView.java +4 -10
- package/references/native/InsightSdkFiles.java +7 -15
- package/references/native/InsightSdkScript.java +1 -4
- package/references/native/InsightSdkTools.java +36 -97
- package/references/native/InsightSdkTypes.java +13 -43
- package/references/native/InsightStringAnchors.java +1 -3
- package/references/native/InsightTraceState.java +13 -96
- package/references/native/InsightTraceTools.java +3 -5
- package/references/native/InsightVersionTracking.java +0 -6
- package/references/native/{HeadlessProgramMergeManager.java → InsightWcMerge.java} +17 -24
- package/references/native/InsightWcOps.java +449 -0
- package/references/native/InsightWcWorker.java +142 -0
- package/references/native/NATIVE-MERGE-NOTICE.txt +4 -8
- package/runtime/GhidraMCP-7.0.0.jar +0 -0
- package/runtime/managed/insight-heap/README.md +3 -3
- package/runtime/managed/insight-managed/README.md +3 -3
- package/runtime/native/binary/README.md +5 -4
- package/runtime/native/windows/DirectoryAlias.cs +24 -0
- package/runtime/native/windows/Insight.Windows.csproj +27 -0
- package/runtime/native/windows/Native.cs +36 -0
- package/runtime/native/windows/OwnedJob.cs +86 -0
- package/runtime/native/windows/Program.cs +50 -0
- package/runtime/native/windows/RegistryRedirect.cs +42 -0
- package/runtime/native/windows/insight-windows-x64.exe +0 -0
- package/runtime/native/windows/packages.lock.json +35 -0
- package/runtime/native/windows/provenance.json +17 -0
- package/runtime/research-view.provenance.json +6 -7
- package/runtime/toolbox.json +33 -114
- package/skill-bundle/insight-artifacts/SKILL.md +5 -19
- package/skill-bundle/insight-binary/SKILL.md +5 -35
- package/skill-bundle/insight-capture/SKILL.md +5 -45
- package/skill-bundle/insight-cli/SKILL.md +6 -44
- package/skill-bundle/insight-die/SKILL.md +5 -38
- package/skill-bundle/insight-dnspy/SKILL.md +5 -54
- package/skill-bundle/insight-dotnet-dump/SKILL.md +5 -35
- package/skill-bundle/insight-dotnet-stack/SKILL.md +5 -28
- package/skill-bundle/insight-dotnet-trace/SKILL.md +5 -34
- package/skill-bundle/insight-frida/SKILL.md +5 -56
- package/skill-bundle/insight-ghidra/SKILL.md +14 -113
- package/skill-bundle/insight-ilspy/SKILL.md +5 -34
- package/skill-bundle/insight-interop/SKILL.md +5 -43
- package/skill-bundle/insight-lldb/SKILL.md +5 -43
- package/skill-bundle/insight-llvm/SKILL.md +5 -45
- package/skill-bundle/insight-managed-heap/SKILL.md +5 -32
- package/skill-bundle/insight-managed-metadata/SKILL.md +5 -41
- package/skill-bundle/insight-mitmproxy/SKILL.md +5 -51
- package/skill-bundle/insight-overview/SKILL.md +5 -68
- package/skill-bundle/insight-procmon/SKILL.md +5 -38
- package/skill-bundle/insight-re/SKILL.md +10 -127
- package/skill-bundle/insight-sevenzip/SKILL.md +5 -31
- package/skill-bundle/insight-strace/SKILL.md +5 -35
- package/skill-bundle/insight-tshark/SKILL.md +5 -38
- package/skill-bundle/insight-windbg/SKILL.md +5 -35
- package/skill-bundle/manifest.json +1 -1
- package/skills/insight-artifacts/SKILL.md +5 -19
- package/skills/insight-binary/SKILL.md +5 -35
- package/skills/insight-capture/SKILL.md +5 -45
- package/skills/insight-die/SKILL.md +5 -38
- package/skills/insight-dnspy/SKILL.md +5 -54
- package/skills/insight-dotnet-dump/SKILL.md +5 -35
- package/skills/insight-dotnet-stack/SKILL.md +5 -28
- package/skills/insight-dotnet-trace/SKILL.md +5 -34
- package/skills/insight-frida/SKILL.md +5 -56
- package/skills/insight-ghidra/SKILL.md +14 -113
- package/skills/insight-ilspy/SKILL.md +5 -34
- package/skills/insight-interop/SKILL.md +5 -43
- package/skills/insight-lldb/SKILL.md +5 -43
- package/skills/insight-llvm/SKILL.md +5 -45
- package/skills/insight-managed-heap/SKILL.md +5 -32
- package/skills/insight-managed-metadata/SKILL.md +5 -41
- package/skills/insight-mitmproxy/SKILL.md +5 -51
- package/skills/insight-overview/SKILL.md +5 -68
- package/skills/insight-procmon/SKILL.md +5 -38
- package/skills/insight-re/SKILL.md +10 -127
- package/skills/insight-sevenzip/SKILL.md +5 -31
- package/skills/insight-strace/SKILL.md +5 -35
- package/skills/insight-tshark/SKILL.md +5 -38
- package/skills/insight-windbg/SKILL.md +5 -35
- package/dist/src/administration-results.d.ts +0 -1
- package/dist/src/administration-results.js +0 -84
- package/dist/src/administration.d.ts +0 -14
- package/dist/src/administration.js +0 -134
- package/dist/src/archive-contract.d.ts +0 -6
- package/dist/src/archive-contract.js +0 -108
- package/dist/src/archive.d.ts +0 -12
- package/dist/src/archive.js +0 -116
- package/dist/src/comment-effects.d.ts +0 -3
- package/dist/src/comment-effects.js +0 -55
- package/dist/src/context-credential.d.ts +0 -18
- package/dist/src/context-credential.js +0 -44
- package/dist/src/contexts.d.ts +0 -387
- package/dist/src/contexts.js +0 -2805
- package/dist/src/coordinator.d.ts +0 -41
- package/dist/src/coordinator.js +0 -160
- package/dist/src/cross-peer.d.ts +0 -20
- package/dist/src/cross-peer.js +0 -53
- package/dist/src/data-effects.d.ts +0 -3
- package/dist/src/data-effects.js +0 -103
- package/dist/src/debugger-caller.d.ts +0 -17
- package/dist/src/debugger-caller.js +0 -129
- package/dist/src/debugger-launch.d.ts +0 -2
- package/dist/src/debugger-launch.js +0 -17
- package/dist/src/debugger-supervisor.js +0 -179
- package/dist/src/directory-identity.d.ts +0 -6
- package/dist/src/directory-identity.js +0 -45
- package/dist/src/documentation-effects.d.ts +0 -5
- package/dist/src/documentation-effects.js +0 -56
- package/dist/src/function-effects.d.ts +0 -4
- package/dist/src/function-effects.js +0 -112
- package/dist/src/ghidra-processes.d.ts +0 -6
- package/dist/src/ghidra-processes.js +0 -138
- package/dist/src/ghidra.d.ts +0 -50
- package/dist/src/ghidra.js +0 -468
- package/dist/src/initial-model.d.ts +0 -7
- package/dist/src/initial-model.js +0 -115
- package/dist/src/initial-progress.d.ts +0 -4
- package/dist/src/initial-progress.js +0 -74
- package/dist/src/inline-script.d.ts +0 -15
- package/dist/src/inline-script.js +0 -61
- package/dist/src/legacy-migration.d.ts +0 -37
- package/dist/src/legacy-migration.js +0 -238
- package/dist/src/lifecycle.d.ts +0 -77
- package/dist/src/lifecycle.js +0 -315
- package/dist/src/merge.d.ts +0 -29
- package/dist/src/merge.js +0 -66
- package/dist/src/mutation-effects.d.ts +0 -4
- package/dist/src/mutation-effects.js +0 -321
- package/dist/src/native-queries.d.ts +0 -2
- package/dist/src/native-queries.js +0 -24
- package/dist/src/native-service.d.ts +0 -40
- package/dist/src/native-service.js +0 -406
- package/dist/src/projects.d.ts +0 -31
- package/dist/src/projects.js +0 -302
- package/dist/src/prototype-cli.d.ts +0 -8
- package/dist/src/prototype-cli.js +0 -155
- package/dist/src/query-results.d.ts +0 -2
- package/dist/src/query-results.js +0 -224
- package/dist/src/research-view.d.ts +0 -6
- package/dist/src/research-view.js +0 -9
- package/dist/src/sdk-files.d.ts +0 -29
- package/dist/src/sdk-files.js +0 -249
- package/dist/src/server.d.ts +0 -102
- package/dist/src/server.js +0 -663
- package/dist/src/storage-gc.d.ts +0 -23
- package/dist/src/storage-gc.js +0 -600
- package/dist/src/store.d.ts +0 -33
- package/dist/src/store.js +0 -178
- package/dist/src/sync-policy.d.ts +0 -22
- package/dist/src/sync-policy.js +0 -129
- package/dist/src/timed-backend.d.ts +0 -3
- package/dist/src/timed-backend.js +0 -24
- package/dist/src/timing-report.d.ts +0 -32
- package/dist/src/timing-report.js +0 -74
- package/dist/src/tool-runtime/native-process-proof.d.ts +0 -2
- package/dist/src/tool-runtime/native-process-proof.js +0 -26
- package/dist/src/transport.d.ts +0 -60
- package/dist/src/transport.js +0 -223
- package/dist/src/unresolved-guidance.d.ts +0 -46
- package/dist/src/unresolved-guidance.js +0 -55
- package/dist/src/work/backup.d.ts +0 -66
- package/dist/src/work/backup.js +0 -446
- package/dist/src/work/store.js +0 -1107
- package/dist/src/worker-lease.d.ts +0 -17
- package/dist/src/worker-lease.js +0 -50
- package/node_modules/@eyeauras/cli-factory/dist/src/profile-file.d.ts +0 -37
- package/node_modules/@eyeauras/cli-factory/dist/src/profile-file.d.ts.map +0 -1
- package/node_modules/@eyeauras/cli-factory/dist/src/profile-file.js.map +0 -1
- package/references/InsightRepositoryProbe.java +0 -55
- package/references/administration.md +0 -34
- package/references/agent-execution.md +0 -36
- package/references/agent-setup.md +0 -60
- package/references/archive.md +0 -32
- package/references/artifacts.md +0 -52
- package/references/debugger.md +0 -64
- package/references/extensions-and-sync.md +0 -125
- package/references/ilspy.md +0 -33
- package/references/managed-runtime.md +0 -162
- package/references/native/InsightArchivePayloads.java +0 -36
- package/references/native/InsightBlockTransfer.java +0 -57
- package/references/native/InsightGuiMain.java +0 -33
- package/references/native/InsightHeadlessMain.java +0 -18
- package/references/native/InsightImportProgress.java +0 -60
- package/references/native/InsightInitialImport.java +0 -48
- package/references/native/InsightInitialJournal.java +0 -57
- package/references/native/InsightInitialPublication.java +0 -142
- package/references/native/InsightInitialRecovery.java +0 -131
- package/references/native/InsightInlineExecutor.java +0 -143
- package/references/native/InsightInlineScript.java +0 -14
- package/references/native/InsightNativeCheckout.java +0 -487
- package/references/native/InsightNativeFingerprint.java +0 -80
- package/references/native/InsightNativeMigration.java +0 -155
- package/references/native/InsightNativeRead.java +0 -80
- package/references/native/InsightNativeReceipt.java +0 -31
- package/references/native/InsightNativeService.java +0 -43
- package/references/native/InsightNativeView.java +0 -40
- package/references/native/InsightOfflineAuthenticator.java +0 -20
- package/references/native/InsightOwnedScripts.java +0 -170
- package/references/native/InsightProjectFiles.java +0 -92
- package/references/native/InsightPublicationRecovery.java +0 -63
- package/references/native/InsightServerAdministration.java +0 -82
- package/references/native/InsightServerInit.java +0 -62
- package/references/native/InsightServerMain.java +0 -43
- package/references/native/InsightServerProbe.java +0 -29
- package/references/native/InsightSnapshotFields.java +0 -74
- package/references/native/InsightSnapshotInspect.java +0 -191
- package/references/native/InsightSnapshotPublisher.java +0 -123
- package/references/native/InsightStopDebugger.java +0 -20
- package/references/native/InsightTraceInspect.java +0 -24
- package/references/native/InsightWorkerLease.java +0 -132
- package/references/native-workflows.md +0 -124
- package/references/persistent-client.mjs +0 -147
- package/references/persistent.md +0 -90
- package/references/query-semantics.md +0 -109
- package/references/recovery.md +0 -235
- package/references/research.md +0 -296
- package/references/setup.md +0 -135
- package/references/sparse-navigation.md +0 -173
- package/references/storage.md +0 -139
- package/references/work-tracking.md +0 -261
- package/runtime/native/file-version.ps1 +0 -7
- package/runtime/native/mitmproxy/bridge.py +0 -180
- package/runtime/native/windows-job/DirectoryAlias.cs +0 -24
- package/runtime/native/windows-job/Insight.WindowsJob.csproj +0 -1
- package/runtime/native/windows-job/Insight.WindowsJob.dll +0 -0
- package/runtime/native/windows-job/OwnedJob.cs +0 -79
- package/runtime/native/windows-job/RegistryRedirect.cs +0 -45
- package/runtime/native/windows-job/packages.lock.json +0 -21
- package/runtime/native/windows-job/provenance.json +0 -16
- package/runtime/native/windows-job/windows-job.ps1 +0 -8
- package/skill-bundle/insight-artifacts/references/agent-execution.md +0 -36
- package/skill-bundle/insight-artifacts/references/artifacts.md +0 -52
- package/skill-bundle/insight-artifacts/references/recovery.md +0 -235
- package/skill-bundle/insight-artifacts/references/storage.md +0 -139
- package/skill-bundle/insight-binary/references/agent-execution.md +0 -36
- package/skill-bundle/insight-capture/references/agent-execution.md +0 -36
- package/skill-bundle/insight-cli/references/agent-execution.md +0 -36
- package/skill-bundle/insight-cli/references/agent-setup.md +0 -60
- package/skill-bundle/insight-cli/references/archive.md +0 -32
- package/skill-bundle/insight-cli/references/managed-runtime.md +0 -162
- package/skill-bundle/insight-cli/references/persistent-client.mjs +0 -147
- package/skill-bundle/insight-cli/references/persistent.md +0 -90
- package/skill-bundle/insight-cli/references/recovery.md +0 -235
- package/skill-bundle/insight-cli/references/setup.md +0 -135
- package/skill-bundle/insight-cli/references/storage.md +0 -139
- package/skill-bundle/insight-die/references/agent-execution.md +0 -36
- package/skill-bundle/insight-dnspy/references/agent-execution.md +0 -36
- package/skill-bundle/insight-dotnet-dump/references/agent-execution.md +0 -36
- package/skill-bundle/insight-dotnet-stack/references/agent-execution.md +0 -36
- package/skill-bundle/insight-dotnet-trace/references/agent-execution.md +0 -36
- package/skill-bundle/insight-frida/references/agent-execution.md +0 -36
- package/skill-bundle/insight-ghidra/references/administration.md +0 -34
- package/skill-bundle/insight-ghidra/references/agent-execution.md +0 -36
- package/skill-bundle/insight-ghidra/references/archive.md +0 -32
- package/skill-bundle/insight-ghidra/references/artifacts.md +0 -52
- package/skill-bundle/insight-ghidra/references/debugger.md +0 -64
- package/skill-bundle/insight-ghidra/references/extensions-and-sync.md +0 -125
- package/skill-bundle/insight-ghidra/references/managed-runtime.md +0 -162
- package/skill-bundle/insight-ghidra/references/native-workflows.md +0 -124
- package/skill-bundle/insight-ghidra/references/persistent-client.mjs +0 -147
- package/skill-bundle/insight-ghidra/references/persistent.md +0 -90
- package/skill-bundle/insight-ghidra/references/query-semantics.md +0 -109
- package/skill-bundle/insight-ghidra/references/recovery.md +0 -235
- package/skill-bundle/insight-ghidra/references/research.md +0 -296
- package/skill-bundle/insight-ghidra/references/setup.md +0 -135
- package/skill-bundle/insight-ghidra/references/sparse-navigation.md +0 -173
- package/skill-bundle/insight-ghidra/references/storage.md +0 -139
- package/skill-bundle/insight-ilspy/references/agent-execution.md +0 -36
- package/skill-bundle/insight-ilspy/references/ilspy.md +0 -33
- package/skill-bundle/insight-interop/references/agent-execution.md +0 -36
- package/skill-bundle/insight-lldb/references/agent-execution.md +0 -36
- package/skill-bundle/insight-llvm/references/agent-execution.md +0 -36
- package/skill-bundle/insight-managed-heap/references/agent-execution.md +0 -36
- package/skill-bundle/insight-managed-metadata/references/agent-execution.md +0 -36
- package/skill-bundle/insight-mitmproxy/references/agent-execution.md +0 -36
- package/skill-bundle/insight-overview/references/agent-execution.md +0 -36
- package/skill-bundle/insight-procmon/references/agent-execution.md +0 -36
- package/skill-bundle/insight-re/references/agent-execution.md +0 -36
- package/skill-bundle/insight-re/references/artifacts.md +0 -52
- package/skill-bundle/insight-re/references/persistent-client.mjs +0 -147
- package/skill-bundle/insight-re/references/persistent.md +0 -90
- package/skill-bundle/insight-re/references/recovery.md +0 -235
- package/skill-bundle/insight-re/references/storage.md +0 -139
- package/skill-bundle/insight-re/references/work-tracking.md +0 -261
- package/skill-bundle/insight-sevenzip/references/agent-execution.md +0 -36
- package/skill-bundle/insight-strace/references/agent-execution.md +0 -36
- package/skill-bundle/insight-tshark/references/agent-execution.md +0 -36
- package/skill-bundle/insight-windbg/references/agent-execution.md +0 -36
- package/skills/insight-artifacts/references/agent-execution.md +0 -36
- package/skills/insight-artifacts/references/artifacts.md +0 -52
- package/skills/insight-artifacts/references/recovery.md +0 -235
- package/skills/insight-artifacts/references/storage.md +0 -139
- package/skills/insight-binary/references/agent-execution.md +0 -36
- package/skills/insight-capture/references/agent-execution.md +0 -36
- package/skills/insight-die/references/agent-execution.md +0 -36
- package/skills/insight-dnspy/references/agent-execution.md +0 -36
- package/skills/insight-dotnet-dump/references/agent-execution.md +0 -36
- package/skills/insight-dotnet-stack/references/agent-execution.md +0 -36
- package/skills/insight-dotnet-trace/references/agent-execution.md +0 -36
- package/skills/insight-frida/references/agent-execution.md +0 -36
- package/skills/insight-ghidra/references/administration.md +0 -34
- package/skills/insight-ghidra/references/agent-execution.md +0 -36
- package/skills/insight-ghidra/references/archive.md +0 -32
- package/skills/insight-ghidra/references/artifacts.md +0 -52
- package/skills/insight-ghidra/references/debugger.md +0 -64
- package/skills/insight-ghidra/references/extensions-and-sync.md +0 -125
- package/skills/insight-ghidra/references/managed-runtime.md +0 -162
- package/skills/insight-ghidra/references/native-workflows.md +0 -124
- package/skills/insight-ghidra/references/persistent-client.mjs +0 -147
- package/skills/insight-ghidra/references/persistent.md +0 -90
- package/skills/insight-ghidra/references/query-semantics.md +0 -109
- package/skills/insight-ghidra/references/recovery.md +0 -235
- package/skills/insight-ghidra/references/research.md +0 -296
- package/skills/insight-ghidra/references/setup.md +0 -135
- package/skills/insight-ghidra/references/sparse-navigation.md +0 -173
- package/skills/insight-ghidra/references/storage.md +0 -139
- package/skills/insight-ilspy/references/agent-execution.md +0 -36
- package/skills/insight-ilspy/references/ilspy.md +0 -33
- package/skills/insight-interop/references/agent-execution.md +0 -36
- package/skills/insight-lldb/references/agent-execution.md +0 -36
- package/skills/insight-llvm/references/agent-execution.md +0 -36
- package/skills/insight-managed-heap/references/agent-execution.md +0 -36
- package/skills/insight-managed-metadata/references/agent-execution.md +0 -36
- package/skills/insight-mitmproxy/references/agent-execution.md +0 -36
- package/skills/insight-overview/references/agent-execution.md +0 -36
- package/skills/insight-procmon/references/agent-execution.md +0 -36
- package/skills/insight-re/references/agent-execution.md +0 -36
- package/skills/insight-re/references/artifacts.md +0 -52
- package/skills/insight-re/references/persistent-client.mjs +0 -147
- package/skills/insight-re/references/persistent.md +0 -90
- package/skills/insight-re/references/recovery.md +0 -235
- package/skills/insight-re/references/storage.md +0 -139
- package/skills/insight-re/references/work-tracking.md +0 -261
- package/skills/insight-sevenzip/references/agent-execution.md +0 -36
- package/skills/insight-strace/references/agent-execution.md +0 -36
- package/skills/insight-tshark/references/agent-execution.md +0 -36
- package/skills/insight-windbg/references/agent-execution.md +0 -36
- /package/dist/src/{debugger-supervisor.d.ts → native/contract.js} +0 -0
- /package/runtime/native/{windows-job → windows}/NuGet.Config +0 -0
|
@@ -3,40 +3,10 @@ name: insight-dotnet-dump
|
|
|
3
3
|
description: Capture a managed heap dump or inspect compatible .NET dumps with SOS to recover waiting stacks, objects, fields and retention evidence.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight .NET Dump 0.
|
|
6
|
+
# Insight .NET Dump 0.9.1
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
Commands: `insight-cli dotnet-dump --help`. `insight-cli tools show dotnet-dump --json`
|
|
9
|
+
lists tasks, inputs, platforms and readiness.
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
has a deadline and accepts only a nonempty file below 4 GiB. It does not execute dump data.
|
|
14
|
-
|
|
15
|
-
Use `analyze FILE --command clrthreads` or `--command clrstack` for thread context, then
|
|
16
|
-
`--command 'dumpheap -type TYPE'` to locate objects and `--command 'dumpobj ADDRESS'` for
|
|
17
|
-
fields. Reuse the returned `--target ID` instead of a file. `gcroot ADDRESS` can investigate
|
|
18
|
-
retention. Interpret the actual output: an empty type selection, unavailable DAC or SOS error
|
|
19
|
-
is not evidence that the requested object was found. Addresses belong to that dump only.
|
|
20
|
-
Use `--command 'help dumpheap'` for native SOS query syntax.
|
|
21
|
-
The API accepts one supported inspection command; it does not expose arbitrary debugger
|
|
22
|
-
scripts, chaining, symbol-server configuration or execution. Keep static object snapshots
|
|
23
|
-
separate from claims about current live state.
|
|
24
|
-
|
|
25
|
-
Use the existing project RE instructions and evidence format. `status` checks readiness;
|
|
26
|
-
`install` prepares the pinned tool and private .NET 10.0.13 from our GitHub Releases.
|
|
27
|
-
`--archive`, `--dotnet-archive` and `--offline` support local preparation; `--executable`
|
|
28
|
-
selects a compatible external tool, whose runtime/dependency closure remains user-managed.
|
|
29
|
-
Managed admission is macOS ARM64. A native compatible runtime/DAC is required for dump
|
|
30
|
-
inspection; a Windows dump is not promised readable on macOS.
|
|
31
|
-
|
|
32
|
-
Live commands require an explicit `--pid`. The selected process remains external: the CLI
|
|
33
|
-
owns its collector, not that target's lifetime. Use the PID supplied for this investigation;
|
|
34
|
-
process birth is checked around collection, with the reported OS identity strength. If the
|
|
35
|
-
process uses a custom TMPDIR, pass `--diagnostic-directory` with that directory. Do not
|
|
36
|
-
infer target ownership from a successful attachment or stop another agent's process.
|
|
37
|
-
|
|
38
|
-
Text views page with `--limit`/`--offset`; `--output FILE` retains complete bounded text in
|
|
39
|
-
a new ordinary file. Native text has a 4-MiB output bound; an output-limit error is not a
|
|
40
|
-
complete inventory. Save finished project files/folders with `artifacts save` when useful.
|
|
41
|
-
`tools processes --tool dotnet-dump --all` and `show ID` retain collector diagnostics. Update
|
|
42
|
-
permission is required. Generated `--help` owns exact syntax. Uninstall preserves research.
|
|
11
|
+
Generated `--help` is the syntax authority: `insight-cli --help`, then `--help` on any group or command.
|
|
12
|
+
Detailed agent documentation is being rewritten (#165); until then rely on generated help and JSON results.
|
|
@@ -3,33 +3,10 @@ name: insight-dotnet-stack
|
|
|
3
3
|
description: Inspect live managed thread stacks to identify active or waiting work in an explicitly selected .NET process without taking a dump.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight .NET Stack 0.
|
|
6
|
+
# Insight .NET Stack 0.9.1
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
Commands: `insight-cli dotnet-stack --help`. `insight-cli tools show dotnet-stack --json`
|
|
9
|
+
lists tasks, inputs, platforms and readiness.
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
thread was sampled, not by itself why an application is stalled. Keep PID/birth, capture
|
|
14
|
-
time and relevant frame names in the project evidence. Different snapshots may legitimately
|
|
15
|
-
differ. Use dotnet-dump for object/field questions and dotnet-trace for a bounded view over
|
|
16
|
-
time instead of presenting one stack snapshot as a performance measurement.
|
|
17
|
-
|
|
18
|
-
Use the existing project RE instructions and evidence format. `status` checks readiness;
|
|
19
|
-
`install` prepares the pinned tool and private .NET 10.0.13 from our GitHub Releases.
|
|
20
|
-
`--archive`, `--dotnet-archive` and `--offline` support local preparation; `--executable`
|
|
21
|
-
selects a compatible external tool, whose runtime/dependency closure remains user-managed.
|
|
22
|
-
Managed admission is macOS ARM64. A native compatible runtime/DAC is required for dump
|
|
23
|
-
inspection; a Windows dump is not promised readable on macOS.
|
|
24
|
-
|
|
25
|
-
Live commands require an explicit `--pid`. The selected process remains external: the CLI
|
|
26
|
-
owns its collector, not that target's lifetime. Use the PID supplied for this investigation;
|
|
27
|
-
process birth is checked around collection, with the reported OS identity strength. If the
|
|
28
|
-
process uses a custom TMPDIR, pass `--diagnostic-directory` with that directory. Do not
|
|
29
|
-
infer target ownership from a successful attachment or stop another agent's process.
|
|
30
|
-
|
|
31
|
-
Text views page with `--limit`/`--offset`; `--output FILE` retains complete bounded text in
|
|
32
|
-
a new ordinary file. Native text has a 4-MiB output bound; an output-limit error is not a
|
|
33
|
-
complete inventory. Save finished project files/folders with `artifacts save` when useful.
|
|
34
|
-
`tools processes --tool dotnet-stack --all` and `show ID` retain collector diagnostics. Update
|
|
35
|
-
permission is required. Generated `--help` owns exact syntax. Uninstall preserves research.
|
|
11
|
+
Generated `--help` is the syntax authority: `insight-cli --help`, then `--help` on any group or command.
|
|
12
|
+
Detailed agent documentation is being rewritten (#165); until then rely on generated help and JSON results.
|
|
@@ -3,39 +3,10 @@ name: insight-dotnet-trace
|
|
|
3
3
|
description: Collect and inspect bounded .NET EventPipe traces to identify sampled thread work, waits or runtime activity; distinguish wall-clock samples from CPU consumption.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight .NET Trace 0.
|
|
6
|
+
# Insight .NET Trace 0.9.1
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
Commands: `insight-cli dotnet-trace --help`. `insight-cli tools show dotnet-trace --json`
|
|
9
|
+
lists tasks, inputs, platforms and readiness.
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
A sleeping method can rank at 100% while consuming little CPU. This API does not use the
|
|
14
|
-
Linux-only `cpu-sampling` kernel profile. Other declared EventPipe profiles cover common
|
|
15
|
-
runtime or GC events; a trace without sample events need not have a useful method ranking.
|
|
16
|
-
|
|
17
|
-
Use `report FILE --count 10` for inclusive method ranking (`--exclusive` changes the metric).
|
|
18
|
-
Reuse `--target ID` for captured immutable bytes. `convert FILE --format Speedscope --output
|
|
19
|
-
research/worker.speedscope.json` creates a new ordinary JSON export; Chromium is also supported.
|
|
20
|
-
Preserve the original trace, profile, duration, target identity and collection conditions.
|
|
21
|
-
Limited/dropped samples and startup/rundown overhead constrain inference; do not call this a
|
|
22
|
-
CPU speedup benchmark merely because a report contains percentages.
|
|
23
|
-
|
|
24
|
-
Use the existing project RE instructions and evidence format. `status` checks readiness;
|
|
25
|
-
`install` prepares the pinned tool and private .NET 10.0.13 from our GitHub Releases.
|
|
26
|
-
`--archive`, `--dotnet-archive` and `--offline` support local preparation; `--executable`
|
|
27
|
-
selects a compatible external tool, whose runtime/dependency closure remains user-managed.
|
|
28
|
-
Managed admission is macOS ARM64. A native compatible runtime/DAC is required for dump
|
|
29
|
-
inspection; a Windows dump is not promised readable on macOS.
|
|
30
|
-
|
|
31
|
-
Live commands require an explicit `--pid`. The selected process remains external: the CLI
|
|
32
|
-
owns its collector, not that target's lifetime. Use the PID supplied for this investigation;
|
|
33
|
-
process birth is checked around collection, with the reported OS identity strength. If the
|
|
34
|
-
process uses a custom TMPDIR, pass `--diagnostic-directory` with that directory. Do not
|
|
35
|
-
infer target ownership from a successful attachment or stop another agent's process.
|
|
36
|
-
|
|
37
|
-
Text views page with `--limit`/`--offset`; `--output FILE` retains complete bounded text in
|
|
38
|
-
a new ordinary file. Native text has a 4-MiB output bound; an output-limit error is not a
|
|
39
|
-
complete inventory. Save finished project files/folders with `artifacts save` when useful.
|
|
40
|
-
`tools processes --tool dotnet-trace --all` and `show ID` retain collector diagnostics. Update
|
|
41
|
-
permission is required. Generated `--help` owns exact syntax. Uninstall preserves research.
|
|
11
|
+
Generated `--help` is the syntax authority: `insight-cli --help`, then `--help` on any group or command.
|
|
12
|
+
Detailed agent documentation is being rewritten (#165); until then rely on generated help and JSON results.
|
|
@@ -3,61 +3,10 @@ name: insight-frida
|
|
|
3
3
|
description: Observe native call arguments/results or inspect runtime modules and exports in an explicitly selected authorized process with bounded Frida scripts. Use insight-cli frida to corroborate static findings with actual execution on macOS ARM64.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Frida 0.
|
|
6
|
+
# Insight Frida 0.9.1
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
Commands: `insight-cli frida --help`. `insight-cli tools show frida --json`
|
|
9
|
+
lists tasks, inputs, platforms and readiness.
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
with its original owner. Stopping the collector never signals that target.
|
|
14
|
-
|
|
15
|
-
1. `insight-cli frida status --json` checks readiness. `frida install` obtains our pinned
|
|
16
|
-
Frida Node 17.24.0 bundle from GitHub Releases, including its NAPI-v8 binding, JavaScript
|
|
17
|
-
dependencies and full notices. It uses the CLI's Node runtime; Python is unnecessary.
|
|
18
|
-
Managed delivery requires macOS 14+ ARM64. `download`, `install --archive FILE --offline`,
|
|
19
|
-
`doctor` and `uninstall` use the shared lifecycle. An external compatible Node bundle can
|
|
20
|
-
be selected with `install --executable /path/to/frida/build/src/frida.js`; adjacent binding
|
|
21
|
-
and resolved runtime dependency families are fingerprinted and never deleted.
|
|
22
|
-
2. `frida modules --pid PID --json` establishes runtime module names and load addresses.
|
|
23
|
-
`frida exports --pid PID --module NAME --json` narrows to one module. `--limit`/`--offset`
|
|
24
|
-
page records. Runtime pointers differ from static addresses under ASLR; establish module
|
|
25
|
-
and image correspondence before combining findings from Ghidra/LLVM with live evidence.
|
|
26
|
-
3. Write a focused ordinary JavaScript file using the [Frida JavaScript API](https://frida.re/docs/javascript-api/).
|
|
27
|
-
For a known integer-valued exported function, an observation hook can be:
|
|
28
|
-
|
|
29
|
-
```javascript
|
|
30
|
-
const at = Process.mainModule.getExportByName('quote_total');
|
|
31
|
-
Interceptor.attach(at, {
|
|
32
|
-
onEnter(args) { this.count = args[0].toInt32(); },
|
|
33
|
-
onLeave(value) { send({count: this.count, result: value.toInt32()}); }
|
|
34
|
-
});
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
Match argument types, calling convention and module to the actual program. This example
|
|
38
|
-
is not a generic signature for every function. `frida observe --pid PID --script FILE
|
|
39
|
-
--duration-seconds 2 --output research/calls.json --json` captures the source bytes, loads
|
|
40
|
-
it, collects messages, requests unload and detaches. The output records the source hash,
|
|
41
|
-
runtime version, original PID/birth, native diagnostics and cleanup acknowledgment.
|
|
42
|
-
4. Inspect `complete`, `state`, script errors and cleanup fields. Script errors or early
|
|
43
|
-
target detach produce partial evidence. No observed call does not prove absence. Ordinary
|
|
44
|
-
`send`/console/error messages and optional binary payloads are retained. `--limit`/`--offset`
|
|
45
|
-
page event messages; `--output` saves the full bounded envelope to a new ordinary file and
|
|
46
|
-
creates parents. Use `artifacts save` for a checkpoint when useful.
|
|
47
|
-
Both the response and saved envelope include `summary`: total protocol events and counts
|
|
48
|
-
of script send/error/log messages. A send message is not universally a call. Derive call
|
|
49
|
-
counts from the retained payload type selected by your hook; do not count runtime,
|
|
50
|
-
loaded or completed receipts as calls or estimate counts by reading a long event list.
|
|
51
|
-
5. The observation window is 1–120 seconds; collector execution has a separate finite deadline
|
|
52
|
-
that survives owner loss. Native SDK helpers have their own inherited deadlines; status
|
|
53
|
-
remains `native_children_pending` and uninstall is blocked until they exit. Native output is bounded to 4 MiB and 10000 messages. Arbitrary
|
|
54
|
-
script patches or application side effects are not automatically rolled back by unload.
|
|
55
|
-
Avoid unnecessarily broad hooks and large payloads. `tools processes --tool frida --all`
|
|
56
|
-
shows owned collector history. A recovered live macOS PID may be unverified: wait for the
|
|
57
|
-
deadline and inspect retained evidence instead of replaying an injection blindly.
|
|
58
|
-
|
|
59
|
-
The pinned backend has a known attach failure on a bare C process without CoreFoundation;
|
|
60
|
-
our native probe reproduces it explicitly. A process already loading CoreFoundation worked.
|
|
61
|
-
Report the failure and choose a suitable debugger/fixture; do not silently load frameworks
|
|
62
|
-
into an unrelated process. macOS authorization/hardened targets can also prevent attach.
|
|
63
|
-
An imported PE is not a runnable local macOS process. Generated help owns exact syntax.
|
|
11
|
+
Generated `--help` is the syntax authority: `insight-cli --help`, then `--help` on any group or command.
|
|
12
|
+
Detailed agent documentation is being rewritten (#165); until then rely on generated help and JSON results.
|
|
@@ -1,120 +1,21 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: insight-ghidra
|
|
3
|
-
description: Inspect or edit native binaries with Ghidra through insight-cli;
|
|
3
|
+
description: Inspect or edit native binaries with Ghidra through insight-cli; one working copy per agent, shared through the hub with explicit merge/refresh across agents and machines. Choose this for static native behavior and references, not C# recovery from managed IL.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Ghidra 0.
|
|
6
|
+
# Insight Ghidra 0.9.1
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
Ghidra work is shared through a hub (`insight-cli hub --help`). The profile's hub project holds the targets;
|
|
9
|
+
each session and target has its own working copy on this machine.
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
- `ghidra open FILE --session new` uploads and registers a new file once, or checks out an existing one.
|
|
12
|
+
`ghidra targets list` and `ghidra open --target ID --session new` continue on another machine.
|
|
13
|
+
- Research commands take `--session` and `--target`. `ghidra merge` publishes the working copy; repeating it
|
|
14
|
+
is safe (`unchanged`). `ghidra refresh` receives others' versions; conflicts are reported, never guessed.
|
|
15
|
+
- `ghidra changes discard`, `ghidra close [--release]` and `ghidra gc` manage working copies.
|
|
16
|
+
- With the Work ledger: `work next`, edit the leased functions, `ghidra merge`, then `work submit`, and `ghidra refresh`
|
|
17
|
+
before the next `work next`.
|
|
18
|
+
- Debugger, GUI, version tracking and archive commands report `not_available` in this build.
|
|
15
19
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
Update/check-in. After a successful merge, continue with the same session and target;
|
|
19
|
-
`merge --close` releases the checkout instead. Conflicts and unknown results retain the copy.
|
|
20
|
-
Private workers have no repository password. Legacy detached contexts need explicit migration.
|
|
21
|
-
Close unchanged work to release its checkout; `ghidra gc --dry-run` reports redundant copies.
|
|
22
|
-
See [research](references/research.md) and [recovery](references/recovery.md).
|
|
23
|
-
|
|
24
|
-
For research loops, use the packaged [persistent client](references/persistent.md) and keep
|
|
25
|
-
one connection across queries. It uses the existing CLI transport and preserves typed errors;
|
|
26
|
-
lost mutation replies still require request/status recovery.
|
|
27
|
-
|
|
28
|
-
New targets import **without automatic analysis**; `--analysis` opts in on the first open of
|
|
29
|
-
a new target. Reopening existing selectors keeps their load settings. For a long first open,
|
|
30
|
-
`ghidra progress --session <session> --target <target> --json` reads progress without repeating
|
|
31
|
-
the operation; never start a second import. See [setup](references/setup.md), "Initial import and progress".
|
|
32
|
-
|
|
33
|
-
Use `ghidra status` to inspect runtime readiness; `ghidra install` delivers the pinned runtime.
|
|
34
|
-
For static managed C#/IL research, locate `insight-cli skill insight-ilspy`.
|
|
35
|
-
For an unresponsive headless backend, continue the same session/target with `ghidra open`;
|
|
36
|
-
the facade authenticates and retires eligible hung workers, restoring acknowledged private work.
|
|
37
|
-
Uncertain mutation/publication outcomes remain blocked; see [recovery](references/recovery.md).
|
|
38
|
-
For owned process inventory use `tools processes`; `stop` saves Ghidra contexts, while
|
|
39
|
-
`kill` explicitly interrupts verified owned work and preserves its journals.
|
|
40
|
-
For archives, external launchers, server lifecycle or removal, read [managed runtime](references/managed-runtime.md).
|
|
41
|
-
|
|
42
|
-
This skill and its executable helper are one npm package. Run `insight-cli skill insight-ghidra` to locate
|
|
43
|
-
these installed resources. Use generated `--help` for syntax; read the references as needed.
|
|
44
|
-
Follow applicable project RE rules for tools, source of truth, evidence layout and format;
|
|
45
|
-
this package's walkthroughs fill gaps rather than replacing those conventions.
|
|
46
|
-
|
|
47
|
-
For coordinating a reverse-engineering investigation with ordinary files, external tools
|
|
48
|
-
and multiple agents, locate the RE workflow with `insight-cli skill insight-re`. When a retained checkpoint is useful, save
|
|
49
|
-
a completed project file or folder with
|
|
50
|
-
`insight-cli artifacts save <path>`; [save semantics](references/artifacts.md) describe the
|
|
51
|
-
ordinary saved copy and its receipt. Neither operation requires a Ghidra installation.
|
|
52
|
-
|
|
53
|
-
1. Select the configured runtime profile. Ordinary work uses a managed local server; an external
|
|
54
|
-
server is optional. See [setup](references/setup.md). Factory permissions authorize changes.
|
|
55
|
-
2. Open the input with `ghidra open <input> --session new --json`. Retain the returned session and target.
|
|
56
|
-
Another agent chooses `new` independently; one session can open several inputs.
|
|
57
|
-
3. Pass both `--session` and `--target` on research calls. Follow strings to xrefs and their
|
|
58
|
-
function addresses, then inspect/decompile. Decompilation defaults to a 16000-character
|
|
59
|
-
window; page with `--limit-chars`/`--offset-chars` and retain `textSha256`. Native
|
|
60
|
-
truncation remains explicit even at the end of the observed text. See [research](references/research.md).
|
|
61
|
-
If strings/xrefs are empty or function bodies are one byte, run `analysis navigation`
|
|
62
|
-
and follow [sparse navigation](references/sparse-navigation.md). Try compact `functions inspect`
|
|
63
|
-
at known entries before writing reconstruction scripts. `force-decompile` refreshes an
|
|
64
|
-
existing entry; `decode` handles known bytes without an entry. Neither repairs stored xrefs.
|
|
65
|
-
`analysis code-references` scans explicit RIP/CALL byte forms for exact targets with bounded
|
|
66
|
-
coverage and a stateless cursor. Its decoded candidates retain boundary uncertainty; see the
|
|
67
|
-
sparse-navigation reference before treating a candidate as an actual code reference.
|
|
68
|
-
4. Rename functions or set/clear comments through ordinary commands. An `applied` result means
|
|
69
|
-
verified saved private work. Other sessions keep their own views; local edits remain unpublished in the default manual mode.
|
|
70
|
-
5. By default, publish explicitly with `ghidra merge`; receive safe shared changes with `ghidra refresh`.
|
|
71
|
-
Ghidra resolves local and incoming analysis using native checkout ancestry and change sets.
|
|
72
|
-
A native conflict prevents publication and retains the original checkout and base. Inspect
|
|
73
|
-
scoped status and the [recovery guidance](references/recovery.md) before choosing a resolution.
|
|
74
|
-
6. Continue with `ghidra open --session <id> --target <id>`. For uncertain outcomes inspect
|
|
75
|
-
`sessions status <id> --target <id>` and [recovery](references/recovery.md). Supplying a stable
|
|
76
|
-
optional `--request-id` lets a repeated changing intent retrieve its outcome without rerunning.
|
|
77
|
-
Java `scripts run-inline` returns bounded compile/load diagnostics. Only proven rejection
|
|
78
|
-
before user-code initialization leaves the context available; constructor/static initializer
|
|
79
|
-
failures and lost responses remain unknown. See the recovery reference for execution fields.
|
|
80
|
-
7. Finish by closing each context you own with scoped `ghidra close`, preserving private work.
|
|
81
|
-
If this profile's local server belongs exclusively to your investigation and all its contexts
|
|
82
|
-
are closed, use `ghidra server stop`, then verify `ghidra status` has no remaining processes.
|
|
83
|
-
`ipc-server stop` stops the CLI owner; it does **not** stop Ghidra's local server. Stop that
|
|
84
|
-
owner last when needed. For a shared profile/server, leave server shutdown to its coordinator;
|
|
85
|
-
an individual worker closes only its own contexts and never kills unrelated processes.
|
|
86
|
-
|
|
87
|
-
The facade exposes the pinned static research/editing catalog, merge/refresh, project/server/GUI
|
|
88
|
-
controls, debugger, archive exchange and supported recovery. Preserve private work
|
|
89
|
-
and journals while an outcome is unresolved. The CLI supplies the investigation tools; agents
|
|
90
|
-
choose research goals and interpret findings.
|
|
91
|
-
Installing this package does not register this skill in an agent's configuration.
|
|
92
|
-
|
|
93
|
-
For project files, program export/import and configured-server administration, read
|
|
94
|
-
[administration](references/administration.md). These operations preserve separate research views;
|
|
95
|
-
their external effects do not participate in program merge.
|
|
96
|
-
|
|
97
|
-
For owned GUI execution, CPU state, breakpoints and retained traces, read
|
|
98
|
-
[debugger](references/debugger.md). Execution side effects remain separate from program publication.
|
|
99
|
-
|
|
100
|
-
For explicit external documentation exchange and retained submission outcomes, read
|
|
101
|
-
[archive](references/archive.md).
|
|
102
|
-
|
|
103
|
-
For selected native SDK extensions (VT, DB differences, byte/assembly edits, formats, GDT,
|
|
104
|
-
FID/BSim, namespaces and typed IR), read [native workflows](references/native-workflows.md).
|
|
105
|
-
|
|
106
|
-
For managed SDK extension modules, actual language/analyzer/plugin discovery and opt-in
|
|
107
|
-
automatic synchronization, read [extensions and sync](references/extensions-and-sync.md).
|
|
108
|
-
|
|
109
|
-
For authorized macOS local debugging, use `ghidra debugger launch --stop-at-entry`
|
|
110
|
-
with the returned session/target and `--json`; then inspect status, registers and stack
|
|
111
|
-
before resuming. The default launch runs immediately, so a short program may exit before
|
|
112
|
-
an interrupt. Before resuming from entry, map the selected function and set a live breakpoint at the
|
|
113
|
-
returned dynamic address. Resuming a short program without that breakpoint can run it to
|
|
114
|
-
exit before any call is observed. At the breakpoint verify PC, then read arguments/stack
|
|
115
|
-
and step out or over the call to inspect its actual return.
|
|
116
|
-
Repeat mapping and live breakpoint setup for every new launch. A saved breakpoint bookmark
|
|
117
|
-
does not prove placement in that new process; check its `trace_location_count` before resuming.
|
|
118
|
-
Use `new` only when creating a session; subsequent calls take its actual returned ID.
|
|
119
|
-
|
|
120
|
-
Long import/save budgets: see [setup](references/setup.md). Never replay an uncertain script.
|
|
20
|
+
Generated `--help` is the syntax authority: `insight-cli --help`, then `--help` on any group or command.
|
|
21
|
+
Detailed agent documentation is being rewritten (#165); until then rely on generated help and JSON results.
|
|
@@ -3,39 +3,10 @@ name: insight-ilspy
|
|
|
3
3
|
description: Recover C#, inspect IL/types/metadata, extract resources or export projects from managed .NET assemblies through insight-cli ILSpy. Choose native analysis for NativeAOT or ordinary PE machine code.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight ILSpy 0.
|
|
6
|
+
# Insight ILSpy 0.9.1
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
Commands: `insight-cli ilspy --help`. `insight-cli tools show ilspy --json`
|
|
9
|
+
lists tasks, inputs, platforms and readiness.
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
or establish runtime behavior from pseudocode alone.
|
|
14
|
-
|
|
15
|
-
1. `insight-cli ilspy status --json` checks the selected profile. If needed,
|
|
16
|
-
`insight-cli ilspy install` prepares the pinned ILSpy and private .NET runtime.
|
|
17
|
-
No machine-wide SDK is required. Use generated install help for local archives,
|
|
18
|
-
offline cache or an external executable; see [workflows](references/ilspy.md).
|
|
19
|
-
2. Start with `ilspy query <input> --json` and `--view types`, then decompile one relevant type/member,
|
|
20
|
-
inspect its IL or metadata, or enumerate resources. Use returned target identity
|
|
21
|
-
across calls/tools. `--target` reuses immutable bytes without opening Ghidra.
|
|
22
|
-
3. Text responses default to a 16000-character window. Page with `--limit-chars` and
|
|
23
|
-
`--offset-chars`; combine only pages with the same `textSha256`. The hash covers observed
|
|
24
|
-
native text, which may itself be incomplete. Save full bounded text with `--output`,
|
|
25
|
-
or extract a selected resource into new ordinary output paths.
|
|
26
|
-
Recover a full project only when the question calls for it. Distinguish recovered
|
|
27
|
-
code/names from source truth. Record commands/input identity alongside findings
|
|
28
|
-
according to project rules.
|
|
29
|
-
4. `tools processes --tool ilspy --all` shows executions and retained diagnostics.
|
|
30
|
-
Inspect partial exports after failure; choose a new output path for an intentional
|
|
31
|
-
retry. Close only owned executions; uninstall preserves external files and research.
|
|
32
|
-
|
|
33
|
-
Execution and preparation need Factory Update permission. `ilspy --help` supplies exact
|
|
34
|
-
commands/options; the [workflow reference](references/ilspy.md) covers inputs, outputs,
|
|
35
|
-
resource/project export and continuation. Save a completed project file/folder through
|
|
36
|
-
`insight-cli artifacts save` when a checkpoint is useful; it is independent of Ghidra merge.
|
|
37
|
-
|
|
38
|
-
Hash extracted resource bytes themselves; the resource-list text has a different digest
|
|
39
|
-
and is not the extracted file. For a requested checkpoint, finish the notes/recovered files,
|
|
40
|
-
save their chosen containing folder, and read back the returned saved path. Include that
|
|
41
|
-
exact path in the final handoff; do not substitute the ordinary export path or an inferred UUID.
|
|
11
|
+
Generated `--help` is the syntax authority: `insight-cli --help`, then `--help` on any group or command.
|
|
12
|
+
Detailed agent documentation is being rewritten (#165); until then rely on generated help and JSON results.
|
|
@@ -3,48 +3,10 @@ name: insight-interop
|
|
|
3
3
|
description: Trace a .NET P/Invoke declaration to an explicitly supplied native library export and Ghidra function through insight-cli ilspy query, binary query and scoped ghidra APIs. Use for managed/native linkage evidence while keeping static correspondence separate from observed loading or execution.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Interop 0.
|
|
6
|
+
# Insight Interop 0.9.1
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
Commands: `insight-cli ilspy --help`. `insight-cli tools show managed-native-linkage --json`
|
|
9
|
+
lists tasks, inputs, platforms and readiness.
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
addresses identify different immutable targets; preserve both hashes in the finding.
|
|
14
|
-
|
|
15
|
-
1. Read `ilspy query managed.dll --view imports --json`. Select the exact managed signature,
|
|
16
|
-
MethodDef token, declared module/entrypoint, calling convention, charset and spelling
|
|
17
|
-
flags. Drill into `--view method --method TOKEN` when needed. An absent declaration
|
|
18
|
-
does not exclude dynamic loading, generated interop, reflection or runtime resolvers.
|
|
19
|
-
2. Select candidate native files explicitly. `binary query candidate.dll --json` identifies
|
|
20
|
-
format, architecture and image base. A filename match alone is insufficient. A neutral
|
|
21
|
-
IL assembly does not select the eventual runtime architecture by itself.
|
|
22
|
-
3. Query `--view exports --filter ENTRYPOINT`, then verify the **exact** name in the returned
|
|
23
|
-
row: the filter is a substring. Keep its native target/hash, ordinal, RVA and VA. Do not
|
|
24
|
-
treat a forwarded PE export as code; follow its named library/export using another
|
|
25
|
-
explicitly supplied candidate. Ordinal imports, name decoration, charset A/W probing,
|
|
26
|
-
Mach-O leading underscores and ambiguous candidates need explicit ABI/loader evidence;
|
|
27
|
-
never silently choose a winner by stripping names or comparing addresses alone.
|
|
28
|
-
4. `ghidra open candidate.dll --session new --json` opens an isolated native context. Match
|
|
29
|
-
this returned native target identity to the file just queried. Use
|
|
30
|
-
`ghidra functions get --session S --target T --address VA --json`, then
|
|
31
|
-
`ghidra functions decompile --session S --target T --address VA --json` to inspect the
|
|
32
|
-
exact implementation candidate. An address pointing to data or an unavailable function
|
|
33
|
-
is unresolved; do not create a claimed implementation merely to finish the workflow.
|
|
34
|
-
5. Write ordinary project evidence linking the managed declaration, concrete native export,
|
|
35
|
-
scoped Ghidra function and useful behavior. Label this **static correspondence**. It
|
|
36
|
-
proves neither that this file was selected by the runtime nor that the call occurred:
|
|
37
|
-
search paths, architecture, custom resolvers and marshaling can change the actual route.
|
|
38
|
-
An authorized Frida/LLDB/dnSpy observation is separate evidence when execution is needed.
|
|
39
|
-
6. If a useful annotation belongs in the shared Ghidra model, edit the chosen session/target
|
|
40
|
-
and explicitly `ghidra merge --session S --target T`. Verify it from a new context;
|
|
41
|
-
other workers refresh explicitly and retain their local changes. Metadata/binary reads
|
|
42
|
-
have no independent merge. Checkpoint ordinary materials with `artifacts save` as useful.
|
|
43
|
-
7. Close the contexts you own. If the profile's local server belongs exclusively to this
|
|
44
|
-
investigation, stop it with `ghidra server stop` and verify `ghidra status` before stopping
|
|
45
|
-
the CLI owner. `ipc-server stop` does not stop that Ghidra server. For shared work, leave
|
|
46
|
-
server shutdown to the coordinator; never stop another worker's contexts or server.
|
|
47
|
-
|
|
48
|
-
Use each tool's dedicated packaged skill for install/status, bounds and generated help.
|
|
49
|
-
MacOS native workflow acceptance uses static Windows PE/.NET fixtures; it does not claim
|
|
50
|
-
those Windows binaries execute on macOS. Project-specific formats and tools take precedence.
|
|
11
|
+
Generated `--help` is the syntax authority: `insight-cli --help`, then `--help` on any group or command.
|
|
12
|
+
Detailed agent documentation is being rewritten (#165); until then rely on generated help and JSON results.
|
|
@@ -3,48 +3,10 @@ name: insight-lldb
|
|
|
3
3
|
description: Observe native runtime arguments, return values, registers, stacks and bounded memory at a selected breakpoint using an owned LLDB launch. Use insight-cli lldb on macOS ARM64 when static findings need a concrete execution check.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight LLDB 0.
|
|
6
|
+
# Insight LLDB 0.9.1
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
Commands: `insight-cli lldb --help`. `insight-cli tools show lldb --json`
|
|
9
|
+
lists tasks, inputs, platforms and readiness.
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
owned copy, captures one breakpoint observation and terminates that launch. It does not attach
|
|
14
|
-
to an existing process or resume a crashed execution.
|
|
15
|
-
|
|
16
|
-
1. `insight-cli lldb status --json` checks readiness. `lldb install` obtains our pinned
|
|
17
|
-
LLDB 23.1.3 bundle (debugger, debugserver and library) from GitHub Releases. Managed delivery
|
|
18
|
-
requires macOS 14+ ARM64. `download`, `install --archive FILE --offline`, `doctor` and
|
|
19
|
-
`uninstall` use the shared lifecycle. `install --executable /path/to/bin/lldb` selects
|
|
20
|
-
an external compatible bundle with its adjacent bin/debugserver and lib directory;
|
|
21
|
-
these dependencies are fingerprinted. External files and research survive uninstall.
|
|
22
|
-
2. Start from static evidence identifying the relevant function and a useful input.
|
|
23
|
-
`insight-cli lldb inspect INPUT --breakpoint FUNCTION --step-out --json` records arguments,
|
|
24
|
-
registers, backtrace and the return from that call. `--target ID` reuses a captured input.
|
|
25
|
-
Only a native thin ARM64 Mach-O is supported here; a Windows PE imported into Ghidra cannot run
|
|
26
|
-
on this host. An optimized/stripped binary may omit names, arguments or source variables.
|
|
27
|
-
`--symbols FILE` captures a matching DWARF file from a dSYM bundle and loads it before launch.
|
|
28
|
-
`--variables` explicitly requests locals when debug information is available; without it
|
|
29
|
-
registers/backtraces remain useful for stripped code. Moving an executable alone does not
|
|
30
|
-
retain its adjacent dSYM.
|
|
31
|
-
3. `--hit N` skips earlier calls; compare calls around the relevant boundary. `--arg` supplies
|
|
32
|
-
literal program arguments without shell expansion. Backticks are rejected because LLDB uses them
|
|
33
|
-
for expression substitution. `--registers pc,sp,x0` selects registers.
|
|
34
|
-
`--memory-address '$sp' --memory-bytes 64` records a bounded memory window. A `0x` breakpoint
|
|
35
|
-
is a file address; memory addresses and printed pointers are runtime addresses affected by
|
|
36
|
-
ASLR. Establish correspondence before combining them with static analysis.
|
|
37
|
-
4. A snapshot proves one observed path and input, not all possible behavior. `--limit` and
|
|
38
|
-
`--offset` page native lines. `--output research/snapshot.json` saves the full bounded
|
|
39
|
-
snapshot to a new ordinary file, creating parents. Raw diagnostics remain under the
|
|
40
|
-
returned process directory. Preserve useful files with `artifacts save` when appropriate.
|
|
41
|
-
5. The deadline (default 30 seconds, up to 600) survives owner loss. LLDB is configured to
|
|
42
|
-
kill its inferior on debugger connection loss. `tools processes --tool lldb --all` shows
|
|
43
|
-
history; stop/kill applies to verified owned collectors. After an owner crash a live
|
|
44
|
-
recovered macOS PID may be unverified: wait for its kernel deadline, inspect retained
|
|
45
|
-
records and do not replay an execution blindly. Observed exit after loss means an unknown
|
|
46
|
-
result, not a completed snapshot. Init files are disabled; no arbitrary debugger script
|
|
47
|
-
or expression evaluation is exposed by this facade.
|
|
48
|
-
|
|
49
|
-
Generated `lldb inspect --help` owns exact syntax. No Ghidra session or merge is required;
|
|
50
|
-
these are runtime observations to corroborate static research.
|
|
11
|
+
Generated `--help` is the syntax authority: `insight-cli --help`, then `--help` on any group or command.
|
|
12
|
+
Detailed agent documentation is being rewritten (#165); until then rely on generated help and JSON results.
|
|
@@ -3,50 +3,10 @@ name: insight-llvm
|
|
|
3
3
|
description: Inspect PE, ELF and Mach-O headers, dependencies, exports and symbols; query PDB debug information or a small instruction window with insight-cli LLVM utilities before opening a full analysis project.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight LLVM 0.
|
|
6
|
+
# Insight LLVM 0.9.1
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
Commands: `insight-cli llvm --help`. `insight-cli tools show llvm --json`
|
|
9
|
+
lists tasks, inputs, platforms and readiness.
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
control flow, decompilation or persistent annotations.
|
|
14
|
-
|
|
15
|
-
1. `insight-cli llvm status --json` checks readiness. `llvm install` prepares the pinned
|
|
16
|
-
four-utility bundle from our GitHub Release; `--archive` and `--offline` support local
|
|
17
|
-
installation. Managed LLVM 23.1.3 requires macOS 14+ ARM64. `--executable` selects an
|
|
18
|
-
external llvm-readobj with compatible llvm-nm, llvm-objdump and llvm-pdbutil siblings.
|
|
19
|
-
The whole known external family is fingerprinted; uninstall preserves external files.
|
|
20
|
-
2. Use `llvm headers INPUT`, `sections`, `imports`, `exports` or `symbols` for focused
|
|
21
|
-
inventories. Reuse `--target` instead of INPUT for the same immutable bytes. Stripped
|
|
22
|
-
images can have no ordinary symbols; that does not prove there are no functions.
|
|
23
|
-
`symbols` includes local/static definitions; these are not automatically exported APIs.
|
|
24
|
-
For ELF, `exports` uses the dynamic symbol table while `symbols` uses ordinary symbols.
|
|
25
|
-
3. For a supplied PDB, start with `llvm pdb FILE --view summary` and `--view modules`.
|
|
26
|
-
Use `--view globals --symbol NAME` for a named global, `--view publics` for public
|
|
27
|
-
addresses, or `--view symbols --module INDEX` for procedure/local records. `--view types`
|
|
28
|
-
gives statistics until `--type-index 0xINDEX` selects a particular record. PDB symbol
|
|
29
|
-
addresses are section:offset pairs: combine the corresponding image section RVA and
|
|
30
|
-
image base from headers/sections; they are not file offsets. In pdbutil these padded
|
|
31
|
-
section:offset numbers are decimal (an explicit `0x` elsewhere means hexadecimal).
|
|
32
|
-
4. `llvm disassemble IMAGE --address 0xVIRTUAL_ADDRESS --bytes 128` returns a bounded
|
|
33
|
-
instruction interval. Distinguish static virtual addresses, RVAs and file offsets;
|
|
34
|
-
runtime load bias is not established by these static commands. If the instructions load
|
|
35
|
-
constants from a section, use `llvm section-data IMAGE --section NAME` and the section
|
|
36
|
-
address/endianness to inspect their actual values. The complete section must fit the
|
|
37
|
-
4-MiB native-output bound; oversized sections fail explicitly and need another focused
|
|
38
|
-
binary-reading tool rather than an assumed complete result.
|
|
39
|
-
5. Keep useful output in the project's format. Text views page with `--limit`/`--offset`;
|
|
40
|
-
`--filter` selects matching native lines and can omit surrounding context. `--output`
|
|
41
|
-
writes full bounded native text to a new file, creating missing parent directories.
|
|
42
|
-
Use focused PDB/module/type queries instead of asking for every symbol or instruction.
|
|
43
|
-
|
|
44
|
-
The four upstream executables supply native text inside our JSON envelope. In particular,
|
|
45
|
-
upstream readobj JSON output is not treated as a reliable structured COFF contract. ELF
|
|
46
|
-
imports show needed libraries and undefined dynamic symbols; Mach-O imports show dylibs and
|
|
47
|
-
undefined symbols. This is static linkage evidence, not proof of observed runtime calls.
|
|
48
|
-
|
|
49
|
-
These calls need Update permission to capture input and run tools. Generated `--help` owns
|
|
50
|
-
exact syntax. `tools processes --tool llvm --all` and `show <id>` retain execution diagnostics;
|
|
51
|
-
failed/limited output is not a complete inventory. Save completed ordinary files through
|
|
52
|
-
`artifacts save` when a checkpoint is useful.
|
|
11
|
+
Generated `--help` is the syntax authority: `insight-cli --help`, then `--help` on any group or command.
|
|
12
|
+
Detailed agent documentation is being rewritten (#165); until then rely on generated help and JSON results.
|
|
@@ -3,37 +3,10 @@ name: insight-managed-heap
|
|
|
3
3
|
description: Query structured .NET heap objects, primitive fields and managed stacks from a retained CoreCLR dump through insight-cli dotnet-dump query. Use for bounded offline dump investigation with an explicit matching DAC, preserving uncertainty and immutable input identity.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# Insight Managed Heap 0.
|
|
6
|
+
# Insight Managed Heap 0.9.1
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
Commands: `insight-cli dotnet-dump --help`. `insight-cli tools show managed-heap --json`
|
|
9
|
+
lists tasks, inputs, platforms and readiness.
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
process, evaluates target expressions or downloads symbols/dependencies.
|
|
14
|
-
|
|
15
|
-
1. Use `dotnet-dump status` and `dotnet-dump install` for the existing private .NET runtime.
|
|
16
|
-
No compiler/SDK is needed. Native acceptance is macOS ARM64 CoreCLR only.
|
|
17
|
-
2. `dotnet-dump query worker.dmp --json` identifies the dump architecture, CLR runtime and
|
|
18
|
-
heap availability. The managed default DAC is 10.0.13. A different runtime needs an
|
|
19
|
-
explicitly trusted matching `--dac-file /runtime/libmscordaccore.dylib`; matching OS,
|
|
20
|
-
architecture and runtime are required. An external diagnostics selection also needs
|
|
21
|
-
`--dotnet-host /runtime/dotnet`. Mismatch fails; it is never silently ignored.
|
|
22
|
-
3. `dotnet-dump query --target TARGET --view objects --type Exact.Type --json` lists object
|
|
23
|
-
addresses and sizes. Heap/Full dumps are normally needed. `--max-objects` bounds scanning;
|
|
24
|
-
a reached bound means partial prefix coverage, never proof that a type is absent.
|
|
25
|
-
4. Drill down with `--view object --address 0xADDRESS --type Exact.Type`. Addresses belong
|
|
26
|
-
only to that exact dump. Primitive fields and up to 256 string characters are returned;
|
|
27
|
-
reference fields supply an address for another explicit query. Structs, unreadable
|
|
28
|
-
memory and unsupported field values remain unavailable, without expression evaluation.
|
|
29
|
-
64-bit numeric values and pointers are strings to preserve precision.
|
|
30
|
-
5. `--view stacks` returns managed frames; `--thread OS_THREAD_ID` focuses one dump thread.
|
|
31
|
-
Each selected stack is bounded to 128 frames. A dump is a snapshot, not proof that a
|
|
32
|
-
frame is still executing or consuming CPU. Missing code/symbols can leave methods unknown.
|
|
33
|
-
6. `--limit`/`--offset` page objects, fields or threads. `--output research/query.json` saves
|
|
34
|
-
this bounded result to a new ordinary JSON file; preserve partial flags in project notes.
|
|
35
|
-
Checkpoint selected evidence with `artifacts save` when useful. Removing the diagnostics
|
|
36
|
-
runtime preserves immutable dump inputs and saved research.
|
|
37
|
-
|
|
38
|
-
Generated `dotnet-dump query --help` owns options. Existing `analyze --command` remains useful
|
|
39
|
-
for focused native SOS text, but SOS output errors are not successful object findings.
|
|
11
|
+
Generated `--help` is the syntax authority: `insight-cli --help`, then `--help` on any group or command.
|
|
12
|
+
Detailed agent documentation is being rewritten (#165); until then rely on generated help and JSON results.
|