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_memory: only load kernel.frees_argument when checking the kernel
2010-01-30
Dan Car
p
enter
check_memory: only load kern
e
l
.
f
r
ees_ar
g
ument when
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-29
Dan
C
arpenter
Create: smatch_project
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-29
Dan
C
arpenter
bail if things are taking too long
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-29
D
an
Carpenter
add smatch_s
c
ript
s
/filter_kernel_der
e
f_c
h
eck
.
sh
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-29
Dan Carpe
n
ter
check_d
e
ref_chec
k
:
do no
t
complain in loop
p
re conditions
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-28
Dan Car
p
enter
tweak unr
e
ach
a
ble code mess
a
ges
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-27
D
an Car
p
e
n
te
r
check_si
g
ned:
h
andl
e
signed 1
b
it v
a
lues
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-27
Dan Carpen
t
e
r
ch
e
ck_
s
igned:
don't compl
a
in a
b
out unsigned int x
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-27
D
an Ca
r
penter
n
e
w function: type_unsi
g
ned(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-26
Dan
C
a
rpenter
partly replace check
_
null_deref
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-25
Dan Carpenter
modification hook
s
: only allow one h
o
ok
per vari
a
ble
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-25
D
an
Carpenter
introduce: set_default_modification_hook()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-25
Dan Carpenter
cleanup:
g
et rid o
f
smatc
h
_
c
ontainers
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-25
Dan Carpenter
che
c
k_null_deref: only the kerne
l
c
a
res about
failed
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-23
D
a
n Carp
e
nt
e
r
Fi
x
OpenBSD compile
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-23
Dan
Carpe
n
t
e
r
ch
e
ck_sig
n
ed: c
l
e
a
n ups
.
add
check for impossibly
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-22
Dan
Car
p
enter
m
ake ever
y
t
hing use s
m
a
t
c
h_function_has
h
t
a
b
l
e
.
h
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-22
Dan Carpenter
add
s
m
a
t
c
h
_
f
unction_hashtabl
e
.
h
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-22
Dan Carpenter
Mo
v
e everything to the new cwch
a
sh hash table
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-22
Dan Carp
e
nte
r
a
d
d cw
c
hash hash t
a
ble implementation
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-21
Robert Be
d
ichek
Novafora licen
s
e grant usin
g
MIT license
.
commit
|
commitdiff
|
tree
2010-01-21
Dan Carp
e
nter
f
unction_implies_hook: fix bug when a fu
n
ction has
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-21
Dan Carpenter
ch
e
ck_signed: warn o
n
assigni
n
g negative to
unsig
n
ed
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-20
Dan Carpenter
Make smat
c
h w
o
r
k
a
gain
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-20
Dan C
a
rpe
n
ter
Mer
g
e
git
:
/
/
g
it
.
kernel
.
org/
p
ub/
s
c
m
/
devel/sparse/
c
hrisl
.
.
.
commit
|
commitdiff
|
tree
2010-01-20
Dan Carpen
t
er
Move the c
h
e
cks out of sma
t
ch
.
c int
o
c
heck_list
.
h
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-20
Dan Car
p
enter
silence
some sparse
warning
s
:
() => (void)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-20
D
a
n Carpenter
introd
u
ce: type_min() an
d
t
y
p
e_max()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-20
Dan Carpenter
wine WtoA: fix c
r
ashing bug
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-19
Dan Carpenter
new file: sma
t
ch_s
c
r
i
pts/gen_
d
ma_funcs
.
sh
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-19
Dan Carpenter
sho
w
_ifs
.
s
h:
A
dd
th
e
-C
option
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-19
Dan Carpenter
check_memory:
e
liminate some
false positive
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-19
Da
n
Carpenter
get_value(
)
: the
r
eturn val
u
e was g
e
tting cut off
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-19
D
a
n C
a
r
p
e
nter
ch
e
ck_signe
d
: c
l
arify err
o
r message
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-19
Dan Carpe
n
ter
wine_filehandl
e
s
:
i
f
the file ha
n
dle g
e
ts reass
i
gned
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-19
D
a
n
Carpen
t
er
Help k
c
hecker and
wine_checker
.
sh find the smatch bin
a
r
y
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-19
Dan Carpenter
g
et_variabl
e
_
f
rom_expr(): fix ar
r
a
y
d
is
p
lay (even
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-18
Da
n
Carpenter
d
elete_state()
:
fix a b
u
g ca
l
ling delet
e
sta
t
e i
n
side
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-18
Dan Car
p
enter
get_varia
b
l
e
_from_expr()
:
us
e
[] for a
r
ray
s
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-18
D
an Carpen
t
er
f
ix "make
i
nstall"
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-17
D
an Ca
r
pe
n
t
er
f
ix bug in pr
i
nti
n
g
f
i
le names
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-17
Dan Carpenter
get_arra
y
_name(): r
e
tur
n
the stri
p
pe
d
value
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-17
Da
n
Carpenter
wine: pp_internal_err
o
r()
d
oesn't return
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-16
D
a
n Carpen
t
e
r
unuse
d
r
eturn: warning:
=
> warn:
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-16
Dan Carpenter
p
r
ecedence:
m
ake test
s
tri
c
ter
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-16
Dan
C
arpenter
__U
S
E_ISO
C
99: sile
n
ce a
g
cc warning
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-16
Dan Ca
r
penter
check_dev_q
u
eue_xmit: make valid_use() static
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-15
Dan Carpent
e
r
check_signed:
chang
e
some error: message
s
t
o war
n
:
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-15
D
a
n
Carpenter
check_sig
n
ed: fix and
turn
on by defau
l
t
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-15
Dan
Carpen
t
er
get_ty
p
e(): fix cast ha
n
dl
i
ng
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-15
Dan
C
arpent
e
r
get_value(): add
i
n
i
tial
support for handl
i
ng casts
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-15
D
an Ca
r
penter
w
hites
p
ace: "switch(" =>
"swit
c
h (
"
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-15
Dan
Carpent
e
r
get_type():
don't ign
o
re casts
!
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-15
Dan Carpe
n
ter
elim
i
nate
all the "x can't fit into 0" false
p
o
sitives
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-14
Dan Carp
e
nter
fix gett
i
ng_address() functions vs parens
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-14
Da
n
Carpenter
add c
h
eck_dev_queue_xmit
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-14
D
an Carpent
e
r
add --rar
e
option
for
r
a
r
e bug
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-14
D
an Carpenter
in
t
roduce: add_modific
a
tion_hook_expr
(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-13
Dan Ca
r
penter
implied c
l
eanup:
move pool_in_p
o
o
l
s() an
d
is_checked()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-13
Dan Carpenter
imp
l
ie
d
cleanup:
r
ename: get_eq_n
e
q(
)
=> sepa
r
at
e
_and
_
fil
t
er()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-13
Dan Carpenter
impli
e
d cleanup:
s
epa
r
ate
do_compa
r
e
i
nto its ow
n
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-13
D
an C
a
r
p
ent
e
r
implied cl
e
anup: move
g
et_i
m
plications() lower in the
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-13
Dan Carpent
e
r
implied cleanup:
1 => LEFT
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-13
Dan Carp
e
nter
i
m
p
l
ied clean
u
p:
clean
h
and
l
e
_
co
m
parison()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-13
Dan Ca
r
penter
impl
i
ed
cleanup:
r
e
name
s
t
a
te => sm
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-13
Dan Carpenter
implied cleanup: mov
e
check for !is_merged()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-13
Dan Carpenter
implied cle
a
nup: re
n
ame left
=> lr
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-13
D
an Carpen
t
er
i
mplie
d
cleanup: rename some
sm_state
s
:
state => sm
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-13
Dan Carpe
n
ter
implied cleanup: move so
m
e functions aroun
d
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-13
Dan Carpenter
i
m
plied cleanup: com
m
e
nts
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-13
Dan Carpen
t
er
implied
cleanup: crea
t
e print_
o
nce()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-13
Dan Carpen
t
er
i
mplied cleanup: get rid of
some
curly braces
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-13
Dan C
a
rpent
e
r
implied cleanup
:
mo
v
e variable declaratio
n
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-13
D
an
C
arpen
t
er
Add validat
i
on/sm_array_ov
e
rflow
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-12
D
a
n
C
arpenter
clean
u
p
remove false_o
n
ly_stack
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-12
Dan Carpenter
Fix bug in handling
fo
r
l
oops
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-10
Dan C
a
r
p
e
nter
foo(&bar) m
e
ans bar is
m
odified
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-09
D
a
n Carpenter
c
he
c
k
_memory
:
ad
d
_
m
odifi
c
a
tion
_
h
ook isf
r
e
e => u
n
free
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-09
Dan Carpente
r
m
o
ve
m
odifi
c
ation hook to the fro
n
t of the hook list
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-09
Dan Carpenter
clean up: move everyt
h
in
g
to get
_
d
i
nfo(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-08
Dan Carpenter
in
t
ro
d
u
c
e
:
get
_
din
f
o()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-08
Dan C
a
r
p
e
n
t
er
check_overflow: handl
e
addresses differently
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-08
D
an Ca
r
penter
s
mat
c
h_extra
:
clean u
p
.
st
a
te ca
n
n
ever
b
e &mer
g
ed
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-08
Dan Carpenter
check_overflow: ignore
the last membe
r
of structs
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-08
Dan Carpen
t
er
smatch_e
x
tra: I don'
t
like empty ran
g
es
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-08
Dan Carpenter
a
dd smatch_scripts/gen_array_bounds
.
s
h
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-08
Dan Carpenter
smatch_data
/
k
ernel
.
a
r
ray_b
o
unds
.
remove
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-08
Da
n
C
arpenter
check_ov
e
rflow: an
an "error: " prefix
t
o
a
printf
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-07
Dan Carpenter
s
m
atch
_
script
s
/show
_
unreachable
.
sh
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-07
Da
n
Carpenter
n
ew
s
cript: show_ifs
.
sh
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-07
Dan
C
arpenter
int
r
o
d
u
ce
g
etting_
a
d
dr
e
ss()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-07
Dan
C
arpenter
update smatch_scripts
/
be
c
au
s
e of --info f
o
r
mat changes
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-07
Dan Carpente
r
ch
e
ck offset after use: ig
n
ore
f
oo = &array
[
bar];
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-07
Da
n
Carpen
t
er
check_overflow: m
o
ve
s
om
e
more
s
tuff under
t
h
e
-
-info
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-07
Dan Carpenter
cle
a
n up
output: war
n
ing: => warn:
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-07
Dan Carpente
r
modificat
i
on_h
o
ok: -- and
+
+ are
modi
f
ications
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-06
Dan Carpenter
I
t makes
s
en
s
e to
check an array offse
t
if it has been
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-05
D
an Car
p
enter
check_o
v
erflow:
s
epara
t
e the tw
o
types of state
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-05
D
a
n Carpen
t
er
Fix p
r
ece
d
ence/cr
a
sh
i
ng b
u
g chec
k
_overflow
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-03
Dan
C
arpe
n
ter
check_overf
l
ow: ch
e
ck fo
r
l
imiting offset after
using it
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
next