Skip to content

Code views

The workspace has seven views: Overview, Code, Assembly, Bytes, Strings, Graph and Debug. Overview is described in Triage overview, Graph in Graph and Debug in Debugger. This page covers the other four.

TabShortcutShows
CodeAlt+2The selected function decompiled to C
AssemblyAlt+3Its instructions: address, bytes, mnemonic, operands
BytesAlt+4A hex dump starting at the function
StringsAlt+5Every defined string in the program
GraphAlt+6The function’s blocks, or its callers and callees
DebugAlt+7The emulated debugger
The Code view showing a tar.exe function decompiled to C

Code decompiles the function containing the current address to C. Pick a function on the left to start. Select a call to follow it; Back returns you.

Settings → Code controls Line numbers and Wrap long lines. Code size under Workspace layout sets the font size.

Decompiled C is a reading aid. Names such as FUN_140001030 are placeholders for functions without symbols. Check important conclusions in Assembly, or follow the branches in Graph.

Assembly lists instructions from the function’s entry: address, instruction bytes, mnemonic and operands. The entry instruction is highlighted.

Bytes shows up to 4 KiB of initialized memory from the current address, 16 bytes per row, with a text column. Zero bytes are dimmed. Reading stops at the end of a memory block.

Strings lists the program’s defined strings with their address and encoding. Search strings filters the list. Select a string to open the code that uses it: Opcodex follows the first reference from inside a function and opens it in Code. If nothing in the program’s code refers to the string, a note says so.

Comments show wherever the code does. In Assembly, Graph and Debug, a comment follows its instruction after ; . In Code, pre comments and end-of-line comments appear in the decompiled C.

Rename a function from the Inspector: select the pencil next to Function, type the name and save. Renames are recorded in history and can be reverted. Comments can be set through the CLI, the agent chat or an agent with comment.set; they are recorded the same way.

Continue with Triage overview.