diff options
| author | blasty <blasty@local> | 2026-07-10 11:55:33 +0200 |
|---|---|---|
| committer | blasty <blasty@local> | 2026-07-10 11:55:33 +0200 |
| commit | 25590831d851e9e8ab8ff15b4122e01dfafd6d58 (patch) | |
| tree | 9f26bc179bd407e94217865c13219ba9d7a0c33e /docs | |
| parent | struct editor: C-style CRUD for local types (Ctrl+T) (diff) | |
| download | ida-tui-25590831d851e9e8ab8ff15b4122e01dfafd6d58.tar.gz ida-tui-25590831d851e9e8ab8ff15b4122e01dfafd6d58.tar.xz ida-tui-25590831d851e9e8ab8ff15b4122e01dfafd6d58.zip | |
server: inject a del_type tool into ida-pro-mcp (enables struct delete)
ida-pro-mcp has no delete-type tool, so struct-editor delete couldn't work. We
don't vendor/fork the server; instead server/patch_server.py idempotently appends
a del_type @tool to the installed ida_pro_mcp/ida_mcp/api_types.py, which every
worker (python -m ida_pro_mcp.idalib_server) imports -> it self-registers on the
shared MCP_SERVER. spawn.sh runs the patch before launching, so it's re-applied
on each start (survives reinstalls) and tracked in-repo instead of hand-editing
site-packages.
del_type calls ida_typeinf.del_named_type(get_idati(), name, NTF_TYPE). After a
supervisor restart, Program.delete_type() now succeeds; the struct editor's Del
removes the type and the list refreshes. Verified end-to-end; pilot 84/84.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
