Pseudocode
The options below appear when the Edit menu is opened from the Pseudocode View. In other views, the menu adapts dynamically and may show a different set of options.
Below is an overview of all actions that can be accessed from this menu.
Anchor
Begin selection. Some IDA commands such as selecting a portion of file to output or specifying a segment to move need an anchor.
UndoAction
This command reverts the database to the state before executing the last user action.
Edit func comment...
hx:EditCmt
Add pseudocode comments...
hx:AddPseudoCmt
Delete pseudocode comments...
hx:DelPseudoCmt
Edit block comment...
mv:EditBlockCmt
Edit comment...
mv:EditCmt
EditSegment
Edit segment attributes. This command opens the Change segment attributes dialog.
ZeroStructOffset
Toggle display of the first field of a structure in an offset expression.
CreateStructFromData
This command defines a new structure from data already defined. The new structure is created with adequate data types, and each member uses the current data name if it is available.
CopyFieldsToPointers
Copy field info to pointed addresses. This command scans the current struct variable and renames the locations pointed by offset expressions unless they already have a non-dummy name.
EditFunction
Edit function attributes - change function properties, including bounds, name, flags, and stack frame parameters. This command opens an Edit Function dialog, and allows you to modify function characteristics and stack frame structure. If the current address does not belong to any function, IDA will beep.
AppendFunctionTail
This command appends an arbitrary range of the program to a function definition. A range must be selected before applying this command. This range must not intersect with other function chunks (however, an existing tail can be added to multiple functions).
DelFunction
Delete function. Deleting a function deletes only information about a function, such as information about stack variables, comments, function type, etc. The instructions composing the function will remain intact.
MoveFunctionToFolder
This is the listing-specific version of the tree view's similar operation, and lets you conveniently organize your database directly from IDA View-*, Pseudocode-* and Microcode-* widgets, without having to go through the "Functions" widget.
FunctionEnd
Change the function end address. This command changes the current or previous function bounds so that its end will be set at the cursor. If it is not possible, IDA beeps.
ChangeStackPointer
Change stack pointer. This command allows you to specify how the stack pointer (SP) is modified by the current instruction.
Assemble
This command allows you to assemble instructions. Currently, only the IBM PC processors provide an assembler, nonetheless, plugin writers can extend or totally replace the built-in assembler by writing their own.
PatchedBytes
Open the Patched bytes window. The Patched bytes view shows the list of the patched locations in the database. It also allows you to revert modifications selectively.
ApplyPatches
Apply previously patched bytes back to the input file. If the "Restore" option is selected, then the original bytes will be applied to the input file.
Specify switch idiom...
uiswitch:SpecSwitchIdiom
ColorInstruction
This command allows you to specify the background color for the current instruction or data item.
Reset decompiler information...
hx:ResTypeInfo
Toggle skippable instructions...
hx:ToggleSkippableInsn
Decompile as call...
hx:UserDefinedCall
detect and parse golang metadata
golang:detect_and_parse
Open picture in default viewer
picture_search:open_in_viewer
Save picture
picture_search:save_picture
Last updated
Was this helpful?
