Pseudocode

circle-info

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.

UI Action Name
Action Name
Description

EditCopy

Copy

Anchor

Begin selection. Some IDA commands such as selecting a portion of file to output or specifying a segment to move need an anchor.

SelectAll

Select all

SelectIdentifier

Select identifier

UndoAction

This command reverts the database to the state before executing the last user action.

RedoAction

This command reverts the previously issued Undo command.

ExportData

Export data

MakeCode

Convert to instruction.

MakeData

Convert to data.

DeclareStructVar

Declare a structure variable.

MakeStrlit

Convert to string.

StringC

C-style (0 terminated)

StringDOS

DOS style ($ terminated)

StringPascal1

Pascal style (1 byte length)

StringPascal2

Wide pascal (2 byte length)

StringDelphi

Delphi (4 byte length)

StringUnicode

Unicode

StringUnicodePascal2

Unicode pascal (2 byte length)

StringUnicodePascal4

Unicode wide pascal (4 byte length)

MakeArray

Convert to array.

MakeUnknown

Convert to undefined.

MakeName

Rename the current location.

OpOffset

Convert the current operand to an offset in the data segment.

OpOffsetCs

Convert the current operand to an offset in the current segment.

OpAnyOffset

Convert the current operand to an offset in any segment.

OpUserOffset

Convert the current operand to an offset with any base.

OpStructOffset

Convert the current operand to a structure offset.

OpNumber

Convert the current operand to a number.

OpHex

Convert the current operand to a hexadecimal number.

OpDecimal

Convert the current operand to a decimal number.

OpOctal

Convert the current operand to a octal number.

OpBinary

Convert the current operand to a binary number.

OpFloat

Convert to floating point.

ToggleLeadingZeroes

Toggle leading zeroes.

OpChar

Convert the current operand to a character constant

OpSegment

Convert the current operand to a segment base

OpEnum

Convert the current operand to a symbolic constant

OpStackVariable

Convert the current operand to a stack variable

ChangeSign

Change the sign of the current operand

BitwiseNegate

Perform bitwise negation of the current operand

ManualOperand

Enter the current operand manually.

SetOpType

Set the current operand's type

Edit func comment...

hx:EditCmt

Add pseudocode comments...

hx:AddPseudoCmt

Delete pseudocode comments...

hx:DelPseudoCmt

MakeComment

Enter a regular comment.

MakeRptCmt

Enter repeatable comment.

MakeExtraLineA

Enter lines preceding the generated lines.

MakeExtraLineB

Enter lines following the generated lines

Edit block comment...

mv:EditBlockCmt

Edit comment...

mv:EditCmt

CreateSegment

This command allows you to create a new segment.

EditSegment

Edit segment attributes. This command opens the Change segment attributes dialog.

KillSegment

Delete segment.

MoveSegment

Change the current segment boundaries.

RebaseProgram

Rebase program.

SegmentTranslation

Change the current segment translation table

SetSegmentRegister

Change segment register value.

SetSegmentRegisterDefault

Set default segment register value.

DeclareStructVar

Declare a structure variable.

ZeroStructOffset

Toggle display of the first field of a structure in an offset expression.

SelectUnionMember

Choose the representation of a union member.

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.

MakeFunction

Create a new function in the disassembly.

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).

RemoveFunctionTail

Remove function tail.

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.

OpenStackVariables

Open the stack variables window. See subviews for more.

ChangeStackPointer

Change stack pointer. This command allows you to specify how the stack pointer (SP) is modified by the current instruction.

RenameRegister

Rename a general processor register.

SetType

Set type information for an item or current function.

PatchByte

Change program bytes.

PatchWord

Change program words

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

MakeAlignment

Create alignment directive.

ManualInstruction

Specify alternate representation of the current instruction.

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

ToggleBorder

Toggle the display of a border between code and data.

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

QuickRunPlugins

Quickly run a plugin

Last updated

Was this helpful?