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.
| Tab | Shortcut | Shows |
|---|---|---|
| Code | Alt+2 | The selected function decompiled to C |
| Assembly | Alt+3 | Its instructions: address, bytes, mnemonic, operands |
| Bytes | Alt+4 | A hex dump starting at the function |
| Strings | Alt+5 | Every defined string in the program |
| Graph | Alt+6 | The function’s blocks, or its callers and callees |
| Debug | Alt+7 | The emulated debugger |
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
Section titled “Assembly”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
Section titled “Strings”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
Section titled “Comments”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.
Change names
Section titled “Change names”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.