Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > Reverse engineering tools

Reply
Thread Tools

Reverse engineering tools

 
 
Martin
Guest
Posts: n/a
 
      06-10-2004
Hi,
I am trying to reverse engineer some software in C. Ideally I would
like to use a free program that would scan for function calls and map
the route of function calls in programs in a tree structure.

ie.

main() defined in a.c
|
----------------> init_comms() defined in b.c
| |
| -------> write_to_port() defined in b.c
|
----------------> start_state_machine() defined in f.c

... etc...

Example code

void main()
{
init_comms();
start_state_machine();
}

Does anyone know of any existing programs that can do this?

I have come across dOxygen, but I need a automatic diagramming tool to
aid visual clarity of the software flow, does any exist or will I have
to write one? I have called this Function tracing but im sure there is
a proper technical name for this process.

Thanks in advance,
Martin
 
Reply With Quote
 
 
 
 
Dan Pop
Guest
Posts: n/a
 
      06-10-2004
In <8z1yc.445$3X3.54@newsfe1-win> Martin <> writes:

> I am trying to reverse engineer some software in C. Ideally I would
>like to use a free program that would scan for function calls and map
>the route of function calls in programs in a tree structure.


What was your C language question?

Dan
--
Dan Pop
DESY Zeuthen, RZ group
Email:
 
Reply With Quote
 
 
 
 
Martin
Guest
Posts: n/a
 
      06-10-2004
Dan Pop wrote:
> In <8z1yc.445$3X3.54@newsfe1-win> Martin <> writes:
>
>
>> I am trying to reverse engineer some software in C. Ideally I would
>>like to use a free program that would scan for function calls and map
>>the route of function calls in programs in a tree structure.

>
>
> What was your C language question?
>
> Dan


Sorry Dan, you are right, it is off topic, not a C language question -
but this does have a lot of people on this newsgroup and I thought
people might not mind. Can you suggest an alternative newsgroup?

Sorry to offend,
Kind regards,
Martin
 
Reply With Quote
 
Kieran Simkin
Guest
Posts: n/a
 
      06-10-2004
"Martin" <> wrote in message
news:8z1yc.445$3X3.54@newsfe1-win...
> Hi,
> I am trying to reverse engineer some software in C. Ideally I would
> like to use a free program that would scan for function calls and map
> the route of function calls in programs in a tree structure.
>
> ie.
>
> main() defined in a.c
> |
> ----------------> init_comms() defined in b.c
> | |
> | -------> write_to_port() defined in b.c
> |
> ----------------> start_state_machine() defined in f.c
>
> ... etc...
>
> Example code
>
> void main()
> {
> init_comms();
> start_state_machine();
> }
>


This is *not* reverse engineering as I understand the term. If you have the
source, what are you trying to engineer out of it?

> Does anyone know of any existing programs that can do this?
>
> I have come across dOxygen, but I need a automatic diagramming tool to
> aid visual clarity of the software flow, does any exist or will I have
> to write one? I have called this Function tracing but im sure there is
> a proper technical name for this process.
>
> Thanks in advance,
> Martin



 
Reply With Quote
 
Mike Wahler
Guest
Posts: n/a
 
      06-10-2004

"Martin" <> wrote in message
news:0i4yc.849$...
> Dan Pop wrote:
> > In <8z1yc.445$3X3.54@newsfe1-win> Martin <>

writes:
> >
> >
> >> I am trying to reverse engineer some software in C. Ideally I would
> >>like to use a free program that would scan for function calls and map
> >>the route of function calls in programs in a tree structure.

> >
> >
> > What was your C language question?
> >
> > Dan

>
> Sorry Dan, you are right, it is off topic, not a C language question -
> but this does have a lot of people on this newsgroup


The number of participants here is irrelevant.
The topic is the C language.

> and I thought
> people might not mind.


Some might, others might not. Typically those in the former
category will be more 'vocal' about it.

> Can you suggest an alternative newsgroup?


A few seconds with Google found
comp.software-eng

-Mike


 
Reply With Quote
 
B. Gandhi
Guest
Posts: n/a
 
      06-11-2004
(Dan Pop) wrote in message news:<caa587$4pf$>...
> In <8z1yc.445$3X3.54@newsfe1-win> Martin <> writes:
>
> > I am trying to reverse engineer some software in C. Ideally I would
> >like to use a free program that would scan for function calls and map
> >the route of function calls in programs in a tree structure.

>


