repo.or.cz
/
smatch.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
*new* check_kmalloc_to_bugon: don't call bug_on() for allocation failures
2010-07-29
Dan Carpen
t
er
*new* c
h
e
ck_kma
l
loc_to_bugon: do
n
't call bug_on(
)
for
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-29
Dan Carpen
t
e
r
*new* ch
e
ck_
u
n
wind:
c
hec
k
tha
t
module_init function
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-21
Dan Carpe
n
t
er
core: proces
s
inli
n
e
stat
e
ments
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-21
Dan Car
p
e
nter
flow: han
d
le asm statem
e
nts correc
t
ly
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-19
Dan
Carpente
r
Merge
g
i
t://git
.
kern
e
l
.
org/pub/scm/devel/sparse/chrisl
.
.
.
commit
|
commitdiff
|
tree
2010-07-19
Dan Carpenter
add ubifs_asser
t
()
t
o
li
s
t of assert m
a
cros th
a
t cal
l
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-19
Dan Carpenter
check_dma:
add a check for
f
oo = kmalloc(sizeof(
*
foo
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-14
Dan Ca
r
pente
r
signed
:
unsigned variables are allowed to d
o
ma
t
h with
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-09
Da
n
Carpenter
ove
r
flow: handle "if
(
strlen(foo) < 10
)
{
.
.
.
"
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-09
Dan Carpe
n
te
r
o
v
erflow: add
support for strlen()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-08
D
a
n Ca
r
pe
n
ter
leaks: replace chec
k
_memory
.
c with
a rewrit
e
c
h
eck
_
lea
k
s
.
c
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-08
Dan Carp
e
nter
get_variable_fro
m
_
e
xpr_complex()
:
return
p
roper
s
ymbol
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-06
Dan Carpenter
Ma
k
e
f
ile: sma
l
l whitespa
c
e
c
h
a
ng
e
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-06
Dan Carpenter
m
emory: remove the wa
r
nings about f
r
eed memory
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-06
D
a
n Carpenter
check_free: create
a separate
check for misusing f
r
e
ed
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-05
Dan Carpent
e
r
related: ren
a
me dinfo->equiv to
dinfo->rel
a
ted
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-30
Dan C
a
rpenter
constraint
s
: shuffle things around a
bit
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-30
Dan Carpenter
*
ne
w
* scripts/generisi
z
e
.
pl
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-30
D
an Ca
r
penter
type: allow
t
he para
m
eter to be null
f
or type_unsigned()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-15
D
an Carpenter
redo the ignored_ma
c
ros stuff properly
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-14
Dan Carpenter
c
onditions: f
i
x memory leak
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-14
Dan C
a
r
penter
el
i
min
a
t
e some
n
ew "statement has
n
o effect" false
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-14
Dan Car
p
enter
get rid of get_
n
e
x
t
_
stmt(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-14
Da
n
Carp
e
nter
core:
h
andle "foo = ({frob()
;
frob()
;
frob(
)
; 1;})
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-14
Dan Carpenter
lo
c
king:
a
dd spin_tryloc
k
_
irq
s
ave()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-14
D
a
n
Carpe
n
ter
fix crashing bug caused by the l
i
ttle end
i
an check
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-11
Dan Carpenter
extra
:
ignore W
A
R
N_ON()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-11
Dan Carpent
e
r
e
r
r_ptr: remo
v
e jedec_p
r
obe() fro
m
err_ptr list
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-11
Da
n
Carpe
n
ter
snp
r
intf: turn off b
e
de
f
au
l
t
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-11
Dan Carpenter
vali
d
ati
o
n: update o
v
e
r
flow t
e
st to
a
dd quote
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-11
D
an C
a
rpenter
cond
i
tions:
f
ix handling o
f
__builtin_cons
t
ant_p()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-10
Dan
Carpenter
over
f
low: ad
d
quo
t
es around va
r
iable names
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-10
Dan Carpenter
overflow: ignor
e
arr
a
ys wi
t
h only o
n
e ele
m
ent
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-10
Da
n
Ca
r
pent
e
r
o
v
erflow:
a
dd calloc(
)
support
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-10
Dan C
a
rpente
r
overflow: ch
e
ck for
c
opy_to_user() overflows
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-09
Dan Car
p
enter
memory: fix le
a
k false positives caused
by "foo = bar
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-08
Da
n
Carpenter
le16: fix false
p
ositives
and tur
n
on
b
y default
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-08
D
a
n Ca
r
penter
macro:
t
he first ma
c
ro added
is the one to k
e
ep
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-08
Dan Carpe
n
ter
memor
y
: add quotes in out
p
ut
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-07
Dan
Carpen
t
e
r
f
low
:
fix
"if();
"
false
p
ositives
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-07
Dan Carpen
t
er
extra: tweak assi
g
nment of unsig
n
ed
values
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-05
Dan Ca
r
pente
r
smatch
_
e
x
tr
a
: cle
a
nup m
a
tch_ass
i
g
n
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-04
D
a
n Carpe
n
ter
re
t
urn_efa
u
l
t: find more
bugs
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-03
Dan Carpenter
*new* re
t
urn_efault: looks
for places
that sho
u
ld return
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-03
Dan Carpenter
sma
t
c
h
_
t
y
pe: fix __bitwise
_
_ han
d
ling
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-02
D
a
n
Carpenter
Update
s
match_data/ for 2
.
6
.
35-rc1
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-02
Dan Carpente
r
*new* pro
p
agate: check that error codes ge
t
propagated
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-29
D
an
Carpente
r
err_ptr_deref
:
don't c
o
mplai
n
if the variable
i
s
nul
l
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-26
D
an Carpen
t
er
*new
*
c
h
eck_ma
c
ros:
f
ind macro prec
e
dence bugs
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-25
Da
n
Ca
r
penter
hooks: add
L
OGIC_
H
OOK
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-25
Dan Carpenter
macro
_
tab
l
e: take
the file into
account
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-22
D
a
n Ca
r
penter
macro_
t
abl
e
: do
no
t
i
nclude sma
t
ch
.
h
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-22
Dan Ca
r
p
e
n
t
e
r
flow: handle logic things like: fo
o
(a
&& a->
b
ar);
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-22
Dan
C
arpenter
sig
n
ed: comparing to literals together cre
a
tes a false
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-22
Dan
Carpenter
deref_chec
k
: remove
the --spammy
o
p
tion
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-22
Dan
C
arpenter
de
l
e
te ch
e
ck_
l
eaks
.
c: Thi
s
check was alwa
y
s worthless
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-20
Dan Car
p
enter
wine: fixup
the no retur
n
function
s
a
bit
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-20
Dan Car
p
e
n
ter
macro_table
.
c: replac
e
m
e
n
t for
in_macro(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-18
D
an C
a
rpe
n
ter
small cleanup and
a
comment ch
a
ng
e
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-18
Dan Carpenter
*
n
ew* check_snprintf: u
s
ing the
ret
u
rn value of snpr
i
ntf
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-15
Dan Carpenter
unu
s
e
d
_re
t
urn: print function nam
e
t
h
at was
i
gnored
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-13
Dan Carpenter
mat
h
:
don't pass
n
e
gative n
u
mbers as a
b
solute max
f
or
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-13
D
a
n
C
arpenter
implied:
al
l
ow the known part to be a
r
a
n
ge list
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-13
Dan Ca
r
p
e
nter
math
:
f
i
x
get_absolute_
m
in/max
(
) for
s
izeof()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-13
Dan Carpenter
extra: make
d
o
_comparison
(
) hand
l
e two variables
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-13
Dan Carpenter
ranges: introduc
e
free_
r
ange_list()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-13
Dan Carpen
t
er
ra
n
ges: i
n
troduce possibl
y
_tru
e
/false_range_
l
i
sts()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-10
Dan Carpen
t
er
precedence: don't complain about if
fo
o
i
s
0-1
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-10
Dan Carpenter
extra: cleanup: rename do_c
o
mpari
s
o
n_range() =
>
do_comparison()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-10
Dan Ca
r
penter
k
n
ow
n
_con
d
ition_true/false(): ha
n
dle expres
s
i
o
n s
t
atements
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-07
Da
n
Carpenter
*
new*
c
heck_kunmap(): con
f
usion betwe
e
n kmap(
)
and
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-02
D
a
n Ca
r
p
e
nter
*new* smatc
h
_scripts/unlocked_paths
.
pl
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-01
Dan Carpe
n
ter
flo
w
:
cleanup: make split_function() it's own func
t
ion
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-29
Da
n
Carpenter
deref_
c
heck: use in_macro() to si
l
ence m
o
st of
t
he
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-29
Dan
C
arpenter
math: introduce
g
et_absolu
t
e_min/max()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-28
Dan Carpenter
m
a
th:
c
leanup: re
n
a
me g
e
t_implied_s
i
ngle_fuzzy_max()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-28
Dan Carpent
e
r
math:
cleanu
p
:
s
h
uffle
some functions around
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-28
Dan Carpenter
m
a
th:
c
l
e
a
n
up: get
rid o
f
th
e
*discard thing
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-28
Da
n
Carpenter
math: cleanu
p
:
get rid o
f
IMPLIED_SING
L
E
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-28
Dan Carpen
t
er
delet
e
c
h
e
c
k_nul
l
_
deref
.
c a
n
d clean up
v
a
lidation/
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-28
Dan Carpenter
flow:
the nex
t
st
a
tement sh
o
u
ld never b
e
the c
u
rrent
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-27
Dan Car
p
enter
*ne
w
*
c
heck_chec
k
_deref
.
c
:
checkin
g
for
nu
l
l inco
n
si
s
tently
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-27
Dan Carpenter
*
n
e
w
*
che
c
k_no_effect:
print warning
s
sta
t
ements
th
a
t
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-27
Dan
Car
p
enter
setup defaul
t
modif
i
cat
i
o
n
hooks in
set_tr
u
e_f
a
ls
e
_states
(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-27
Dan Carp
e
nter
i
ntroduce i
n
_macro() which retur
n
s true
if
w
e
'
re
i
n
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-25
Dan
C
a
r
penter
introduce: in_expression_s
t
atement(
)
a
n
d ren
a
m
e get_block_t
h
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-24
Dan Ca
r
penter
churn: rename __s
p
lit_stateme
n
t
s
(
) => __spl
i
t_stmt()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-23
Da
n
Carp
e
nter
extra
:
hand
l
e
i++ and
i += 2 bet
t
er outside loops
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-23
Dan Carpenter
f
ilter_kernel_deref_
c
h
e
c
k
.
sh: print the function
n
am
e
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-23
Dan Carpen
t
er
Add STRING_
H
O
OK
for exa
m
ining strin
g
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-23
Dan Carpente
r
*new* check_kernel
.
c: han
d
le
to
m
oyo
_
memory_ok() an
d
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-23
Dan Car
p
enter
core: fix handlin
g
of switc
h
statements with unreachable
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-07
D
an Carpenter
bail out earlier if functions get
t
oo di
f
ficult
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-07
Dan Carpenter
incl
u
de
s
tati
c
functions
in list
o
f functions wh
i
ch
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-07
Dan Carpenter
*
new* fre
e
i
n
g
_null: calling free for a variab
l
e that
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-05
Dan C
a
r
p
enter
equiv:
call remove_from_equiv() on assignment
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-05
Dan Carpenter
math: prev
e
nt div
i
de by zer
o
bugs
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-05
Dan C
a
r
penter
c
heck_
l
ock: ad
d
m
ore locks
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-02
Da
n
Carpen
t
er
new: c
h
eck_p
r
oc_create()
c
heck for worl
d
writable proc
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-01
Dan Carpenter
math: teach smatc
h
t
o
und
e
rstand const values
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
next