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
check_overflow: relax rules on if (ptr < &array[max]) a bit
2010-03-02
Dan Carpenter
check_o
v
er
f
lo
w
: relax rules on if
(
ptr < &arr
a
y[max
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-03-02
Dan C
a
rpenter
extra: handle loops like
w
hile(i--) {
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-27
Dan Carpent
e
r
clean up: me
r
ge a co
u
p
le
f
unction for h
a
ndling for
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-27
D
an Carpenter
fix handling of
(2
<= x) compa
r
isons w
h
ere the variable
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-25
Dan Car
p
en
t
er
check_signe
d
: disable most of the ne
w
warn
i
ngs
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-25
D
a
n Carpe
n
ter
get_
t
yp
e
()
f
ix crash on getting
p
o
inter
t
ypes
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-24
Dan
Carpenter
get_v
a
lue
(
)
m
ore int to
l
o
ng long mop up
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-24
Dan Carpenter
get_type() fix pointer handlin
g
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-24
D
an Carpe
n
ter
F
ix
g
et_v
a
l
u
e() for
((unsigned
i
nt) -1)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-24
Da
n
Carpenter
type_max(
)
:
h
a
ndle unsigned long
l
ong
.
(sort o
f
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-24
D
a
n
Carpenter
g
e
t rid of --rar
e
op
t
ion
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-24
Dan Carpent
e
r
rename ge
t
_sin
g
le_
v
alue_from_
r
ange() => get_single_value_fr
o
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-24
Dan
C
ar
p
en
t
er
for loops: add a special case for "for(i = 0; i
<
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-24
D
an Ca
r
penter
ch
e
ck_sign
e
d: check i
n
t t
y
p
e
s
as well
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-23
Dan Carp
e
n
t
e
r
smatch
.
c: use strncpy
(
) i
n
stead of strc
p
y()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-23
Dan Carpenter
debug: rename
__smatch_
p
rint_val
u
e
() => __smatch_value()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-23
Dan Carpen
t
er
check_signed: e
x
pr-
>
op is
t
ype int not char
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-23
Da
n
Carpente
r
In
t
roduce get_fuzzy_min()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-23
Dan Carpent
e
r
p
r
ecedence: cut down a
few false positive
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-23
Dan Carpen
t
er
*new*
c
h
e
ck_le16: print an error for double cpu_to_l
e
16
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-23
D
a
n
Ca
r
p
enter
*new* check_mod_time
r
: print an warnin
g
if someone
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-22
Dan Carpenter
strip_expr
(
): remove
f
o
rce cast
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-22
Da
n
Carp
e
nter
k
p
atch
.
sh: figure the emai
l
addre
s
s o
u
t automatically
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-19
Da
n
Car
p
en
t
er
*
new* smatch_
s
crip
t
s/kpatch
.
sh:
scri
p
t
for mai
l
ing
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-19
Dan
C
arpenter
Print fewer messa
g
es about unreach
e
d code
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-19
Dan Car
p
en
t
er
smat
c
h
_
c
ondition
s
: small
c
leanups and
a
dd debug
c
ode
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-19
D
an Carpe
n
te
r
fix WARN_ON
h
andlin
g
s
o
me more
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-18
Dan C
a
r
p
enter
smatch_template: small changes to com
m
ents
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-18
Dan Carpenter
clean up the makefile a
bit
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-18
Dan Carpent
e
r
handle assignments like: fo
o
=
x < 1;
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-17
D
a
n
Carpente
r
smat
c
h_states: w
h
it
e
space cha
n
ges
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-17
Dan Carpenter
s
m
atch is
s
u
p
p
osed to be using
"lon
g
long" types interna
l
ly
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-17
Dan Carpenter
new_b
u
gs
.
sh: be
t
te
r
f
i
l
t
ering
of smatch er
r
ors
f
ro
m
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-17
Dan Carp
e
n
t
er
handle stuff like t
h
e kerne
l
's WARN_O
N
() macro
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-17
Dan
C
arpenter
sm
a
tc
h
_extra: foo = !!x; do
e
s
not modi
f
y x
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-17
Dan Carpente
r
h
andl
e
assignme
n
ts like: foo = !bar(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-17
Dan Carpenter
check
_
overflow:
c
heck
for memset(
)
i
s
sue
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-17
Dan Carpenter
automat
i
cally
genera
t
e the l
i
st of fu
n
c
t
i
o
ns whi
c
h
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-16
Dan Carpen
t
er
*
n
ew* sma
t
c
h
_scripts/summarize_errs
.
sh: script for
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-16
Dan Carp
e
nter
kerne
l
:
fix xfs
false po
s
itives
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-15
Dan
C
arpen
t
er
check_overf
l
ow:
h
an
d
le: "int *p
= &arr
a
y;"
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-15
Dan
C
arpenter
check_overflow: fix bug
in get_a
r
ray_size_byt
e
s()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-15
Dan
C
arpent
e
r
p
us
h
s
o
me more stuf
f
on the big_ex
p
ressio
n
_stack
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-15
Dan Carpenter
c
h
eck
_
overflow: handle casts li
k
e
((char
*
)array)
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-15
Dan Carp
e
nter
check_overflow:
fix assigning arrays
t
o po
i
n
ters of
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-15
Dan
Carp
e
nter
check_o
v
erfl
o
w
:
fi
x
alignm
e
nt bug i
n
get_arr
a
y_size_bytes()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-15
D
a
n
Car
p
enter
c
h
eck_o
v
erflow
:
pref
e
r
r
e
c
ent ass
i
gnments
over
t
h
e
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-15
Da
n
Carpenter
Add
q
uotes
a
round string literals in smatch out
p
u
t
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-15
Dan Car
p
enter
ch
e
ck_ov
e
r
f
low: update strcpy()
an
d
strncpy() c
h
ecks
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-15
D
a
n Carpenter
kernel
.
n
o
_ret
u
rn_func
s
: _
_
reis
e
rfs
_
panic
d
oesn't return
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-14
Dan Carpenter
check_overf
l
o
w:
s
t
o
re the size in byte
s
instead
o
f
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-14
Dan Carpenter
check_
o
verflow: don
'
t complai
n
about i
f
(ptr < &
a
rr
a
y
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-14
Dan
C
arpenter
smatch_
f
low: cha
n
ge how
t
h
e b
i
g expressi
o
n
stack works
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-14
D
a
n
C
arpenter
check
_
overflow:
r
ename my_d
e
cl_i
d
=>
my_siz
e
_
i
d
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-14
Dan Carpenter
che
c
k_overflow: white space c
h
a
n
g
es
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-14
Dan Carpent
e
r
che
c
k
_
o
ve
r
flo
w
: use the _exp
r
()
hooks instead of doing
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-14
Da
n
Ca
r
penter
che
c
k_overflo
w
: remove some old debug
g
ing code
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-14
Dan Carpenter
check_
o
v
e
rflow: rename dest =
>
a
r
ray_ex
p
r
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-14
Dan Carpenter
chec
k
_overflow: ge
t
_initializer
_
bytes()
=> get_initializer_
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-14
Dan
Carpenter
che
c
k_overflow: op
t
ion_spammy => option_info
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-14
Dan
Car
p
ente
r
check_ove
r
flo
w
: han
d
le in
d
exed array ini
t
i
alizations
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-14
Dan Carpenter
check_overflow:
fix endless loop
p
arsing "int x =
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-14
D
a
n
C
a
rpe
n
t
er
fix get
_
implied_max()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-13
Dan Ca
r
penter
check_overf
l
ow: lots of
i
mprovements
and also a v
a
lidation
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-13
Dan
C
arpenter
fix crash cal
l
ing get_type() on i
m
plici
t
ly defined
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-13
Dan Carpenter
Add sma
t
ch_data/kernel
.
no_return_funcs
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-12
Dan Carpenter
func
t
i
o
n
hooks: g
e
t
r
id of co
n
ditional function h
o
o
k
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-12
Dan Carp
e
nter
add sm
a
tc
h
_scripts/new_bugs
.
sh: prints the bugs introduced
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-12
Da
n
Carpen
t
e
r
err_ptr
_
dere
f
: up
d
ate to
u
se newer api
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-12
Dan Carpen
t
er
unre
a
ch
a
bl
e
code:
e
nable by def
a
ult
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-12
D
a
n Carpenter
show_unr
e
a
c
hable
.
s
h
:
add -k
(
k
ernel mode) -b (i
g
nore
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-11
Dan Carpenter
unreachable code: work arou
n
d gcc work arounds
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-11
Dan Carpe
n
ter
print an error me
s
sage about unreached initializers
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-10
Dan Carp
e
nter
check_stack: tweak the o
u
tput a bi
t
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-10
Chris
t
o
p
h
er L
i
Pointer don't in
h
e
r
ent the alignmen
t
from base ty
p
e
commit
|
commitdiff
|
tree
2010-02-08
Dan
C
arp
e
nter
New ch
e
ck_
s
tack
.
c:
warn if
k
e
r
nel co
d
e puts too much
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-08
Da
n
Carpenter
Ad
d
register_
p
roject(
)
t
o
check_
l
ist
.
h
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-02-01
Dan Carpe
n
t
e
r
update the
d
ocumentation a bit
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-30
D
a
n
Carpenter
check_memory: only l
o
ad ke
r
nel
.
frees_arg
u
m
e
nt whe
n
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-29
Dan Car
p
enter
Create: smatch_project
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-29
Dan Carpenter
bail if
t
hings are
t
aki
n
g
t
o
o long
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-29
Dan Carpent
e
r
add smatch_sc
r
ipts/filter_kernel_deref_check
.
sh
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-29
Dan Carpenter
c
heck_deref_check
:
do not c
o
mpla
i
n
i
n
loop
p
r
e
cond
i
tions
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-28
Dan Carpente
r
t
w
ea
k
unreach
a
ble code
messages
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-27
Da
n
Carpenter
check_sign
e
d: hand
l
e signe
d
1
b
i
t
val
u
es
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-27
Dan Ca
r
pente
r
check_signed
:
don't compla
i
n about u
n
signed int x
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-27
D
an Car
p
enter
new
f
unction: type_unsign
e
d
(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-26
Dan Car
p
e
n
ter
p
a
r
t
ly replace check_null_deref
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-25
Dan Carpenter
mo
d
ification
hooks: only allow one hook per variab
l
e
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-25
Dan Carpe
n
ter
i
n
t
r
oduce:
set_de
f
ault
_
m
odification_
h
ook()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-25
D
a
n Carpen
t
er
cle
a
nup: get rid of s
m
a
t
c
h_containers
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-25
Dan Carpenter
check
_
null_deref: only th
e
k
e
rnel cares abou
t
failed
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-23
Dan Carpent
e
r
Fix OpenBSD compile
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-23
Dan Carpenter
ch
e
ck_signed:
clean ups
.
add c
h
eck for impos
s
i
b
l
y
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-22
D
a
n
C
arpenter
make
e
ver
y
thing use smatch_function
_
hasht
a
ble
.
h
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-22
Dan Carpenter
add smatch_fu
n
ction_hashta
b
le
.
h
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-22
Dan Ca
r
p
enter
Move
e
very
t
hing to
t
h
e
new
cwchash h
a
s
h
table
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-22
Dan
C
arpenter
add
c
wc
h
ash
h
ash tabl
e
i
m
plementation
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-21
Ro
b
ert Bedi
c
hek
N
o
vafora
license grant using MIT license
.
commit
|
commitdiff
|
tree
2010-01-21
D
a
n
Car
p
enter
f
unction_implies_hook: fix
bug
w
hen a
f
unction
h
a
s
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
next