I know of two such tools (I've not used them however), one is
Imagix 4D from Imagix Corp (http://www.imagix.com/products/products.html)
and Understand for C++ from Scientific Toolworks inc. (www.scitools.com).
You may like to have a look over 'em.

-BG
 
Reply With Quote
 
Martin
Guest
Posts: n/a
 
      06-18-2004
Kieran Simkin wrote:
> "Martin" <> wrote in message
> news:8z1yc.445$3X3.54@newsfe1-win...
>
>>Hi,
>> I am trying to reverse engineer some software in C. Ideally I would
>>like to use a free program that would scan for function calls and map
>>the route of function calls in programs in a tree structure.
>>
>>ie.
>>
>>main() defined in a.c
>> |
>> ----------------> init_comms() defined in b.c
>> | |
>> | -------> write_to_port() defined in b.c
>> |
>> ----------------> start_state_machine() defined in f.c
>>
>> ... etc...
>>
>>Example code
>>
>>void main()
>>{
>> init_comms();
>> start_state_machine();
>>}
>>

>
>
> This is *not* reverse engineering as I understand the term. If you have the
> source, what are you trying to engineer out of it?
>


We have the source and are tracking the procedure calls through it, to
find out what section of code calls what and how it works - thus we are
reverse engineering it, then we will re-engineer it improve the quality
of the code. It is poorly documented, thus a tool for procedure
tracking would have been useful. Job is now done, and references from
above replies have been helpful.


>
>>Does anyone know of any existing programs that can do this?
>>
>>I have come across dOxygen, but I need a automatic diagramming tool to
>>aid visual clarity of the software flow, does any exist or will I have
>>to write one? I have called this Function tracing but im sure there is
>>a proper technical name for this process.
>>
>>Thanks in advance,
>>Martin

>
>
>

 
Reply With Quote
 
Andy Green
Guest
Posts: n/a
 
      06-19-2004
Martin <> wrote in message news:<N3BAc.68$>...
> Kieran Simkin wrote:
> > "Martin" <> wrote in message
> > news:8z1yc.445$3X3.54@newsfe1-win...
> >
> >>Hi,
> >> I am trying to reverse engineer some software in C. Ideally I would
> >>like to use a free program that would scan for function calls and map
> >>the route of function calls in programs in a tree structure.
> >>
> >>ie.
> >>
> >>main() defined in a.c
> >> |

> ----------------> init_comms() defined in b.c
> >> | |
> >> | -------> write_to_port() defined in b.c
> >> |
> >> ----------------> start_state_machine() defined in f.c
> >>
> >> ... etc...
> >>
> >>Example code
> >>
> >>void main()
> >>{
> >> init_comms();
> >> start_state_machine();
> >>}
> >>

> >
> >
> > This is *not* reverse engineering as I understand the term. If you have the
> > source, what are you trying to engineer out of it?
> >

>
> We have the source and are tracking the procedure calls through it, to
> find out what section of code calls what and how it works - thus we are
> reverse engineering it, then we will re-engineer it improve the quality
> of the code. It is poorly documented, thus a tool for procedure
> tracking would have been useful. Job is now done, and references from
> above replies have been helpful.
>
>
> >
> >>Does anyone know of any existing programs that can do this?
> >>
> >>I have come across dOxygen, but I need a automatic diagramming tool to
> >>aid visual clarity of the software flow, does any exist or will I have
> >>to write one? I have called this Function tracing but im sure there is
> >>a proper technical name for this process.
> >>
> >>Thanks in advance,
> >>Martin

> >
> >
> >


Next time you have a question like this one use a name like Nicole,
Brianne, or tiffany, you getthe idea. You won't get any complaints
about posting to the wrong group..
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Call for Papers: World Congress on Engineering WCE 2007 (IAENG conferences with Engineering Letters) imecs__2007@iaeng.org Java 0 12-19-2006 06:51 AM
CFP: Special Issue on Web Engineering (The journal Engineering Letters) imecs_2006@iaeng.org Java 0 01-07-2006 04:48 AM
CAX, Structural Engineering, Petroleum industries Petrochemical Process engineering, offshore oil, Hydraulic & Environment engineering, Geotechnical & Mining engineering, Road & GIS, other futa NZ Computing 0 04-26-2005 09:43 AM
Reverse Engineering-Page Navigation Diagram =?Utf-8?B?ZHdvcnRoZW0=?= ASP .Net 0 09-24-2004 11:09 PM
Reverse engineering an EDIF file? Rastislav Struharik VHDL 8 01-02-2004 01:57 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57