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
Invisible

There are 16,646 total registered users.


Recently Created Topics
SSL keyfindert plugi...
Mar/15
ApiHooks.com down
Mar/15
how to crate a PATC...
Mar/10
wsnpoem audio.dll
Mar/09
suggestions - RE tra...
Mar/09
Requesting Suggestio...
Mar/06
Force enable debug p...
Mar/05
upgrading new image ...
Mar/03
upgrading new image ...
Mar/03
upgrading new image ...
Mar/03


Recent Forum Posts
suggestions - RE tra...
enm16
wsnpoem audio.dll
zhane
suggestions - RE tra...
Silkut
how to crate a PATC...
Silkut
suggestions - RE tra...
RolfRolles
wsnpoem audio.dll
debbie
Requesting Suggestio...
secursig
Requesting Suggestio...
phn1x
how to get executabl...
RabidCi...
how to get executabl...
RabidCi...


Recent Blog Entries
RolfRolles
Mar/08
Compiler Optimizations for ...

ReWolf
Mar/04
When memory management goes...

thesprawler
Feb/20
log1949.txt -- Wondering ho...

thesprawler
Feb/20
log1949.log -- created on C...

thesprawler
Feb/17
Trying to reverse the firmw...

More ...


Recent Blog Comments
Boken on:
Mar/12
Compiler Optimizations for ...

wildinto on:
Mar/10
Compiler Optimizations for ...

Orr on:
Mar/10
Compiler Optimizations for ...

bughoho on:
Mar/09
Compiler Optimizations for ...

cliffwolf on:
Mar/08
Compiler Optimizations for ...

More ...


Imagery
SoySauce Blueprint
Jun 6, 2008

[+] expand

View Gallery (11) / Submit