* .o.cmd files wanted, static analysis
@ 2005-09-15 23:50 Peter T. Breuer
2005-09-16 0:08 ` Kyle Moffett
0 siblings, 1 reply; 5+ messages in thread
From: Peter T. Breuer @ 2005-09-15 23:50 UTC (permalink / raw)
To: linux kernel
(was sent to Linux Testing Project list, but no answer there yet).
G'day all
I'm looking for a set of .*.o.cmd files for the 2.6 kernel. These are
generated when you compile the kernel. I have about 1600 of them from my
standard compilation choices, but I want the full 6000 odd so that I can
run static analysis tests.
See ftp://oboe.it.uc3m.es/pub/Programs/c-1.2.*.tgz
The currently enabled tests are for sleep under spinlock, double spinlock,
and access to kfree'd memory. I'll add more according to suggestions
received. About 3 errors in each class are detected for every 1000
kernel source files, with about three times that many false alarms
raised. It takes a few seconds per file, at about 10000 expanded lines
of code per second.
Does somebody out there have a pretty complete kernel compilation,
mainly all modules (though I don't care!), and could let me have their
.*.o.cmd files? In fact, just the FIRST LINE of them.
That first line gives me the compile flags used.
Thanks.
Peter
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: .o.cmd files wanted, static analysis
2005-09-15 23:50 .o.cmd files wanted, static analysis Peter T. Breuer
@ 2005-09-16 0:08 ` Kyle Moffett
2005-09-16 6:46 ` Peter T. Breuer
0 siblings, 1 reply; 5+ messages in thread
From: Kyle Moffett @ 2005-09-16 0:08 UTC (permalink / raw)
To: ptb; +Cc: linux kernel
On Sep 15, 2005, at 19:50:29, Peter T. Breuer wrote:
> Does somebody out there have a pretty complete kernel compilation,
> mainly all modules (though I don't care!), and could let me have
> their .*.o.cmd files? In fact, just the FIRST LINE of them.
doesn't "make allmodconfig" work for you? That should generate a
config with everything possible included as modules, and then you can
compile that to generate .cmd files.
Cheers,
Kyle Moffett
--
There are two ways of constructing a software design. One way is to
make it so simple that there are obviously no deficiencies. And the
other way is to make it so complicated that there are no obvious
deficiencies. The first method is far more difficult.
-- C.A.R. Hoare
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: .o.cmd files wanted, static analysis
2005-09-16 0:08 ` Kyle Moffett
@ 2005-09-16 6:46 ` Peter T. Breuer
0 siblings, 0 replies; 5+ messages in thread
From: Peter T. Breuer @ 2005-09-16 6:46 UTC (permalink / raw)
To: Kyle Moffett; +Cc: linux kernel
"Also sprach Kyle Moffett:"
> On Sep 15, 2005, at 19:50:29, Peter T. Breuer wrote:
> > Does somebody out there have a pretty complete kernel compilation,
> > mainly all modules (though I don't care!), and could let me have
> > their .*.o.cmd files? In fact, just the FIRST LINE of them.
>
> doesn't "make allmodconfig" work for you? That should generate a
Thanks. I didn't know about allconfig. That sounds good.. But no,
it wouldn't exactly work for me just like that - I don't have space
to do the actual kernel compilation on any machine (nor time to do it,
since the fastest machine is my laptop at 1.13GHz, and that suffers from
overheating problems - the next fastest machine is a dual 550MHz, and I
will start that churning but space is tight everywhere and I am pretty
sure that there is no chance to get it to go to a finish as is).
> config with everything possible included as modules, and then you can
> compile that to generate .cmd files.
Has anyone already done it? I was hoping there was somebody running a
big compile every day in order to check consistency. Then I could
simply "borrow" their files!
Failing that, I'll try setting CC to something like FOO, and seeing if
I can generate the .o.cmd files without the compilation actually being
done. Hmmm ...
Peter
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: .o.cmd files wanted, static analysis
[not found] <432B332F.8070808@tuxrocks.com>
@ 2005-09-17 4:25 ` Peter T. Breuer
0 siblings, 0 replies; 5+ messages in thread
From: Peter T. Breuer @ 2005-09-17 4:25 UTC (permalink / raw)
To: Frank Sorenson; +Cc: linux kernel
"Also sprach Frank Sorenson:"
> Here are the *.o.cmd files from a "make allmodconfig" on my box. Hope
> this helps.
That looks great. Thanks!
Peter
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: .o.cmd files wanted, static analysis
[not found] <200509161502.17861.lion.vollnhals@web.de>
@ 2005-09-16 18:39 ` Peter T. Breuer
0 siblings, 0 replies; 5+ messages in thread
From: Peter T. Breuer @ 2005-09-16 18:39 UTC (permalink / raw)
To: Lion Vollnhals; +Cc: linux kernel
"Also sprach Lion Vollnhals:"
> Hi!
>
> Here are mine *.o.cmd files.
Thanks! I should be able to work with that.
Peter
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-09-17 4:25 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-15 23:50 .o.cmd files wanted, static analysis Peter T. Breuer
2005-09-16 0:08 ` Kyle Moffett
2005-09-16 6:46 ` Peter T. Breuer
[not found] <200509161502.17861.lion.vollnhals@web.de>
2005-09-16 18:39 ` Peter T. Breuer
[not found] <432B332F.8070808@tuxrocks.com>
2005-09-17 4:25 ` Peter T. Breuer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®