flat assembler
Message board for the users of flat assembler.

Index > Heap > Need good and free debugger, disassembler and hex editor

Goto page 1, 2  Next
Author
Thread Post new topic Reply to topic
OzzY



Joined: 19 Sep 2003
Posts: 1029
Location: Everywhere
OzzY
What are the best options?

For debugger I know OllyDbg is pretty good. What else?
Post 26 May 2009, 15:33
View user's profile Send private message Reply with quote
pal



Joined: 26 Aug 2008
Posts: 227
pal
Disassembler - OllyDbg or IDAPro.
Hex Editor - xvi32
Post 26 May 2009, 17:04
View user's profile Send private message Reply with quote
madmatt



Joined: 07 Oct 2003
Posts: 1045
Location: Michigan, USA
madmatt
Hello Ozzy,
For a Hex Editor you can try: HexEdit by http://www.mitec.cz/
Although I have this program, I haven't really used it much, so I can't give you any info on how good or no good it is.
Post 26 May 2009, 17:25
View user's profile Send private message Reply with quote
dosin



Joined: 24 Aug 2007
Posts: 337
dosin
This is what I use for hex reading - Works great on XP and Vista

http://mh-nexus.de/en/hxd/

I have been using it a lot for storage devel.. HD ect...

Its a good tool to have!
Post 26 May 2009, 18:44
View user's profile Send private message Reply with quote
jack2



Joined: 06 Jul 2008
Posts: 31
jack2
I am also interested in a disassembler though what I really like to have is line by line instant assembler so I can see the hex code generated.
Post 27 May 2009, 00:13
View user's profile Send private message Reply with quote
Borsuc



Joined: 29 Dec 2005
Posts: 2466
Location: Bucharest, Romania
Borsuc
Hex Editor -- Hxd definitely. Trust me, you won't be disappointed.
Post 27 May 2009, 02:15
View user's profile Send private message Reply with quote
pete



Joined: 20 Apr 2009
Posts: 110
pete
As debugger i use dbmon.exe from the MS Platform SDK; OllyDbg as Disassembler and debugger too; as Hex-Editor i use the texteditor i write my programs in: VIM (www.vim.org): there's sort of a plugin to display and edit files in hex-mode.
Post 27 May 2009, 07:03
View user's profile Send private message Reply with quote
macgub



Joined: 11 Jan 2006
Posts: 237
Location: Poland
macgub
http://sourceforge.net/projects/hexplorer/
Cool hex editor with simply disassembler.
Post 27 May 2009, 15:34
View user's profile Send private message Visit poster's website Reply with quote
bitRAKE



Joined: 21 Jul 2003
Posts: 2902
Location: [RSP+8*5]
bitRAKE
Here is the free download of IDAPro:
http://www.hex-rays.com/idapro/idadownfreeware.htm

It's the best whole program disassembler.
The newer versions can also be used to debug.

Debugging is done in OlyDBG or FDBG (64-bit).
(other's are featureless or overkill for me)

I switched to Hxd for hex editing and it's been great.
Post 27 May 2009, 15:55
View user's profile Send private message Visit poster's website Reply with quote
pal



Joined: 26 Aug 2008
Posts: 227
pal
Hxd looks really good, thanks for the link.

I found this tool which some people may be interested in:

Code:
http://www.darungrim.org/    


DarunGrim is a binary diffing tool. DarunGrim is a free diffing tool which provides binary diffing functionality.

Could be useful.
Post 27 May 2009, 16:15
View user's profile Send private message Reply with quote
OzzY



Joined: 19 Sep 2003
Posts: 1029
Location: Everywhere
OzzY
Wow! IDA is awesome!

I disassembled the hello example that comes in FASM package and here's the .ASM output:

Code:
          .686p
               .mmx
                .model flat

_text                segment para public 'CODE' use32
          assume cs:_text

             assume es:nothing, ss:nothing, ds:_text, fs:nothing, gs:nothing

             public start
start           proc near
           push    0
           call    sub_401016

aWin32Assembly        db 'Win32 Assembly',0
start                endp


sub_401016      proc near
           call    loc_401038

aHiIMTheExample       db 'Hi! I',27h,'m the example program!',0
sub_401016     endp

loc_401038:
         push    0
           call    ds:MessageBoxA
          push    0
           call    ds:ExitProcess
_text             ends

    extrn ExitProcess:dword
 extrn MessageBoxA:dword

     end start    


I wonder if this assembles without changes with TASM.
Post 02 Jun 2009, 19:22
View user's profile Send private message Reply with quote
pal



Joined: 26 Aug 2008
Posts: 227
pal
Code:
assume es:nothing    


Oh dear. This just means xor es,es does it? Or mov es,0 or however you clear es.
Post 02 Jun 2009, 21:06
View user's profile Send private message Reply with quote
OzzY



Joined: 19 Sep 2003
Posts: 1029
Location: Everywhere
OzzY
AFAIK, you can't mov es,0. It's a segment like ds, cs, ss.

It's not a register like ax, bx, cx, dx.
Post 02 Jun 2009, 21:09
View user's profile Send private message Reply with quote
pal



Joined: 26 Aug 2008
Posts: 227
pal
Yeah I thought you were going to say that. What is the way in FASM (with out assume if there is the possibility to do this) to do assume es:nothing then?
Post 02 Jun 2009, 21:14
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17249
Location: In your JS exploiting you and your system
revolution
You don't need to worry about assume in fasm because fasm never inserts segment overrides automatically.
Post 02 Jun 2009, 23:14
View user's profile Send private message Visit poster's website Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
That is one reason why "FASM" is "Flat": labels are not grouped under segments, like in MASM.
Post 02 Jun 2009, 23:51
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
MSWarrior



Joined: 21 Mar 2008
Posts: 11
MSWarrior
Another good hex editor can be download from here. It is free for individual and non-commercial use.
Post 03 Jun 2009, 07:02
View user's profile Send private message Reply with quote
pal



Joined: 26 Aug 2008
Posts: 227
pal
Yeah man fasm rules. Good to see it doesn't do things such as this.

While on the topic of tools, what do you use to dev in ASM? I use SciTE. I don't see the point in the IDEs much.
Post 03 Jun 2009, 22:46
View user's profile Send private message Reply with quote
dosin



Joined: 24 Aug 2007
Posts: 337
dosin
Quote:
I don't see the point in the IDEs much.


well in small projects . there is not much point - command line works fine..
With large projects IDEs can be very usefull.. "If its a well written one"...
Post 04 Jun 2009, 01:40
View user's profile Send private message Reply with quote
bitRAKE



Joined: 21 Jul 2003
Posts: 2902
Location: [RSP+8*5]
bitRAKE
pal wrote:
While on the topic of tools, what do you use to dev in ASM? I use SciTE.
I tried PSPad for a few months (maybe a year) - it was recommended by Tomasz to someone else on the board. Now, I'm back to trying Notepad++ (based on SciTE). It's fast and more stable than last time I used it.

One of the key points when using FASM is the ablity to distinguish between Preprocessor sections and Assembly sections of code - which can be thoroughly mixed! In this regard I've grouped the keywords appropriately. I have yet to use an existing highlighter which can fully handle FASM syntax. Something beyond a keyword list is needed.

[I've been thinking about how macros can be taylored to produce listings for various purposes. In FASM the listing is just an intermediate form used to produce the product - the binary. Yet, the listing could also be a product.]

RadASM is a very inspiring IDE - with full MASM source code availible! Ketil Olsen is quite a prolific programmer, and loves to get feedback on his work! It can be configured for working with FASM, or many other languages.

_________________
¯\(°_o)/¯ unlicense.org
Post 04 Jun 2009, 04:27
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page 1, 2  Next

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.