473,597 Members | 2,459 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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_mac hine() defined in f.c

... etc...

Example code

void main()
{
init_comms();
start_state_mac hine();
}

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 5146
In <8z1yc.445$3X3. 54@newsfe1-win> Martin <md********@hot mail.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********@hot mail.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********@hot mail.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_mac hine() defined in f.c

... etc...

Example code

void main()
{
init_comms();
start_state_mac hine();
}

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********@hot mail.com> wrote in message
news:0i******** *******@newsfe6-gui.server.ntli .net...
Dan Pop wrote:
In <8z1yc.445$3X3. 54@newsfe1-win> Martin <md********@hot mail.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.cer n.ch>...
In <8z1yc.445$3X3. 54@newsfe1-win> Martin <md********@hot mail.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********@hot mail.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_mac hine() defined in f.c

... etc...

Example code

void main()
{
init_comms();
start_state_mac hine();
}
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********@hot mail.com> wrote in message news:<N3******* ******@newsfe3-win.server.ntli .net>...
Kieran Simkin wrote:
"Martin" <md********@hot mail.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_mac hine() defined in f.c

... etc...

Example code

void main()
{
init_comms();
start_state_mac hine();
}

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
675
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 and get the source nicety, although there have comeout with some "obfuscators" solution, but the structure still remain exactly same as the source after obfuscate. me unable to understand what the benefit will IL bring to me, is that benefit of...
3
2384
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 would be great to create some flowcharts. Thanks, Stephan
3
2241
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
5062
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 that i could retrieve my code from my applications after i compile it so i need to know to prevent this from happening to my applications Thanx in advance
2
7955
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 interested in more detail such as branching and looping within a function. Cheers Brad
2
4249
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 Diagram, Sequence Diagram, Collaboration Diagram, Activity Diagram. I've installed Visio 2003 and I'm trying to reverse engineering my project to get the conceptual design of it. When I start Visio, it exstracts and decodes correctly the...
6
7372
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 source code. Although this has some overlap with say a compiler it would also seem significantly different too.
7
5326
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? For unpacking I used IsXunpack. But which one should I use to repack the files into an all-in-one exe again? Maybe I should use InstallShield itself, but how?
6
1264
by: Warren Tang | last post by:
Hi everyone Are there any Reverse Engineering Tools or Add-ins for .NET? Thanks
0
7971
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8276
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8040
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8259
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5436
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3889
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3932
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1495
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1243
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.