Flag: Tornado! Hurricane!

 Forums >>  Debuggers  >>  WinDbg - code off?

Topic created on: May 28, 2008 17:01 CDT by Nadya .

Hi
I have recently switch to WinDbg for debugging x64 applications and one thing gets on my nerves that is printing opcodes in dissasembler. How to switch it off? is it possible? In SoftIce I just typed code on/off:(
thanks in advance

  anonymouse     May 29, 2008 23:56.52 CDT
.prompt_allow -dis will disable printing of disassembly
.prompt_allow +dis will enable printing of disassembly

.prompt_allow can disable and enable the following displays too

+/- reg
+/- sym
+/- ea
+/- src
and as stated above
+/- dis

edit

i re read your question and i think you want disassembly but do not want opcodes

if that is the case

.prompt_allow +dis

.asm no_code_bytes

should do the trick



0:000> .asm no_code_bytes
Assembly options: no_code_bytes
0:000> t
7c923d32 cmp     byte ptr [ebp+0Ch],0
0:000> t
7c923d36 jne     ntdll!LdrQueryApplicationCompatibilityGoo+0x54 (7c93e11c)

  Nadya   May 30, 2008 03:15.09 CDT
Thank you very much! it's exactly what I was looking for!

Note: Registration is required to post to the forums.

Active in Last 5 Minutes
timtoady

There are 21,677 total registered users.


Recently Created Topics
PyEmu error when cal...
Sep/02
Restore Themida/Winl...
Sep/02
Anti-olly technique
Aug/30
RAR Password
Aug/29
Heap protection on W...
Aug/23
Why Inline asm in C+...
Aug/20
Bypassing OllyAdvance
Aug/17
Error in logic for g...
Aug/17
Has anyone seen this...
Aug/17
ARM Executable - Pat...
Aug/16


Recent Forum Posts
reverse engineering ...
raiden56
pydbg, memory breakp...
Researc...
RAR Password
Ineedhelp
RAR Password
cod
Heap protection on W...
voila
Heap protection on W...
j00ru
Heap protection on W...
voila
Heap protection on W...
j00ru
Heap protection on W...
psylocn
Why Inline asm in C+...
ronnie2...


Recent Blog Entries
meshmesh
Sep/01
Is it legal??

waleedassar
Aug/30
Anti-olly technique

QvasiModo
Aug/24
WinAppDbg 1.4 is out!

artemblagodarenko
Aug/18
Dataflow-0.2.0 released. Ne...

grzonu
Aug/17
Bypassing OllyAdvanced

More ...


Recent Blog Comments
tosanjay on:
Sep/02
PyEmu 0.0.2

GynvaelColdwind on:
Sep/01
Is it legal??

PeterFerrie on:
Aug/31
Anti-olly technique

dennis on:
Aug/26
Dr. Gadget IDAPython plugin

halsten on:
Aug/19
Dataflow-0.2.0 released. Ne...

More ...


Imagery
SoySauce Blueprint
Jun 6, 2008

[+] expand

View Gallery (11) / Submit