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
buf_size: use strncpy() and friends to set the buf size
2010-07-31
Da
n
Carpenter
b
u
f_si
z
e: use strncpy(
)
and friends t
o
set
the buf
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-31
Dan Car
p
enter
buf_size: whitespa
c
e chan
g
es
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-31
Dan Carpenter
over
f
low: remove unused functions
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-31
Dan Carpenter
buf_si
z
e
:
us
e
a
l
l
oc_state_num() instead
of custom vers
i
on
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-31
Dan Carpent
e
r
buf_size: remove unused definition
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-31
D
a
n
Carpenter
overflo
w
:
m
ake array size trac
k
ing int
o
a library function
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-30
Dan Carpenter
u
n
wind:
ad
d
p
c
i_iomap() and p
c
i_iounmap()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-29
Dan Carpente
r
*n
e
w* check_k
m
a
ll
o
c_to_bugon: don't cal
l
bug_on() for
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-29
Dan Carpe
n
te
r
*new* check_unwind:
c
heck
that module
_
in
i
t f
u
n
c
ti
o
n
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-21
D
a
n Carpenter
c
o
r
e: proc
e
ss inlin
e
statements
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-21
Dan Carpenter
flow: h
a
ndle asm statem
e
nts correctly
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-19
Dan Carpent
e
r
M
e
rge gi
t
:
//git
.
kernel
.
org/pu
b
/s
c
m/dev
e
l
/
spa
r
se/chrisl
.
.
.
commit
|
commitdiff
|
tree
2010-07-19
Dan Carpe
n
t
e
r
add u
b
ifs_asse
r
t()
t
o list o
f
assert macros
that
call
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-19
D
an Carp
e
nte
r
check
_
dma: add a che
c
k
for foo = kmallo
c
(
s
izeof(*foo
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-14
Dan Carpen
t
er
signed: unsigned variab
l
es are
a
llowed
t
o do ma
t
h wi
t
h
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-09
Dan Carpenter
overf
l
ow: h
a
ndle "if (strlen(foo) < 10) {
.
.
.
"
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-09
D
an Carpenter
ov
e
rfl
o
w: add support for strl
e
n
(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-08
Tilman Sauerbec
k
War
n
if random poi
n
ters a
r
e used as source
buf
f
er
s
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-08
Dan Carpe
n
t
e
r
leaks: replace check_memory
.
c wi
t
h
a
rewrite
c
h
eck_leaks
.
c
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-08
Dan Carpent
e
r
get_variab
l
e_
f
rom_expr_complex(): r
e
t
urn
pro
p
er symbol
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-06
Til
m
an Sauerbeck
Adde
d
a test c
a
se for
th
e
recent
l
y intr
o
duc
e
d extended
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-06
Dan Carpenter
Makefile: s
m
a
ll whites
p
a
c
e change
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-06
Dan Carpente
r
memory: remo
v
e
the warnings abo
u
t
freed memory
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-06
Tilman Sa
u
erbeck
Find leaks that
occu
r
by setting point
e
r
s
to allocate
d
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-06
Tilman Sa
u
erbeck
Added a simp
l
e test case for the double
free
chec
k
er
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-06
Dan C
a
rpenter
che
c
k_fr
e
e:
c
r
e
ate a separ
a
te check for mi
s
using freed
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-07-05
Dan Carpente
r
rela
t
ed
:
r
e
name dinf
o
->eq
u
iv to dinfo->related
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-30
Dan Carpenter
con
s
traints: shuf
f
le
t
h
i
n
gs around a
b
it
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-30
Dan Carpenter
*new* scri
p
ts/generisize
.
pl
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-30
Dan Carpenter
ty
p
e:
a
llow the parameter to be
n
u
l
l for type_un
s
i
gne
d
()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-15
Dan Carpen
t
er
redo th
e
ignored_macros s
t
u
ff properly
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-14
D
a
n Carpe
n
ter
co
n
ditions:
fix
m
emory le
a
k
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-14
Da
n
Carpenter
elim
i
n
ate
s
ome new "statement has
no ef
f
ect" fa
l
s
e
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-14
Dan Carpenter
get
r
id of get_
n
ext_stmt
(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-14
Dan Carpen
t
e
r
c
ore: h
a
ndle "foo = ({fr
o
b
(
); frob(); frob(); 1;}
)
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-14
Dan Carpenter
locking: add spin_trylock_irqs
a
ve()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-14
Dan Car
p
enter
fix cra
s
hi
n
g bug
c
au
s
ed by the l
i
ttle en
d
ian
c
h
ec
k
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-11
Dan Carpenter
extr
a
:
ignore WARN_ON()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-11
D
an C
a
rpente
r
err_pt
r
: r
e
move jed
e
c
_
pro
b
e() f
r
o
m
err
_
ptr list
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-11
Dan Carpe
n
ter
snprintf
:
turn o
f
f be default
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-11
Dan Carpenter
validation: up
d
ate overflo
w
t
est to
add quotes
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-11
Dan Carpenter
conditions:
fix handling of __builtin_c
o
nst
a
nt_p()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-10
Dan Carpenter
over
f
low:
a
dd
qu
o
tes around variable names
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-10
Dan C
a
rpen
t
er
o
verflow: ignore arr
a
ys
w
ith only one element
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-10
Dan Carpe
n
ter
ov
e
rflow: add calloc(
)
suppo
r
t
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-10
Dan Carpenter
overflow: check for copy_to_user() overflows
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-09
Dan
C
arpenter
memory: fix lea
k
fals
e
positi
v
es caused
b
y "foo
=
bar
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-08
Dan Car
p
ent
e
r
le16: fix false
posit
i
v
es and
t
u
r
n
o
n by defau
l
t
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-08
Dan
C
arpenter
macr
o
:
t
he
f
irst macro a
d
ded is t
h
e one to keep
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-08
Dan Carpent
e
r
memory:
a
dd quo
t
es
i
n
output
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-07
Dan Carpent
e
r
flow:
f
i
x "if()
;
" fal
s
e positi
v
es
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-07
D
a
n Carpen
t
er
e
xtra:
tweak assignment of uns
i
g
ned
v
a
lues
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-05
Dan Carp
e
nter
smatch_extra: cleanup match_a
s
si
g
n
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-04
Dan Carpenter
return_
e
fault:
fin
d
more bugs
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-03
Dan Carpe
n
ter
*ne
w
* return_efault
:
l
oo
k
s
for plac
e
s that should return
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-03
Dan
Car
p
en
t
e
r
smatch_t
y
pe: fix
_
_bitwis
e
__
h
an
d
lin
g
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-02
Dan
C
a
rpenter
U
pdate smat
c
h_data
/
for 2
.
6
.
35-
r
c1
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-06-02
Dan Carpenter
*new* propagate
:
chec
k
that error codes ge
t
propaga
t
ed
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-29
Da
n
Carpenter
e
rr_pt
r
_de
r
e
f
: don't complain if the varia
b
le is null
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-26
D
a
n Carpe
n
ter
*
n
ew* check_ma
c
ros:
f
in
d
macro prec
e
d
e
nce bugs
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-25
Dan
Carpen
t
e
r
hoo
k
s:
a
dd
L
OGIC_HOOK
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-25
Dan Ca
r
penter
macro_table:
take the
file into acc
o
u
nt
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-22
Dan C
a
r
pe
n
ter
macro_table: do not include smatch
.
h
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-22
Dan Carpenter
flow: hand
l
e logic things like: foo(
a
&& a-
>
ba
r
);
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-22
Dan Carpenter
s
igned: c
o
mparing to l
i
terals tog
e
ther cr
e
ates a false
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-22
Da
n
C
a
rpe
n
ter
deref_check
:
rem
o
ve the
-
-
spammy option
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-22
Dan C
a
rpent
e
r
del
e
te ch
e
c
k
_
l
eaks
.
c: This ch
e
ck w
a
s always wo
r
thles
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-20
Dan Carpenter
wine: fixup the no
r
eturn funct
i
o
ns a bit
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-20
Dan C
a
rpenter
macro_t
a
ble
.
c: replacement for in_macro()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-18
Dan Carpenter
small cleanup and a comment change
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-18
Dan Carpenter
*ne
w
*
check_snprintf: using the return v
a
lue
o
f
s
n
printf
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-15
Dan Carpente
r
unused_re
t
u
rn: print function n
a
me that
w
a
s
ignored
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-13
Dan Carpe
n
ter
mat
h
: do
n
't pass neg
a
t
i
v
e n
u
m
bers
a
s
absolute max f
o
r
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-13
D
a
n
C
a
rpenter
impl
i
e
d: al
l
ow the k
n
own part
to be a
r
ange list
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-13
Dan Carpe
n
te
r
ma
t
h: fix get_absolute_min/max() for sizeof()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-13
D
a
n
Carpe
n
te
r
ext
r
a
: make do_comparison() handle two variables
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-13
D
a
n
C
a
rpente
r
rang
e
s
:
in
t
roduce
f
ree_range_list()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-13
Dan Carpen
t
er
r
a
nges:
i
ntroduce possibly_true/f
a
lse_range_lists()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-10
Dan Carp
e
nter
precedence: don't complai
n
about
if foo is 0-1
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-10
D
an Car
p
ent
e
r
extr
a
:
c
leanup: rename do_c
o
mpa
r
ison_ran
g
e() => do_comparison()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-10
Dan Carpe
n
ter
known_
c
o
n
dition_tr
u
e/f
a
lse
(
): handl
e
expressi
o
n stat
e
ments
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-07
Dan Carpenter
*new* check_ku
n
m
a
p(): confusi
o
n between kmap() and
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-02
Dan Carpente
r
*new* smatch_scripts/u
n
locked_paths
.
p
l
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-05-01
Dan
Carpe
n
ter
flow:
c
le
a
nup:
make split_func
t
ion
(
)
it's own
f
unct
i
on
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-29
Da
n
Carpenter
d
eref_check:
u
s
e in_macro
(
)
t
o s
i
le
n
ce most o
f
the
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-29
Dan
C
arpenter
m
a
th: int
r
oduce
get
_
abs
o
l
ute_min/max()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-28
Dan Carpenter
math: clean
u
p: rename g
e
t_
i
mplied
_
sing
l
e_
f
uzz
y
_max()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-28
Dan
C
ar
p
enter
math: cleanup: shuffle so
m
e func
t
ions around
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-28
D
an Carpente
r
math: cleanup: get rid of
t
he
*discard thing
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-28
Dan Carp
e
n
t
e
r
math: cl
e
anup: g
e
t rid
of IMPLIED_S
I
NGLE
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-28
D
a
n Carpenter
delete c
h
eck_
n
ull_de
r
ef
.
c and clean u
p
valid
a
tion/
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-28
Dan
C
arpenter
fl
o
w:
the
next state
m
e
n
t should never
b
e th
e
cur
r
e
nt
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-27
Dan
C
arpenter
*new* ch
e
ck_check_deref
.
c: che
c
kin
g
for
n
ull inconsistently
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-27
Dan Carpenter
*new*
c
he
c
k
_
no_effect: print warnings statements that
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-27
Dan C
a
rpenter
setup
default modification
h
o
o
ks in
s
e
t_true_false_states()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-27
Dan Carpenter
introduce
in_
m
acro() which returns t
r
ue if we're in
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-25
D
a
n
C
arpenter
introduce:
i
n
_
expression_s
t
atement() and ren
a
me get_block_th
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-24
Dan Ca
r
pen
t
e
r
churn:
rename
_
_spli
t
_statements() => __spli
t
_st
m
t
(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-23
Dan Carpenter
extra: ha
n
dle i++ and i += 2 bett
e
r outside loop
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-04-23
Dan
Carpe
n
te
r
filter_kern
e
l_de
r
ef_check
.
sh: print t
h
e function n
a
mes
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
next