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 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
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
"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
"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 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
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
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.. :) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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...
|
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
|
by: PauloFor |
last post by:
Please,
Is there a way to annotate C# source code so that reverse engineering to UML
Models ?
Thanks.
Paulo
|
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
|
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
| |
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...
|
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.
|
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?
|
by: Warren Tang |
last post by:
Hi everyone
Are there any Reverse Engineering Tools or Add-ins for .NET?
Thanks
|
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...
|
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...
| |
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,...
|
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...
|
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();...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |