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
extra: handle WARN_ON(func(&set_this_pointer));
2010-08-02
Dan Carpenter
extr
a
: handle WARN
_
ON(fun
c
(&set_this_pointer));
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-02
D
a
n Carpenter
buf_size: I
br
o
k
e initializer handlin
g
b
y mistak
e
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-02
Dan Carpenter
oops
.
fix comp
i
l
e
error
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-02
Dan Carpe
n
ter
buf_
s
ize:
remove memset() and
m
emmove()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-01
D
a
n Carpenter
imp
l
ied_not_eq
u
a
l
: handle l
i
terals
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-08-01
Dan Carp
e
nter
r
e
source: crashing bug
o
n incorrec
t
inp
u
t
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-31
D
a
n
Carp
e
nter
buf_size: ignore
dynamica
l
ly sized arrays
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-31
Dan Carpent
e
r
buf_size: add s
u
pport for memdup()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-31
Da
n
Carpen
t
e
r
b
u
f_size:
a
dd
s
u
ppo
r
t
f
or strndup
(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-31
D
an C
a
rpente
r
buf_size: use s
t
rcpy()
t
o
de
t
e
rmine the size of
t
he
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-31
Dan Car
p
enter
buf_size: us
e
s
t
rncpy() and friends to
s
et the buf
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-31
Dan
C
arpenter
buf_size: whitespace change
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-31
Dan Carpenter
overflow: remove u
n
us
e
d f
u
nctions
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-31
Dan
C
arpenter
bu
f
_
size:
use al
l
oc
_
state_num() ins
t
ea
d
of
c
ustom versi
o
n
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-31
Dan Carpenter
b
u
f_si
z
e
:
r
emove unu
s
ed d
e
f
i
nition
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-31
Dan C
a
rpenter
o
verflow: make arra
y
size
tracking into a library f
u
nction
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-30
D
a
n Carpente
r
un
w
ind: ad
d
pci_iomap
(
) and pci_iounmap()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-29
Dan Ca
r
penter
*new* c
h
eck_kmall
o
c_to_bu
g
o
n
:
d
on't c
a
l
l
bug_on() for
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-29
Dan Ca
r
p
e
nter
*ne
w
* chec
k
_unwind
:
c
h
e
c
k that mo
d
ule_init function
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-21
D
an
C
arpenter
core: p
r
ocess inline statements
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-21
Dan Carpe
n
ter
flow: ha
n
d
le asm
statements correc
t
l
y
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-19
Dan
C
arpen
t
er
Mer
g
e gi
t
://gi
t
.
kernel
.
org
/
pub/scm/devel/
s
p
a
rs
e
/
chrisl
.
.
.
commit
|
commitdiff
|
tree
2010-07-19
Da
n
Carpente
r
add ubif
s
_
a
sse
r
t() t
o
list of
assert ma
c
ros that cal
l
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-19
Dan Car
p
enter
ch
e
c
k
_
d
m
a: a
d
d a check fo
r
f
oo =
k
malloc(sizeof(*foo
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-14
Dan Carpent
e
r
signed:
u
nsigned v
a
riables ar
e
a
llowed
t
o do math with
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-09
Dan Carpenter
overflow:
h
andle "
i
f (strle
n
(foo) < 10) {
.
.
.
"
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-09
D
a
n Carpenter
overflow: add s
u
p
p
o
r
t f
o
r strlen()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-08
D
a
n Carpenter
leaks
:
replace check
_
memory
.
c with a rewrite c
h
eck_leaks
.
c
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-08
Dan C
a
rpent
e
r
get_v
a
ri
a
ble
_
from_expr_compl
e
x():
r
e
t
u
rn
p
rop
e
r symbol
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-06
Dan
C
arpenter
Makefi
l
e: small w
h
itespace
change
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-06
D
an C
a
rpent
e
r
me
m
ory: remove t
h
e
w
ar
n
in
g
s about
f
reed
m
emory
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-06
Dan Carpen
t
e
r
check_free: create a separat
e
c
h
e
ck for
misusing
f
reed
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-05
D
a
n Carpenter
r
elated: r
e
name dinfo->equiv to dinfo->related
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-30
Da
n
Carpenter
c
onstrai
n
ts
:
shuffle thi
n
g
s
ar
o
un
d
a bit
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-30
Dan C
a
r
p
enter
*new* scrip
t
s
/gene
r
isize
.
pl
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-30
Dan Carpen
t
er
type: allow the pa
r
am
e
te
r
to be null
f
or type_unsigned(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-15
Dan Carpenter
red
o
the ignored
_
macros stuff p
r
operly
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-14
Dan Carpen
t
e
r
conditions: fix m
e
m
o
ry leak
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-14
Dan Carpenter
e
l
imi
n
ate some new "stat
e
ment has n
o
e
ffect" f
a
lse
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-14
Dan
C
arpenter
get
r
id of get_next_stmt()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-14
D
an Ca
r
pe
n
ter
core:
h
andle "foo
= ({frob();
frob(); frob(); 1;})
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-14
Dan
C
arpenter
lo
c
king:
add s
p
i
n
_
trylock_irqsave()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-14
D
a
n Carpe
n
ter
fix crashing bug
c
aused
by
t
he
lit
t
l
e
endi
a
n ch
e
ck
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-11
Dan Carpent
e
r
extra: ignore WARN
_
ON()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-11
Da
n
Carpenter
err_ptr: re
m
ove j
e
dec_
p
rob
e
() from err_ptr
l
ist
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-11
Dan
C
arpenter
s
nprint
f
: turn off be default
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-11
Dan Carpenter
validatio
n
: update overfl
o
w test to
a
dd q
u
otes
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-11
Dan Carp
e
n
t
e
r
cond
i
tion
s
: fix
han
d
ling of
__buil
t
in_constant
_
p()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-10
Dan
Car
p
en
t
e
r
overflow: add quo
t
e
s arou
n
d variable names
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-10
Dan Carpenter
ove
r
flow:
ignore arrays w
i
t
h only
o
ne
e
lement
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-10
D
an Ca
r
penter
o
v
erfl
o
w
:
add ca
l
loc
(
)
s
u
p
port
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-10
Dan Carpenter
overfl
o
w
:
ch
e
ck for co
p
y_to_user() overfl
o
w
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-09
Dan Carpe
n
ter
m
emory: fix leak false positives caused by "f
o
o
= bar
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-08
Dan Car
p
e
n
t
e
r
le
1
6: fi
x
fa
l
se positives and
t
u
rn
o
n
b
y
default
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-08
D
an C
a
rpe
n
ter
m
a
cro
:
the firs
t
macr
o
adde
d
is the on
e
to keep
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-08
D
a
n Carpenter
m
emory: add q
u
otes in output
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-07
Dan Ca
r
penter
flow
:
fix "
i
f();" false
p
o
s
i
t
ive
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-07
D
a
n Carpenter
e
x
tra:
t
weak assign
m
ent
o
f unsigned value
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-05
Dan Carpenter
smatch_extra
:
cleanup match_assign
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-04
Da
n
C
a
r
p
enter
return_
e
faul
t
: find more bugs
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-03
Dan Carpe
n
ter
*new* return_
e
fau
l
t:
l
oo
k
s for places that
s
hould
re
t
urn
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-03
Dan C
a
rpenter
smatch
_
ty
p
e:
fix _
_
bitwise__ handling
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-02
Dan Ca
r
p
e
nter
Update smatch_data/ f
o
r 2
.
6
.
35-rc1
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-02
D
a
n
Ca
r
penter
*new
*
pr
o
pagate: check that erro
r
codes
g
et
propagated
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-29
Dan Carpenter
err_ptr_d
e
ref: don'
t
complain if the variable is
nul
l
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-26
Dan C
a
r
penter
*
new* c
h
eck_
m
a
c
r
o
s
: find macro prec
e
denc
e
bu
g
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-25
D
a
n Ca
r
penter
hooks:
add LOGIC
_
HOOK
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-25
D
a
n Carpenter
macro
_
tab
l
e
:
t
ake the file into accoun
t
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-22
Dan Carpenter
macro_table: do
n
ot includ
e
smatch
.
h
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-22
D
an
Carpenter
fl
o
w: ha
n
dle logi
c
things like: f
o
o(a &
&
a
-
>bar);
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-22
Dan Ca
r
penter
s
i
gned: comparing to literals t
o
gethe
r
creates a false
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-22
D
an Ca
r
penter
d
eref_chec
k
:
r
emov
e
th
e
--spam
m
y opt
i
on
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-22
Dan Carpenter
delete check_leaks
.
c: This
check was always worthless
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-20
Dan Carpenter
wine: fixup the no return functio
n
s a bit
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-20
Dan Ca
r
pen
t
er
m
a
cro_table
.
c: re
p
lacement for in_macro()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-18
Dan Carp
e
nter
small
cle
a
nup a
n
d a comme
n
t change
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-18
Dan
C
arpente
r
*new* check_snprintf: using the
return value
o
f snprintf
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-15
Dan Carpen
t
e
r
unu
s
ed_return
:
p
rint function n
a
me that w
a
s ign
o
red
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-13
Dan Ca
r
p
e
nte
r
math: don't p
a
ss negative numbers as absol
u
te max for
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-13
Dan Carpenter
i
mp
l
ied: allow the known pa
r
t to be a range list
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-13
Da
n
Carpenter
math: fix get_absolute
_
min/max() for sizeof()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-13
Dan
C
arpen
t
er
extra: ma
k
e do_comparison
(
)
ha
n
dle two variable
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-13
Dan C
a
rpenter
ranges
:
int
r
od
u
ce free_range_li
s
t()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-13
Dan Carpen
t
er
ranges: intro
d
uce possibly_true/fal
s
e_range_li
s
t
s(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-10
Dan Carpenter
precedence: don't c
o
mplai
n
a
bout if foo is 0-1
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-10
Da
n
Carpenter
extra: c
l
e
anu
p
: ren
a
m
e do_co
m
p
a
rison_range() => do_
c
o
mparison
(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-10
Dan Carpen
t
er
kn
o
wn_condit
i
on_true/false(): handle expression statemen
t
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-07
Dan Carpen
t
e
r
*new* ch
e
ck
_
kunm
a
p():
confusion b
e
tw
e
e
n kmap() and
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-02
Dan
Carpenter
*new* smat
c
h_sc
r
i
p
ts/unl
o
cked_paths
.
pl
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-01
Dan Ca
r
p
enter
flow: cleanup: make split
_
fu
n
ct
i
on() it's own
f
unction
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-29
Dan Carpenter
deref_ch
e
ck: use in_macro() to si
l
ence mo
s
t
of the
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-29
Dan Carpe
n
ter
m
a
th: introduc
e
g
e
t
_
absolute
_
min
/
max(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-28
D
a
n Carpenter
mat
h
: c
l
eanup: rename get_implied_
s
ingle_fu
z
zy_max()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-28
Dan Ca
r
pe
n
ter
math: clean
u
p: shuffl
e
some functions around
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-28
Dan Carpenter
math:
c
lea
n
up: g
e
t ri
d
of the *discard thing
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-28
Da
n
C
arpen
t
er
ma
t
h: cleanup: get r
i
d
of IMPLI
E
D_
S
I
N
GLE
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-28
Dan Carpenter
delete check_null_deref
.
c a
n
d cl
e
an up vali
d
ation/
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-28
Dan Ca
r
penter
f
l
ow: the next statem
e
n
t
should never
b
e the
c
urre
n
t
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-27
Da
n
Carpenter
*new* chec
k
_check_
d
eref
.
c: che
c
king
f
or null incon
s
istently
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-27
Dan Carpenter
*new* check
_
n
o
_
effec
t
: pr
i
n
t
warnings statem
e
nts that
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
next