News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

ABSOLUTELY SHOCKED

Started by baltoro, October 23, 2008, 09:04:29 PM

Previous topic - Next topic

baltoro

I recently downloaded the MASM32 SDK version 10 package and installed it on my computer.
I was exploring the Q Editor interface, and noticed that it had a "Disassemble EXE" command. And, I couldn't find ANYTHING in the documentation about it. So, I tried it, and, incredibly, it produces a text file that completely describes all the header file information, walks the various section tables, producing  a vast collection of useful data,...then listing all the functions and components included in the Import, Export, and Resource Tables,...and, then listing what appears to be a complete disassembly of the selected and loaded executable.
IS THIS A COOL FEATURE. OR WHAT?
Baltoro

woonsan

That is right, but, SINCERELY, I would rather prefer other ASMIDEs than the Q-Editor.

Vortex

Hi baltoro,

In the \masm32\bin folder, there is a tool named dumppe.exe The Disassemble EXE command launches this tool to create the listing.


Usage : DumpPE [options] <Win32 PE Portable Executable>

Options :       -quiet          Suppress copyright string
                -disasm         Rough disassembly
                -reloc          Display base relocations
                -checksum       Calculate Checksum
                -resource       Display resource section
                -nosym          Suppress symbolic output

Mark Jones

The QEditor is great for quick plays and small apps. For multiple-module, 1000+ line projects, I agree that a full-fledged IDE is helpful here. But QEditor is a great tool, and provides a quick and uncomplicated way to rapidly test and prototype code.
"To deny our impulses... foolish; to revel in them, chaos." MCJ 2003.08

hutch--

 :bg

You can thank Clive Turvey for DumpPE, its an elegant, simple tool that packs a massive amount of useful information in its output.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

travism

So what is a good ide then? My projects are getting bigge rand bigger so it would be nice to have a full fledged one :)

Farabi

Quote from: travism on October 24, 2008, 11:07:09 PM
So what is a good ide then? My projects are getting bigge rand bigger so it would be nice to have a full fledged one :)
RadAsm is a good one.
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

travism

Quote from: Farabi on October 25, 2008, 12:59:53 AM
Quote from: travism on October 24, 2008, 11:07:09 PM
So what is a good ide then? My projects are getting bigge rand bigger so it would be nice to have a full fledged one :)
RadAsm is a good one.

Too complicated to figure out how to get asm working with that thing, i downloaded the addins too and it still just wants htm/html crap.. unless im just a dumb blonde :)-

hutch--

travis,

you can try and get an IDE to do it for you OR you can lay out the architecture of your application, I opt for the second, you can then build it with a batch file, NMAKE or call it from a properly set up IDE but better to be in control of your application's architecture than learn nothing by relying on something you do not fully control.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

ecube

radasm is real nice once you get everything setup, the author does need to simplify it, no reason to make it as annoying as it is. My favorite thing about radasm besides function completion is it shows the procedure names on the side just like a ide for C++ so you can double click to jump to that place in the code.

Vortex

Hi travism,

If you are looking for an IDE, you can try WinAsm Studio

ecube

I dont like the fact they force you to signup to get winasm. :\

Bill Cravener

For many many years I've used the best IDE out there, Notepad!  :bg
My MASM32 Examples.

"Prejudice does not arise from low intelligence it arises from conservative ideals to which people of low intelligence are drawn." ~ Isaidthat

baltoro

Well, anyway,...
I'm impressed. And, thanks, Vortex, for the suggestion about command line usage,...I'm embarrassed to admit that I hadn't even noticed DumpPE in the bin folder. and, yes, it produces an enormous amount of useful information.
Weirdly, I was working on a similar type application, and, well, being a novice, I'd made a number of ridiculous errors, which I noticed immediately on comparing my output text with Clive Turvey's DumpPE analysis. But, I hadn't even attempted a disassembly, yet.
Baltoro

woonsan

How about GVIM?
Notepad is also one of my good friend.