De assembly tools under Linux (Intel Based)

De assembly tools under Linux (Intel Based)

Post by Thierry DELHAIS » Sun, 01 Nov 1998 04:00:00



Hi all,

is there is any de assembly tools existing under Linux !

Thanks in advance


 
 
 

De assembly tools under Linux (Intel Based)

Post by Uwe Bonne » Sun, 01 Nov 1998 04:00:00


: Hi all,

: is there is any de assembly tools existing under Linux !

: Thanks in advance

Learn about objdump.

Bye

--

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

 
 
 

De assembly tools under Linux (Intel Based)

Post by Erik de Castro Lop » Mon, 02 Nov 1998 04:00:00



> Hi all,

> is there is any de assembly tools existing under Linux !

man objdump

Its not pretty but it does disassemble.

Erik
--
+-------------------------------------------------+

+-------------------------------------------------+
A sufficiently advanced programming error is
indistinguishable from the Windows 95 Operating System.

 
 
 

De assembly tools under Linux (Intel Based)

Post by kumst » Tue, 03 Nov 1998 04:00:00



> Hi all,

> is there is any de assembly tools existing under Linux !

> Thanks in advance



you should try ndisasm which come with NASM.
I use it for assembling and I like it , cause it compile MMX and P6
instructions .... ( disassemble too ...)
                 Christophe.
 
 
 

De assembly tools under Linux (Intel Based)

Post by J.H.M. Dassen (R » Tue, 03 Nov 1998 04:00:00



>is there is any de assembly tools existing under Linux !

objdump --disassemble .

objdump is part of the GNU binutils.

HTH,
Ray
--
PATRIOTISM  A great British writer once said that if he had to choose
between betraying his country and betraying a friend he hoped he would
have the decency to betray his country.                                      
- The Hipcrime Vocab by Chad C. Mulligan

 
 
 

De assembly tools under Linux (Intel Based)

Post by Peter Samuels » Wed, 04 Nov 1998 04:00:00



Quote:> you should try ndisasm which come with NASM.
> I use it for assembling and I like it , cause it compile MMX and P6
> instructions .... ( disassemble too ...)

If I'm not horribly mistaken, recent binutils (recent >= 2.9) also do
MMX and P6 insns.  Not sure about 3DNow! and other such mutants.

--
Peter Samuelson
<sampo.creighton.edu!psamuels>

 
 
 

De assembly tools under Linux (Intel Based)

Post by kumst » Wed, 04 Nov 1998 04:00:00




> > you should try ndisasm which come with NASM.
> > I use it for assembling and I like it , cause it compile MMX and P6
> > instructions .... ( disassemble too ...)

> If I'm not horribly mistaken, recent binutils (recent >= 2.9) also do
> MMX and P6 insns.  Not sure about 3DNow! and other such mutants.

> --
> Peter Samuelson
> <sampo.creighton.edu!psamuels>

Thanks for the information .... ( I didn't know that cause I used nasm
for a long time...)
I add that nasm support  Cyrix specific insns ( but not usefull too
specific !!!! ).
I like nasm because the asm coding looks like the classic coding ( not
%register or (%reg)23 for [reg+23] ... ).
And nasm come with a html doc ( including all instruction set with
descritpion !! )

            Christophe.

 
 
 

1. What is a recommended reading in linux assembly (for intel)

I have odd coredumps in db_VISTA 4.5 lockmanager:

Program received signal SIGSEGV, Segmentation fault.
0x0804af08 in l_dbopen ()
(gdb) where
#0  0x0804af08 in l_dbopen ()
#1  0x00000000 in ?? ()

0x804aed9 <l_dbopen+165>:       lea    0x0(%esi),%esi
0x804aedc <l_dbopen+168>:       push   %ebp
0x804aedd <l_dbopen+169>:       mov    %esp,%ebp
0x804aedf <l_dbopen+171>:       sub    $0x14,%esp
0x804aee2 <l_dbopen+174>:       push   %ebx
0x804aee3 <l_dbopen+175>:       mov    0x8(%ebp),%eax
0x804aee6 <l_dbopen+178>:       cmpl   $0x0,0xc(%ebp)
0x804aeea <l_dbopen+182>:       je     0x804af1a <l_dbopen+230>
0x804aeec <l_dbopen+184>:       incl   0x8055d68
0x804aef2 <l_dbopen+190>:       add    $0xfffffffc,%esp
0x804aef5 <l_dbopen+193>:       push   $0x0
0x804aef7 <l_dbopen+195>:       push   $0x0
0x804aef9 <l_dbopen+197>:       movzwl %ax,%ebx
0x804aefc <l_dbopen+200>:       mov    0x8055d3c,%edx
0x804af02 <l_dbopen+206>:       lea    (%ebx,%ebx,2),%eax
0x804af05 <l_dbopen+209>:       lea    (%eax,%eax,8),%eax
0x804af08 <l_dbopen+212>:       pushl  0x68(%edx,%eax,4)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Program crashes always on this
exact command (but the stack trace shown by where varies). I wonder
where could I look up the description of assembly commands
on Linux? The syntax seem to be very different from x86 asms
(And I'm not proficient in x86 assembly either :-)

0x804af0c <l_dbopen+216>:       call   0x804ce00 <report+672>
0x804af11 <l_dbopen+221>:       add    $0xfffffff4,%esp

2. How does the "write" utility work?

3. Assembly language programming under linux on intel processor machines

4. Import filter for Applix Word

5. Good Intel (Linux) assembly reference

6. Apache 1.3.6/FP2000 patch as DSO

7. Backup de ficheros mayores de 2 Gb en robot de cintas Sun.

8. ldconfig

9. Intel Assembly on Linux

10. DE: B├╝cher?: Programmentwicklung unter Unix/Linux (Tools)

11. Se puede conectar un linux para ver el sistema de archivos de novell?, gracias

12. Need tool to translate symbolic offset in assembly operand