Workspace & layouts
The workspace opens when a program is loaded. It has a function list on the left, the views in the middle and the Inspector on the right.
The window
Section titled “The window”| Part | What it does |
|---|---|
| Rail | The bar on the far left: Home, Workspace, Search (Ctrl+K), Agents, Agent chat (Ctrl+J), Terminal (Ctrl+`), Plugins and Settings (Ctrl+,). |
| Top bar | Back and Forward, the program and current function, and Search. |
| Functions | Every function in address order. Filter by name or address narrows the list. The footer counts named and shown functions. |
| View tabs | Overview, Code, Assembly, Bytes, Strings, Graph and Debug. See Code views. |
| Inspector | Details about the selected function and the program’s change history. |
| Status bar | Ready, or the current task, and the program’s language ID, such as x86:LE:64:default. |
When a project holds more than one program, a Program menu appears beside the view tabs.
Layouts
Section titled “Layouts”The welcome screen asks you to choose a starting layout. Change it any time under Settings → Workspace layout.
| Layout | Arrangement |
|---|---|
| Explore | Functions on the left, code in the middle. |
| Analyst | Adds details, references and history on the right. |
| Focus | Just the code. Jump anywhere with Ctrl+K. |
| Review | Code with details and history, for checking changes. |
Change anything and the layout becomes Your own (Custom). In Settings you can turn the Function list and Details panel on or off, use Compact rows, and set Code size from 11 to 18 px.
In the workspace, the buttons at each end of the view tabs show or hide the function list and the Inspector.
Resize panels
Section titled “Resize panels”Drag the edge between the function list and the views, or between the views and the Inspector. Panels resize between 200 and 480 px (240 px minimum for the Inspector). Opcodex remembers the widths.
Navigate
Section titled “Navigate”- Select a function in the list, a call in Code, or a reference in the Inspector to go to it.
- Back and Forward in the top bar (Alt+← and Alt+→) move through where you have been.
- Alt+1 to Alt+7 switch between the seven views.
Search and commands
Section titled “Search and commands”Press Ctrl+K, or select Search in the top bar, to open the command palette. Type two or more characters to jump to a function by name. The palette also lists the views and these actions: Open a program…, Open a project…, Go home, Themes and layout and Agents: connect apps and permissions. Press Esc to close it.
The Inspector
Section titled “The Inspector”With a function selected, the Inspector shows:
- Function: the signature, entry address, size, and the number of callers and calls. The pencil renames the function.
- Calls: functions it calls. Select one to go to it.
- Referenced from: addresses that refer to it, with the reference type.
- History: changes to the program by you, the command line and agents, newest first. Revert this change undoes a rename or comment.
See Approval policy & history for how history works.
Plugins and scripts
Section titled “Plugins and scripts”Select Plugins on the rail to manage plugins and run scripts. Plugins run with your permissions: install only plugins from people you trust.
Plugins
Section titled “Plugins”A plugin is a folder, or a .zip that holds one, with an opcodex-plugin.json manifest:
{ "id": "my-plugin", "name": "My plugin", "version": "1.0.0", "description": "What it adds.", "author": "You"}id, name and version are required. The id uses lower-case letters, digits and dashes, and must match the folder name. A plugin can also contain:
lib/*.jar: engine operations, provided through the engine’sOperationProviderservice. After the engine restarts they are available in the app, the CLI, MCP and the agent chat.scripts/*.java: Java scripts (GhidraScripts).themes/*.json: Opcodex theme files. They appear in Settings → Theme under From plugins.
Under Installed, use Install from folder… or Install from .zip…. Opcodex copies the plugin to %APPDATA%\Opcodex\plugins\<id>. It refuses a .zip with unsafe paths. Each plugin has a switch to turn it on or off, and a Remove button that deletes its files. Open plugins folder opens the folder in Explorer. When operations change, a banner offers Restart engine.
Scripts
Section titled “Scripts”Scripts lists your own Java scripts, from %APPDATA%\Opcodex\scripts, and the scripts of enabled plugins. Add a script… copies a .java file into your scripts folder; Open scripts folder opens it.
Select Run to run a script on the open program at the current address. Its output appears below the list. A script runs as one change, recorded in history as Ran script followed by the file name, so you can revert it in one step. If the script fails, nothing is changed.
Python scripts need PyGhidra and aren’t supported yet.
Open files
Section titled “Open files”Drag a program or a .gpr project onto the window to open it. Home also lists recent projects.
Continue with Code views.