📚 OpenRCE is preserved as a read-only archive. Launched at RECon Montreal in 2005. Registration and posting are disabled.








Flag: Tornado! Hurricane!

 Forums >>  IDA Pro  >>  Type Casting Structures in IDA Pro using PDB Symbols

Topic created on: May 7, 2012 18:49 CDT by KernelNinja .

I am loading a Windows process memory dump in IDAPro 6.1. IDA is able to pull down symbols from MS public symbol server, so symbols work fine. How do I get IDA to display the module header as a IMAGE_DOS_HEADER structure i.e. equivalent to the WinDBG command "dt <ModuleBase> ntdll!_IAMGE_DOS_HEAER"

  NirIzr     May 8, 2012 04:51.58 CDT
sorry, repost accident :-)

  NirIzr     May 8, 2012 04:53.40 CDT
you can us the IDA ctrl + q shortcut to apply defined structures to memory areas. but you will have to add the structure first. go to the structures window hit insert and than hit the add standard structure button to the structure you need.

  KernelNinja   May 9, 2012 14:25.17 CDT
Thanks Nirlzr, another followup question :
I understand that IDA can parse C header files and you can manually specify structures. But how do I get IDA to import structures from Microsoft PDB files like ntdll.dll, which does contain structure type information.

  KernelNinja   May 10, 2012 01:48.03 CDT
For the benefit of the community I have written up a small tutorial on how to perform structure typecasting in IDA. http://sites.google.com/site/ninjakernel. Hope this helps :-)

  NirIzr     May 10, 2012 02:38.33 CDT
most of these structures are already defined for you, when you open the create structure dialog you can see a create standard structure button. hit that button and select the structure you need.

Note: Registration is required to post to the forums.

There are 31,328 total registered users.


Recently Created Topics
[help] Unpacking VMP...
Mar/12
Reverse Engineering ...
Jul/06
let 'IDAPython' impo...
Sep/24
set 'IDAPython' as t...
Sep/24
GuessType return une...
Sep/20
About retrieving the...
Sep/07
How to find specific...
Aug/15
How to get data depe...
Jul/07
Identify RVA data in...
May/06
Question about memor...
Dec/12


Recent Forum Posts
Finding the procedur...
rolEYder
Question about debbu...
rolEYder
Identify RVA data in...
sohlow
let 'IDAPython' impo...
sohlow
How to find specific...
hackgreti
Problem with ollydbg
sh3dow
How can I write olly...
sh3dow
New LoadMAP plugin v...
mefisto...
Intel pin in loaded ...
djnemo
OOP_RE tool available?
Bl4ckm4n


Recent Blog Entries
halsten
Mar/14
Breaking IonCUBE VM

oleavr
Oct/24
Anatomy of a code tracer

hasherezade
Sep/24
IAT Patcher - new tool for ...

oleavr
Aug/27
CryptoShark: code tracer ba...

oleavr
Jun/25
Build a debugger in 5 minutes

More ...


Recent Blog Comments
nieo on:
Mar/22
IAT Patcher - new tool for ...

djnemo on:
Nov/17
Kernel debugger vs user mod...

acel on:
Nov/14
Kernel debugger vs user mod...

pedram on:
Dec/21
frida.github.io: scriptable...

capadleman on:
Jun/19
Using NtCreateThreadEx for ...

More ...


Imagery
SoySauce Blueprint
Jun 6, 2008

[+] expand

View Gallery (11) / Submit