Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

C/C++ source code analysis tool?

Status
Not open for further replies.

yager

Member level 5
Joined
May 28, 2001
Messages
93
Helped
33
Reputation
66
Reaction score
14
Trophy points
1,288
Activity points
742
source insight vs ristancase dac

Does anyone know which source code analysis tool is good
for Embedded C/C++?
lint, LintPlus, CC-Rider, or more?
TIA
 

Hi,

I use PC-Lint (www.gimpel.com) for both embedded and non-embedded C/C++ programming. It is a 'never-leave-home-without' tool.

Tom
 

Code Analysis Tool and Reverse Engineering

Hi

I'm using Imagix 4D and Understand for C++ both products are good, I prefer Imagix is a bit more complicate to use than Understand but is excellent.
the URL are:

h**p:\\www.imagix.com

h**p:\\www.scitools.com

:D
 

"Source insight" and "Understand C++" both are good analysis tool
 

DAC(Development Assistant for C) is also helpful.
 

You can try softwares from Parasoft, as CodeWizard, C++ Test and Insure++.
 

visioneer said:
DAC(Development Assistant for C) is also helpful.

The DAC is strong enough? I have no ideas.
I download and got 2 weeks trial license of DAC v4.058
and evaluate it by a simple code such like as:
Code:
#define VOID void
#define ROM  code
typedef VOID (ROM *FuncPtr)(VOID);

main()
{
   ((FuncPtr)0x1234)();
}
Unfortunately, DAC said error when 'build database', it could not recognize.
But the code could be successful compiled such like as Keil C51 v5.xx~v7.xx.
Anyway, I sent it to RistanCASE and still waiting their answers....
 

Rational Rose and some other uml tools can be used to build uml models such as class diagrams from the c++ source code.
regards
 

Hi...

just for information, the following code :

#define VOID void
#define ROM code
typedef VOID (ROM *FuncPtr)(VOID);

main()
{
((FuncPtr)0x1234)();
}

works fine with source insight (which is for me the best source code editor I've ever seen, from far, far, far away above the others )

bye
 

easycode is the best tools,But I cann't find the serial still.I thinks the others including sci and si and dac and so on,is next selection.
 

please visit souceforge!
this is a good website for source codes
 

I use Pc-Lint 8.0 from www.gimpel.com.

And I can tell you that it often saved me hours of debuging by carefully examining its output messages on the "perfect" programs I had written.

best regards
 

PC-Lint 8.0L is available here:

h**p://www.wasm.ru/toollist.php?list=7

Tom
 

Could you tell me how to set up Lint8? The config program looks for stuff in the registry which doesn't exsist. Is there a workround?
 

btbass,

no need to use the installer, simply unpack the archieve for example into c:\lint

Then use a batchfile like this (for keil C51 compiler):
C:\Lint\LINT-NT.EXE -ic:\lint +v +e9 -t4 co-kc51.lnt -passes(2) xxx.c

for Hi-Tech compiler:
C:\Lint\LINT-NT.EXE -ic:\lint +v +e9 -t4 -d_16F877 co-ht.lnt -passes(2) xxx.c

to lint your source.

Maybe you will be as surprised as I was a few years ago what lint "thinks" about your "perfect" sourcecode :)

Should you need more help do not hesitate to contact me.

best regards
 

I downloaded a new config file from their homesite which works ok. Thanks for the info, lint is very good tool.
 

It is a good idea to check Gimpel's site every now and then to update Lint. Current version is 8.0p.

Tom
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top