morrn,

this is sort of(f) topic. Dont ask me why I need to install radare on an 
macbook ;)
That said, I should add that there is already a radare2 at radare.org

,radare -V
radare 1.4 64bit on le32bit i686-unknown-linux-gnu dbg 

,file `which radare`
/usr/bin/radare: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), 
dynamically linked (uses shared libs), for GNU/Linux 2.6.15, stripped

,apt-cache search radare
radare - free advanced command line hexadecimal editor
radare-common - utilities and scripts used by radare
radare-doc - documentary for radare
radare-gtk - free advanced command line hexadecimal editor with graph 
functionality

,uname -a
Linux grr 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 22:02:19 UTC 2010 i686 
GNU/Linux

,file /bin/ls
/bin/ls: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically 
linked (uses shared libs), for GNU/Linux 2.6.15, stripped

,radare /bin/ls
open ro /bin/ls
> Importing file information...
[Information]
ELF class:       ELF32
Data enconding:  2's complement, little endian
OS/ABI name:     linux
Machine name:    Intel 80386
Architecture:    intel
File type:       EXEC (Executable file)
Stripped:        Yes
Static:          No
Base address:    0x08048000
> Importing symbols...
101 imports added
10 symbols added
29 sections added
312 strings added
> Analyzing code...
...
; from = 0x080622cc
; to   = 0x0001b2c7
fu fun.080622cc @ 0x080622cc
CF 4092 @ 0x080622cc
CC args = 0 @ 0x080622cc
CC vars = 0 @ 0x080622cc
CC drefs = 0 @ 0x080622cc
fs *
Segmentation fault (core dumped)
,gdb -c core
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
[New Thread 10997]
Core was generated by `radare /bin/ls'.
Program terminated with signal 11, Segmentation fault.
#0  0x08063351 in ?? ()
(gdb) bt full
#0  0x08063351 in ?? ()
No symbol table info available.
#1  0x08c78d28 in ?? ()
No symbol table info available.
#2  0x08063c8e in ?? ()
No symbol table info available.
#3  0x0001a2cc in ?? ()
No symbol table info available.
#4  0x00000000 in ?? ()
No symbol table info available.
(gdb) i r
eax            0x0      0
ecx            0x0      0
edx            0x8c78d44        147295556
ebx            0x8c78d6c        147295596
esp            0xbfbd7650       0xbfbd7650
ebp            0xbfbd76b8       0xbfbd76b8
esi            0x1a2cc  107212
edi            0x0      0
eip            0x8063351        0x8063351
eflags         0x210246 [ PF ZF IF RF ID ]
cs             0x73     115
ss             0x7b     123
ds             0x7b     123
es             0x7b     123
fs             0x0      0
gs             0x33     51
(gdb) q
Script done on Thu 17 Jun 2010 03:27:21 PM CEST

Reply via email to