C/C++ Reverse Engineering tool

13 views
Skip to first unread message

Mahmoud M'HIRI

unread,
Mar 10, 2008, 6:23:26 AM3/10/08
to CULLT-EN
Salem,

I'm looking for a tool to reverse engineer a long code source written in the C language. Is there something OS to recommend ?

Thanks a lot

--
Mahmoud M'HIRI
mh...@ieee.org
Phone: Under request

AtomCell

unread,
Mar 10, 2008, 6:29:34 AM3/10/08
to CULL...@googlegroups.com
Salem
Can you explain more ?
Br
Hatem

--
Sent from Gmail for mobile | mobile.google.com

Hatem S'hel

Comité de préparation de FSF Tunisia 2008
Mobile: +216 97 193 983
Em@il: shel...@gmail.com
Web: http://openfest.tuxfamily.org/

(Imed Chihi) عماد الشيحي

unread,
Mar 10, 2008, 6:30:20 AM3/10/08
to CULL...@googlegroups.com
Salam Mahmoud,

2008/3/10, Mahmoud M'HIRI <mahmou...@gmail.com>:


> I'm looking for a tool to reverse engineer a long code source written in the
> C language. Is there something OS to recommend ?

I'm not sure I understand what you're looking for. Why would want to
reverse engineer something for which you have the source code? I mean,
there is really nothing to reverse here.

-Imed

--
Imed Chihi - عماد الشيحي
http://perso.hexabyte.tn/ichihi/

Mahmoud M'HIRI

unread,
Mar 10, 2008, 6:41:26 AM3/10/08
to CULL...@googlegroups.com
application, Classes, structs, functions, global variables,.. call relation between functions,.. (a visual documentation tool).

I just found this tool which I'm testing, it looks great except he is under windows and non-OS (20 days trial):
http://www.codedrawer.com/download/download.html

Thanks for reactions

cher...@gmail.com

unread,
Mar 10, 2008, 7:11:16 AM3/10/08
to CULL...@googlegroups.com
Bonjour
moi j'utilise Bouml sous Linux Fedora
http://bouml.free.fr/
ça donne de bons résultats en génère de la doc html

On 10/03/2008, Mahmoud M'HIRI <mahmou...@gmail.com> wrote:
> On 3/10/08, (Imed Chihi) عماد الشيحي <imed....@gmail.com> wrote:
> >
> > Salam Mahmoud,
> >
> > 2008/3/10, Mahmoud M'HIRI <mahmou...@gmail.com>:
> >
> > > I'm looking for a tool to reverse engineer a long code source written in
> > the
> > > C language. Is there something OS to recommend ?
> >
> >
> > I'm not sure I understand what you're looking for. Why would want to
> > reverse engineer something for which you have the source code? I mean,
> > there is really nothing to reverse here.
> >
> > -Imed
> >
> >
> > --
> > Imed Chihi - عماد الشيحي
> > http://perso.hexabyte.tn/ichihi/
> >
> >
> > >
> >
>

> Ah ok, I mean something that displays me the global flow of the application,


> Classes, structs, functions, global variables,.. call relation between
> functions,.. (a visual documentation tool).
>
> I just found this tool which I'm testing, it looks great except he is under
> windows and non-OS (20 days trial):
> http://www.codedrawer.com/download/download.html
>
> Thanks for reactions
>
> --
> Mahmoud M'HIRI
> mh...@ieee.org
> Phone: Under request
>
> >
>


--
--
Mohamed Ali CHARMI
PhD. Student & Assistant Professor
Ecole Nationale des Sciences de l'Informatique
Web: http://www.cristal-lab.net/charmi/

AtomCell

unread,
Mar 10, 2008, 7:20:59 AM3/10/08
to CULL...@googlegroups.com
Salem,
Me too, i use the bouml software under debian an olso under windows
and it work great!
Kind reguards
Hatem

--

