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
Wannabe

There are 15,865 total registered users.


Recently Created Topics
Career: Technical Pr...
Feb/04
Help needed with: ge...
Feb/04
A question regarding...
Feb/01
Compiler infector an...
Jan/29
Yahoo autoupdater vi...
Jan/27
Solidshield VM Analyse
Jan/27
Tuto about unpacking...
Jan/25
IDA Pro plugins don'...
Jan/20
Bug -- proc_peek_rec...
Jan/17
SYSTEM_INFORMATION_C...
Jan/16


Recent Forum Posts
IDA Pro plugins don'...
Cluster
RECON
hugo
A question regarding...
ronnie2...
A question regarding...
lallous
A question regarding...
detlef
RECON
hugo
Tuto about unpacking...
jumpzero
Yahoo autoupdater vi...
invisghost
Kindle for PC DRM
clarknova
Stack tracing with I...
Hanumaan


Recent Blog Entries
mjobin
Feb/08
Malware Research Analyst Op...

lin0xx
Feb/04
User-supplied Array Index E...

cyphunk
Feb/03
JTAG Enumeration (tool)

dragula
Jan/29
Reversing compiler infector...

GynvaelColdwind
Jan/26
The tale of Syndicate Wars ...

More ...


Recent Blog Comments
cyphunk on:
Feb/03
JTAG Enumeration (tool)

GynvaelColdwind on:
Feb/03
JTAG Enumeration (tool)

suirp on:
Feb/02
Administrator account VS. S...

DelightedZuk on:
Jan/31
GDT / LDT Windows Kernel Ex...

DelightedZuk on:
Jan/31
Administrator account VS. S...

More ...


Imagery
SoySauce Blueprint
Jun 6, 2008

[+] expand

View Gallery (11) / Submit