Skip to content

FEAT: output IDAPython sidecar that names Red/System functions in IDA#5750

Open
qtxie wants to merge 1 commit into
masterfrom
ida
Open

FEAT: output IDAPython sidecar that names Red/System functions in IDA#5750
qtxie wants to merge 1 commit into
masterfrom
ida

Conversation

@qtxie

@qtxie qtxie commented May 31, 2026

Copy link
Copy Markdown
Contributor

Added --emit-ida-script option

Usage: rebol.exe -s red.r -r --emit-ida-script -o tmp/console.exe .\environment\console\CLI\console.red

It will generate console.exe and console.ida.py. We can load script file console.ida.py in IDA after open the console.exe.

{FB02B10E-5414-467C-A546-4EAA4F3A7DE6}

Comment thread system/rsc.r
"--no-runtime" (opts/runtime?: no) ;@@ overridable by config!
| ["-g" | "--debug-stabs"] (opts/debug?: yes) ;@@ overridable by config!
| ["-l" | "--literal-pool"] (opts/literal-pool?: yes)
| "--emit-ida-script" (opts/emit-ida-script?: yes)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move that line above, just after "--no-runtime" option, so that long-only options stay grouped together.

@dockimbel

Copy link
Copy Markdown
Member

Please put all the Python and IDA related code in a separate file in system/utils/, not in the linker.r file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants