2

Where does newly created structure go to from Pseudocode window? I'm referring to structure that you create via right-click on variable and choosing "Create new struct type".

I don't see new structure in View / Open Subviews / Structures but I'd like to modify it afterwards.

enter image description here

I'm using IDA Pro 6.5

2

The created types get added to the Local Types list (View->Open subviews->Local types, or Shift-F1). To jump directly to the specific type, choose "Jump to local type..." from the context menu on a variable of that type.

You can import any structure from Local Types to the Structures list by double-clicking it or selecting "Syncronize to idb" from the context menu.

Additionally, the structure gets imported automatically if you select "Jump to structure definition" (Z) on any of its fields in the pseudocode.

1
  • Thank you! I have loosely related question. After I deleted local type my Decompiled got botched and I'm no longer able to use it (i.snag.gy/40Teb.jpg). How can I fix it ? – expert Dec 7 '14 at 21:34
1

Press Ins in the Structures view, press the Add standard structure button, and you'll find in that list the struct you created via the Pseudocode view, which you can then double-click to add it to the list of structures in the Structures view.

Unintuitive, I know; it would be nice for it to automatically get added to the list of structures in the Structures view.

2
  • 2
    Seriously? You don't just use Local Types? – Igor Skochinsky Dec 7 '14 at 20:47
  • Oh yeah, looks like that would work too :) – Jason Geffner Dec 7 '14 at 21:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.