473,382 Members | 1,380 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Reverse engineering tools

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
Nov 14 '05 #1
7 5123
In <8z1yc.445$3X3.54@newsfe1-win> Martin <md********@hotmail.com> 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: Da*****@ifh.de
Nov 14 '05 #2
Dan Pop wrote:
In <8z1yc.445$3X3.54@newsfe1-win> Martin <md********@hotmail.com> 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
Nov 14 '05 #3
"Martin" <md********@hotmail.com> 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

Nov 14 '05 #4

"Martin" <md********@hotmail.com> wrote in message
news:0i***************@newsfe6-gui.server.ntli.net...
Dan Pop wrote:
In <8z1yc.445$3X3.54@newsfe1-win> Martin <md********@hotmail.com> 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
Nov 14 '05 #5
Da*****@cern.ch (Dan Pop) wrote in message news:<ca**********@sunnews.cern.ch>...
In <8z1yc.445$3X3.54@newsfe1-win> Martin <md********@hotmail.com> 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
Nov 14 '05 #6
Kieran Simkin wrote:
"Martin" <md********@hotmail.com> 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


Nov 14 '05 #7
Martin <md********@hotmail.com> wrote in message news:<N3*************@newsfe3-win.server.ntli.net>...
Kieran Simkin wrote:
"Martin" <md********@hotmail.com> 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.. :)
Nov 14 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: xiao zhang yu | last post by:
me was sorry if this question are present before DotNet, no matter VB.Net or C# all they are compiled to IL, and yes, that IL will totally same as "open-sourse", every IL will easy to decompile...
3
by: Stephan Wörmke | last post by:
Hi! I am looking for some tools to help me understand source code of a program written in c++ by someone else. I heard about reverse engineering or uml but does anybody know a goog software? It...
3
by: PauloFor | last post by:
Please, Is there a way to annotate C# source code so that reverse engineering to UML Models ? Thanks. Paulo
15
by: Fady Anwar | last post by:
Hi while browsing the net i noticed that there is sites publishing some software that claim that it can decompile .net applications i didn't bleave it in fact but after trying it i was surprised...
2
by: bradphelan | last post by:
Hi all, Does anybody know of open source reverse engineering tools that can flowchart C/C++ code? I've checked Red Hat source-navigator but the resolution is only at the call tree level and I am...
2
by: mary | last post by:
Hi, for my thesis at the university I'm working on a Visual c++ 6.0 source code, to understand better it I need to extract the UML graphics: Class Diagram, Object Diagram, Use Case Diagram, State...
6
by: Herby | last post by:
Hi, Im interested in Reverse Engineering C++ source code into a form more comprehensible than the source itself. I want to write a basic one myself, obviously i need to write a parser for the...
7
by: Gui | last post by:
Hi folks, I have unpacked an all-in-one exe produced by InstallShield. I've made the necessary changes and now I'm ready to repack the files. How can I do that? Which program should I use? ...
6
by: Warren Tang | last post by:
Hi everyone Are there any Reverse Engineering Tools or Add-ins for .NET? Thanks
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.