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
modification hooks: only allow one hook per variable per check
2010-01-25
Dan Carpenter
mo
d
ification hooks: only
allow o
n
e
hook
per
variable
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-25
D
an
C
ar
p
ent
e
r
introduce: set_default_modifica
t
ion_h
o
ok()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-25
Dan
C
arpenter
cleanup: get
r
i
d
of smatch_c
o
nt
a
iners
.
c
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-25
Dan Carpenter
check_null_deref: only t
h
e kernel cares about failed
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-23
Dan Carpenter
Fix O
p
enBSD c
o
mpile
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-23
Dan
Carpen
t
er
ch
e
c
k
_s
i
g
ned
:
clean ups
.
a
d
d check
f
o
r
i
mpossibly
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-22
Dan Carpenter
make eve
r
y
t
hing use smatch_functio
n
_has
h
t
able
.
h
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-22
D
an Carpenter
add smatch_function_hashtable
.
h
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-22
Dan Carp
e
nter
Mov
e
every
t
hin
g
t
o
the new cwcha
s
h hash t
a
ble
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-22
Dan Carpenter
ad
d
cwchash hash table implementat
i
on
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-21
Dan C
a
rpenter
f
unction_implies_ho
o
k: fix bug when
a
f
unction has
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-21
Dan Carpenter
check
_
s
i
g
n
ed:
warn on ass
i
gning ne
g
a
t
ive
to unsigne
d
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-20
Dan Carpen
t
er
Make sm
a
t
ch work agai
n
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-20
Dan Carpenter
Merg
e
git://git
.
kernel
.
org/pub/sc
m
/devel/sparse/ch
r
isl
.
.
.
commit
|
commitdiff
|
tree
2010-01-20
D
a
n Carpenter
Move
t
he chec
k
s
out
of smatc
h
.
c into chec
k
_list
.
h
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-20
D
an Carpent
e
r
si
l
ence so
m
e
s
parse
w
arni
n
gs: () =>
(void)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-20
Da
n
Carpente
r
int
r
oduc
e
: typ
e
_min(
)
and type_max()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-20
Dan C
a
rpenter
w
i
ne W
t
oA: fix
crash
i
ng bu
g
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-19
Dan Carp
e
nter
new file: smatch
_
scrip
t
s/g
e
n_dma_funcs
.
sh
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-19
Dan Carpenter
show_ifs
.
sh: Add the
-
C opti
o
n
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-19
D
an Carpenter
check_memory: eliminate some false positive
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-19
Dan Carpenter
get_value(): the return value
was
g
e
t
ti
n
g
cut off
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-19
Da
n
C
arpenter
ch
e
ck_signed: clari
f
y erro
r
me
s
sage
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-19
Dan Carpenter
wine_filehandles: i
f
the file hand
l
e g
e
ts re
a
ssigned
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-19
Dan
Carpente
r
Help kchecker and wi
n
e_che
c
k
e
r
.
sh find the smatch binary
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-19
Dan
C
arpenter
get_va
r
iable_fro
m
_expr(): fix array d
i
splay (ev
e
n
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-18
D
an Carpenter
del
e
te_state()
:
f
i
x a bug calli
n
g delete st
a
te inside
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-18
Da
n
Carp
e
nter
get_variable_
f
rom_exp
r
(): use [] f
o
r
array
s
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-18
Da
n
Car
p
en
t
er
fi
x
"mak
e
inst
a
l
l
"
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-17
Dan Ca
r
pente
r
f
ix bug i
n
printing
fi
l
e
n
a
mes
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-17
Dan Car
p
enter
get
_
array_name(): r
e
t
u
rn the s
t
ripped va
l
u
e
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-17
Dan C
a
rpenter
wine: pp_internal_error(
)
doesn't retu
r
n
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-16
Dan Carpenter
unus
e
d return: warning: => warn:
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-16
Dan C
a
rpente
r
precedenc
e
: make test
stricter
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-16
Dan Carpe
n
ter
__US
E
_ISOC99: silence a gcc
w
arning
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-16
Dan Carpent
e
r
c
heck_
d
ev_qu
e
ue_xmit: mak
e
valid
_
use() stat
i
c
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-15
Dan C
a
rpenter
ch
e
ck_signe
d
: change some
e
rror: messages to warn:
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-15
Dan Carpenter
check_signed: fix and turn o
n
by default
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-15
Dan Carpenter
ge
t
_
t
y
pe():
f
i
x cast handling
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-15
Da
n
Carpenter
get
_
value(): add initial su
p
p
o
rt
fo
r
handling casts
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-15
Dan Carp
e
nt
e
r
whitespace: "switch(" => "switc
h
("
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-15
Da
n
Ca
r
penter
get_t
y
pe(): don't igno
r
e
c
a
s
ts!
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-15
Dan Carpe
n
t
e
r
elimin
a
t
e
all th
e
"
x
c
an't fit int
o
0" false p
o
sit
i
ves
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-14
Da
n
Carpenter
fi
x
getting_
a
d
d
ress() fun
c
t
i
o
ns
v
s
p
ar
e
n
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-14
D
an C
a
rpenter
add
check_de
v
_queue_
x
m
i
t
.
c
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-14
Dan Carpenter
ad
d
--rare opti
o
n for ra
r
e bugs
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-14
Dan
C
ar
p
enter
introduce: add_modification_hook_expr()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-13
Dan Carpenter
im
p
l
i
ed cleanup
:
move pool_in_pools() an
d
is_checked()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-13
Dan Ca
r
penter
i
m
pli
e
d
clean
u
p
:
re
n
a
me: get_
e
q
_neq() => s
e
parat
e
_and_filter()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-13
Dan Carpen
t
er
im
p
lied cl
e
anu
p
:
sep
a
r
a
te do_
c
ompare into its own
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-13
Dan
C
ar
p
enter
implied cleanup: move get_i
m
plications()
l
ower in t
h
e
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-13
Da
n
Carpenter
im
p
lied cle
a
nup: 1 => LEF
T
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-13
Dan Carp
e
nter
implied clean
u
p:
clean handle_com
p
arison()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-13
Dan Carpenter
implied cle
a
n
u
p
:
rename
stat
e
=> sm
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-13
Dan Carpenter
implied c
l
eanup:
m
ove che
c
k
for !is_merged(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-13
Da
n
Carpenter
implied
c
leanu
p
:
rename left
=
> lr
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-13
Dan Carpenter
implied cleanup:
renam
e
some
s
m_
s
tates: state => sm
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-13
Dan
C
a
r
penter
implied cleanup: move some f
u
nctions arou
n
d
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-13
Dan Carpen
t
er
implie
d
cle
a
nup:
c
o
m
men
t
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-13
Dan Car
p
ent
e
r
implied cleanup: crea
t
e print
_
once
(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-13
Dan Carpen
t
er
imp
l
ied cleanup: get rid of some c
u
rly b
r
aces
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-13
Dan Carpenter
implied clean
u
p: move variable
declaratio
n
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-13
Dan
C
a
rpenter
Add va
l
idation/sm_array_overflo
w
.
c
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-12
Dan Carpenter
c
l
eanup re
m
o
v
e f
a
lse_only_stack
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-12
Dan
C
a
r
penter
Fix bug in handling f
o
r l
o
o
p
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-10
Dan Carpenter
foo(&bar) means bar i
s
mod
i
fied
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-09
Dan Carpente
r
check_m
e
mory: a
d
d_modifi
c
ation
_
hook
i
s
fr
e
e => u
n
fre
e
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-09
Dan Carpenter
move modification hook to the front of the hook
list
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-09
Dan Ca
r
penter
clea
n
up: move everythi
n
g to get_dinfo()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-08
Dan Car
p
enter
intr
o
d
u
ce: get
_
dinfo()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-08
Dan
Ca
r
pente
r
che
c
k_overflow: handle addre
s
ses differently
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-08
Dan
C
a
r
penter
s
m
atch_extra: clean
u
p
.
st
a
t
e
can never
be &
m
erged
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-08
Dan C
a
rp
e
nter
check_ove
r
flow: ignore t
h
e last me
m
b
er of st
r
ucts
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-08
D
a
n
C
arpe
n
ter
smatc
h
_ex
t
ra: I don't
l
ike e
m
pt
y
r
a
nges
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-08
Da
n
C
a
rpenter
add s
m
atch_scripts/gen_array_bounds
.
sh
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-08
Dan Carpenter
smat
c
h_data/kernel
.
array_bou
n
ds
.
remove
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-08
Dan Car
p
enter
check_
o
verfl
o
w
:
an an "
e
rror:
"
pref
i
x to a printf
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-07
Dan C
a
rpe
n
ter
smatch_scri
p
ts/sh
o
w_unreachabl
e
.
sh
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-07
Dan Carpenter
new scr
i
pt: show
_
ifs
.
s
h
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-07
Dan Carpenter
intro
d
uce getting_a
d
dress()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-07
Dan Carpenter
update smatc
h
_scrip
t
s/ because of --
i
nfo forma
t
c
han
g
es
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-07
Dan Ca
r
penter
check offse
t
after us
e
:
i
gnore foo
= &
a
rray[bar];
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-07
D
an Carpente
r
check_ov
e
rflow:
move
s
ome more stuff
under the --info
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-07
Dan Carpent
e
r
c
l
e
an up output: warning: =>
warn:
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-07
D
a
n Carpent
e
r
modificatio
n
_hook:
-
- and ++ are modification
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-06
Dan Ca
r
pent
e
r
It makes sense to check an arr
a
y offset if it has been
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-05
Dan Carpenter
ch
e
ck_over
f
low:
separate
the tw
o
t
ypes of state
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-05
D
a
n C
a
rpenter
Fix precedence/
c
r
a
shing bug ch
e
ck_overfl
o
w
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-03
Dan Ca
r
penter
check_overflow: c
h
eck for limiting
offset aft
e
r using it
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-03
Dan
C
a
rpenter
introd
u
ce
all
o
c_state_nu
m
()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-03
Dan
Carpenter
c
l
eanup
:
rename
alloc_stat
e
() => alloc_sm_sta
t
e()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-02
D
an
Carpenter
int
r
oduce get_fuz
z
y_max
(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-02
Dan Carp
e
nter
call_tree
.
pl: make it an inter
a
ctive
p
rog
r
am
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-02
Dan Carpenter
create
g
et_implied_range_lis
t
()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-02
Dan Ca
r
p
e
nter
sm
_
info:
fix f
o
rm
a
t
t
ing
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-01-01
D
a
n
Carpenter
call tree: initial
u
p
load
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2009-12-31
Da
n
Ca
r
p
enter
dma on stack
:
move data to smatch_data/
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2009-12-31
Dan Carpenter
trac
e
_params
.
pl:
r
e
wrote
so it's
faster
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2009-12-30
Dan
C
arpente
r
add --
p
ar
a
m-mapper
b
ack
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2009-12-30
D
a
n
Carp
e
nter
cl
e
a
n
up up option parsing a little
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
next