(Imed Chihi) عماد الشيحي

unread,
Mar 10, 2008, 7:21:15 AM3/10/08
to CULL...@googlegroups.com
2008/3/10, Mahmoud M'HIRI <mahmou...@gmail.com>:
> On 3/10/08, (Imed Chihi) عماد الشيحي <imed....@gmail.com> wrote:
> > 2008/3/10, Mahmoud M'HIRI <mahmou...@gmail.com>:
> >
> > > I'm looking for a tool to reverse engineer a long code source written in
> the
> > > C language. Is there something OS to recommend ?
> >
> >
> > I'm not sure I understand what you're looking for. Why would want to
> > reverse engineer something for which you have the source code? I mean,
> > there is really nothing to reverse here.
> >
> > application, Classes, structs, functions, global variables,.. call
> relation between functions,.. (a visual documentation tool).
> >
> > I just found this tool which I'm testing, it looks great except he is
> under windows and non-OS (20 days trial):
> > http://www.codedrawer.com/download/download.html

People usually try to reverse engineer a binary code or a chip to
figure out how it was produced and, ultimately, providing a process
which does generate it. For programming, that would typically be the
generation of a C code from a binary.

Therefore, what you are proposing to do is _not_ reverse engineering.
I'm sure there are lots of code viewers on the web to give you a nice
representation of a large C++ programme. Actually, even gedit can be
quite useful for this.

-Imed

nihed mbarek

unread,
Mar 10, 2008, 7:24:16 AM3/10/08
to CULL...@googlegroups.com
objdump -d ton_application
ça donne le code assembleur
et ça marche très bien
--
M'BAREK Med Nihed,
Fedora Ambassador, TUNISIA, Northern Africa
PUB   1024D/FCC5B291 2006-02-28 [expires: 2008-12-27]
FPR 16A4 AC3F 0B84 B3D1 A0E5 9BCC AD13 0DAE FCC5 B291

AtomCell

unread,
Mar 10, 2008, 7:37:13 AM3/10/08
to CULL...@googlegroups.com
Hi,
I think that mahmoud is looking after a clear code.
Some programmer write their code with unlogical method.
They try to make their code as harrd as possible to be understood by
an other programmer.
Some time also the code becom so long that it become difficult to a
new programmer to understand what the others engeneer are writing or
thinking.
So we need to mke the class diagramm or other classs
Boumel can help mahmoud i used it for a php code
Br
Hatem

--

Mahmoud M'HIRI

unread,
Mar 10, 2008, 9:07:45 AM3/10/08
to CULL...@googlegroups.com
Thanks to all of you.

I agree totally with you Imed, the accurate definition of Reverse Engineering of a system is to reveal his functions from an initial black box as in industrial or military applications, and in computer software, the source code from a compiled data.

But when the code is written to be misunderstood, we can consider as compiled and require reverse engineering ;)

I'm testing BOUML, thanks for the hint.

Have a nice afternoon

Salem


--
Mahmoud M'HIRI
mh...@ieee.org
Phone: Under request


Bilel BEL HADJ MOHAMED

unread,
Mar 13, 2008, 3:33:43 AM3/13/08
to CULL...@googlegroups.com
You can also use the software "Doxigen" to automaticaly generate source code documantation.
I didn't try it but I saw an Object-Oriented documentation generated using this tool. It seems to be efficient.
 
Best,
Bilel.

 

Mahmoud M'HIRI

unread,
Mar 13, 2008, 4:11:14 AM3/13/08
to CULL...@googlegroups.com
Know it, but it supposes that the developer has written enough comments when coding, otherwise, it's up to you to fill docs..

Mohamed IKBEL

unread,
Mar 13, 2008, 10:12:24 AM3/13/08
to CULLT-EN
Doxigen -> Doxygen (very good ! even export to LateX)
JavaDoc (only Java)
...
Reply all
Reply to author
Forward
0 new messages