Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #19129

Re: Tips to analyze a project with thousands of files

Newsgroups comp.lang.c++
Date 2012-10-20 09:14 -0700
References <k5tbim$ua7$1@adenine.netfront.net>
Message-ID <454eaa0d-e057-48fa-8285-d6d54e4967c6@googlegroups.com> (permalink)
Subject Re: Tips to analyze a project with thousands of files
From Öö Tiib <ootiib@hot.ee>

Show all headers | View raw


On Saturday, 20 October 2012 08:07:35 UTC+3, Like Learn  wrote:
> My task is to analyze a legacy firmware project using Qualcomm MDM9X00 
> baseband chip with thousands of files (literally) to fix a bug. There is no 
> design documents about the project.

Nice task. You have something interesting to do. No documentation and likely no
unit-tests means that you should carefully consider twice before you change
one character in such code.

> The project is qriting in C++, halve of them are commented in Doxygen 
> format, while the other halve not.

That is half better than no design documentation whatsoever.

> I don't have the hardware to run the firmware or debugging. The only thing
> I have is a list of debugging outputs of the printfs in firmware collected
> by the client.

Then your client is eager to pay for at least 10 times less efficient
development process than normal? That instead of giving you some little
device for debugging? It is likely someting like mobile phone so transport can't be too expensive. Excellent news! Both rich and stupid clients! That
is most golden treasure imaginable.

> I spent one day today and even couldn't find out where the firmware starts. 
> Obviously it was not the main function. The comments are not in pure 
> English, frustrated. Any tip to find out the starting line of an ARM 
> project?

Why they did choose you as developer? There is nothing worse 
than stupid managers. Run perhaps? If not then compile it into binary and
examine that. It has to start somehow and there is nothing magic about it.
Other option is to just to do whatever you like and week later to tell that 
you tried hard but it seems that you are not qualified enough for the work.

> BTW, any suggestion for debugging tools toward Qualcomm MDM9x00? I believe 
> it belongs to ARM family and has multiple-processors.

It is mobile wireless modem chip. I suspect that the 
software is not for that chip but for some other embedded processor that uses it as a modem. 

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Tips to analyze a project with thousands of files "Like Learn" <like2learn@live.ca> - 2012-10-19 23:07 -0600
  Re: Tips to analyze a project with thousands of files Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-10-20 07:49 +0000
    Re: Tips to analyze a project with thousands of files "Like Learn" <like2learn@live.ca> - 2012-10-21 00:09 -0600
    Re: Tips to analyze a project with thousands of files Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-10-21 11:42 +0000
  Re: Tips to analyze a project with thousands of files Öö Tiib <ootiib@hot.ee> - 2012-10-20 09:14 -0700
    Re: Tips to analyze a project with thousands of files "Like Learn" <like2learn@live.ca> - 2012-10-21 00:12 -0600
  Re: Tips to analyze a project with thousands of files ctgqumgf@sharklasers.com - 2012-10-21 01:34 -0700
    Re: Tips to analyze a project with thousands of files Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-10-21 11:55 +0000
    Re: Tips to analyze a project with thousands of files "Like Learn" <like2learn@live.ca> - 2012-10-21 22:39 -0600
  Re: Tips to analyze a project with thousands of files Stuart <DerTopper@web.de> - 2012-10-23 13:00 +0200
  Re: Tips to analyze a project with thousands of files drew@furrfu.invalid (Drew Lawson) - 2012-10-24 15:33 +0000
  Re: Tips to analyze a project with thousands of files Werner <werasm@gmail.com> - 2012-10-24 09:29 -0700
    Re: Tips to analyze a project with thousands of files Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-10-25 20:44 +0000
  Re: Tips to analyze a project with thousands of files Luca Risolia <luca.risolia@studio.unibo.it> - 2012-10-24 22:42 +0200

csiph-web