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
precedence: cut down a few false positives
2010-02-23
Dan
Car
p
ente
r
precede
n
c
e
: cut down a few
fa
l
se pos
i
tives
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-23
Dan Carpe
n
ter
*new* check_le1
6
: pri
n
t an
error for doub
l
e cpu_to_le1
6
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-23
Da
n
C
a
rp
e
nter
*new* check_mod_t
i
mer: prin
t
an war
n
ing
i
f
s
omeone
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-22
Dan Carpen
t
er
s
t
rip_expr(): remove f
o
rce
cast
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-22
Dan Car
p
enter
k
patch
.
sh: fi
g
ur
e
the email
a
dd
r
e
s
s
out aut
o
matically
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-19
Dan C
a
rpenter
*new* sma
t
ch
_
scr
i
pts/kp
a
tch
.
sh: script f
o
r
mailing
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-19
D
an Carpenter
Print few
e
r messages about un
r
eached code
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-19
D
a
n Carpenter
smatch_conditions: smal
l
clean
u
ps and
add
debug code
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-19
Dan Car
p
enter
fix WA
R
N_ON
h
a
n
d
l
i
ng some more
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-18
D
a
n
C
a
r
pent
e
r
smatc
h
_templ
a
t
e: s
m
all
c
h
anges to com
m
ents
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-18
D
a
n Carpenter
clean up
t
he makefile a bit
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-18
Dan Ca
r
penter
ha
n
dl
e
a
s
signments like:
f
oo
=
x < 1;
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-17
Dan Carpent
e
r
smatch_states: white s
p
ac
e
ch
a
nges
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-17
Dan Carpenter
smatch i
s
su
p
posed to be using
"long long" type
s
internally
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-17
D
an Carpe
n
ter
new_bugs
.
sh: better filt
e
ring of smatch error
s
from
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-17
Dan Carp
e
nter
handle stuff like
the kerne
l
's WARN_ON()
macro
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-17
D
a
n C
a
rpenter
sma
t
c
h_ext
r
a: foo =
!
!x; do
e
s not mo
d
ify x
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-17
Dan Car
p
enter
handle assignmen
t
s like: foo =
!
b
ar(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-17
Dan C
a
r
p
enter
check_overflow: ch
e
ck
f
or memset()
i
ssues
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-17
D
a
n
Carp
e
nte
r
automati
c
ally generate the
l
ist of function
s
which
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-16
Dan Carpenter
*new
*
smatch_scripts/summarize_
e
rrs
.
sh: script f
o
r
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-16
Dan Carpenter
kern
e
l: fix xfs fal
s
e positives
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-15
Dan
Carpente
r
check
_
overfl
o
w: hand
l
e: "int
*
p = &a
r
ray;"
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-15
Dan Carpenter
check_o
v
erflow:
f
ix bug in ge
t
_array_size_bytes(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-15
D
an Carpenter
pu
s
h some more stuff o
n
the bi
g
_
e
xp
r
ess
i
on_stac
k
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-15
D
an
Carpen
t
er
check_overflow:
h
andle casts like ((ch
a
r *)array)
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-15
Dan Car
p
enter
ch
e
ck_o
v
erflow: fix assig
n
ing
a
rray
s
to point
e
rs of
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-15
Dan Carpenter
che
c
k_ov
e
rflow: fix ali
g
nment bug in ge
t
_arr
a
y
_size_b
y
tes()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-15
D
a
n Carpenter
ch
e
ck_overflow: p
r
efer r
e
cent assignmen
t
s
ove
r
t
he
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-15
Dan Ca
r
penter
Add quotes around string
l
i
t
erals in s
m
a
t
ch output
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-15
Dan Carpenter
check_overf
l
ow: update str
c
p
y() a
n
d strncpy() checks
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-15
Dan
C
arp
e
nter
k
e
r
nel
.
n
o_
r
e
t
urn_funcs: __rei
s
erfs_
p
anic doesn't ret
u
r
n
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-14
Dan Carpent
e
r
check
_
overflow: store
th
e
si
z
e
in bytes i
n
ste
a
d
o
f
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-14
Dan Carpenter
check_overflo
w
:
d
o
n't c
o
mpl
a
i
n
about if (
p
tr <
&
array
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-14
D
a
n
C
arpenter
sm
a
tch_flow: cha
n
ge how the
b
i
g expre
s
s
i
o
n
st
a
ck works
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-14
Dan
C
arpent
e
r
check_overflow: r
e
n
am
e
my_dec
l
_id => my_siz
e
_id
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-14
Dan Carpent
e
r
check_ov
e
rfl
o
w
: white space
c
h
a
nge
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-14
D
a
n
C
arpe
n
ter
check
_
o
verflow:
use
the _exp
r
() hooks instead of doing
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-14
D
a
n
Ca
r
penter
check_overflo
w
:
remove some
old debugging c
o
d
e
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-14
Dan Carpenter
ch
e
ck_overflow: rename dest => array_expr
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-14
Dan
Carpe
n
ter
che
c
k_overflow: ge
t
_initial
i
ze
r
_bytes() => get_initi
a
lizer
_
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-14
D
a
n Carpenter
check
_
ove
r
flow: opti
o
n_spamm
y
=> option_info
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-14
Dan Car
p
ente
r
check_overflow: handle i
n
dexed a
r
ray initializat
i
ons
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-14
Da
n
Carpenter
ch
e
ck_overflow: f
i
x endless loop parsing "int
x
=
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-14
Dan Carpenter
f
ix get_i
m
p
l
ie
d
_max()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-13
Dan
C
a
rpen
t
er
check_ov
e
rflow
:
lots of improvements
a
n
d also a validation
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-13
Dan C
a
rp
e
n
t
er
fix crash callin
g
get_type
(
) on implicitly define
d
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-13
Dan
Car
p
e
nter
A
dd smatch_data/kernel
.
no_return_funcs
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-12
Da
n
Car
p
enter
function hooks: get rid of
co
n
dit
i
onal funct
i
on hooks
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-12
Da
n
Car
p
ent
e
r
add sm
a
tch_scripts/new_bugs
.
sh: p
r
i
n
ts the
b
u
gs intr
o
duced
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-12
Dan
Carpenter
e
rr_ptr_d
e
ref: upda
t
e to use newer
a
pi
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-12
Dan Car
p
enter
unreachable code: enab
l
e by d
e
fault
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-12
Dan Carpent
e
r
show_unre
a
c
hable
.
sh: add -k (kernel
mode
)
-b (ignore
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-11
D
a
n
C
a
rpenter
unreachabl
e
c
ode: wo
r
k
a
r
o
und
g
c
c
work arounds
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-11
Dan Car
p
enter
pr
i
nt a
n
error
m
essage
a
bout unrea
c
hed initiali
z
ers
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-10
Dan Carp
e
nter
check_s
t
ack: tweak the output a bi
t
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-08
Dan
C
arpen
t
er
New che
c
k_stack
.
c: warn if kernel
code
put
s
too m
u
ch
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-08
Dan Carpen
t
er
A
d
d regist
e
r_pr
o
ject() to check_l
i
st
.
h
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-02-01
Dan Carp
e
nter
update the doc
u
ment
a
tion
a
bit
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-30
Dan Carpenter
check_me
m
ory: only load kern
e
l
.
f
rees_argum
e
nt when
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-29
Dan
C
a
r
p
enter
Crea
t
e
:
sma
t
ch_project
.
c
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-29
Dan
C
arpenter
bail i
f
things
a
re
t
aking too lon
g
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-29
Dan Carpente
r
a
dd
s
m
a
tch
_
sc
r
i
pts/f
i
l
te
r
_kernel_dere
f
_check
.
sh
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-29
Dan Carpenter
check
_
deref_che
c
k: do not compl
a
i
n
in
l
oop p
r
e conditions
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-28
Dan C
a
rpe
n
ter
twe
a
k
unr
e
achab
l
e code messages
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-27
Dan Carpenter
check_
s
igned: handle signed 1
b
i
t
va
l
ues
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-27
Dan Carpente
r
chec
k
_sign
e
d
: don't com
p
la
i
n about unsigned int x
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-27
Dan Carpe
n
ter
n
ew fun
c
t
i
on
:
t
y
p
e_unsigned()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-26
Dan Carpent
e
r
partly replace check_null_d
e
ref
.
c
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-25
Dan Carp
e
nter
modif
i
cat
i
on
h
ooks
:
o
nly allow one ho
o
k per
v
ar
i
abl
e
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-25
Dan Carpen
t
er
int
r
od
u
ce
:
set_def
a
ul
t
_m
o
di
f
ication_hoo
k
()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-25
Dan C
a
r
p
enter
cleanup: get rid of smat
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
r
nel cares about failed
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-23
Dan Carpenter
Fix Open
B
S
D
compile
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-23
Dan
C
ar
p
enter
c
h
eck_signed:
c
le
a
n u
p
s
.
add c
h
ec
k
f
o
r
impossi
b
ly
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-22
Dan Carp
e
nter
m
ake everything use smatch_funct
i
on_h
a
s
h
table
.
h
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-22
Dan Carpen
t
er
ad
d
smatch_function_hashtable
.
h
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-22
D
an
C
a
r
p
e
nter
Move everything to t
h
e ne
w
cwchash h
a
sh table
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-22
Dan Ca
r
pe
n
ter
add cwcha
s
h hash table implementation
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-21
Dan
Carpent
e
r
function_
i
mplies_hook: fix bug w
h
en a function has
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-21
Da
n
Carpenter
chec
k
_signe
d
:
warn on a
s
signing negative
t
o
u
nsigned
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-20
Dan Carpente
r
Mak
e
smatc
h
work
again
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-20
Dan Carp
e
nter
Merge
git://gi
t
.
k
e
rn
e
l
.
org/pub/scm/
d
e
v
el/sparse/
c
hrisl
.
.
.
commit
|
commitdiff
|
tree
2010-01-20
D
an Carpenter
Move the chec
k
s
out of smatch
.
c
into check_list
.
h
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-20
Dan Carpen
t
e
r
silence
s
ome sparse war
n
ings: (
)
=
>
(v
o
id)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-20
D
a
n Car
p
enter
i
n
trod
u
ce: type_min() and type_max()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-20
D
an Ca
r
p
enter
wine
Wt
o
A: fix cra
s
h
i
ng
bug
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-19
Da
n
C
a
rpenter
n
e
w file:
s
match_sc
r
i
pts/
g
e
n
_dma_funcs
.
sh
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-19
Dan Carpenter
show_ifs
.
s
h
: Add the
-C
o
ption
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-19
Dan Carp
e
nter
check_memory:
eliminate
s
ome
false positives
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-19
D
a
n
Carpen
t
er
get
_
value(): the return
v
alue was getting cut off
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-19
Dan
C
a
rp
e
nter
c
heck
_
signed: clarify e
r
ror me
s
sage
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-19
Da
n
C
a
rpente
r
wi
n
e_f
i
lehandles: if the file handl
e
gets reassigned
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-19
D
a
n C
a
rpente
r
Help kchecker and
wine_checker
.
sh find the smatch binary
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-19
Dan Ca
r
p
enter
get_variable_from_expr()
:
fix array d
i
s
p
lay (even
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-18
Dan Carpente
r
delete_st
a
te():
fi
x
a bug c
a
lling delete state inside
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-18
D
an Ca
r
p
ente
r
get_v
a
riable_from_
e
xpr()
:
use [
]
f
o
r arrays
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-18
Dan C
a
r
penter
f
i
x "make install"
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-17
Dan Carpen
t
er
fix bug
i
n pr
i
nting
f
ile nam
e
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-17
Dan Car
p
enter
g
et_array_n
a
me(): return the
s
tri
p
ped
value
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
next