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
flow: handle backwards goto hooks
2014-11-04
Dan C
a
r
p
enter
fl
o
w
:
handle ba
c
kwards g
o
to hooks
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-11-04
Dan Carpenter
f
low
:
func
t
ion declara
t
ions are not function
d
efini
t
ions
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-31
Dan Carp
e
nte
r
return_enomem: re-write witho
u
t u
s
i
n
g
r
eturn_im
p
lies_sta
t
e()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-31
Dan Carpent
e
r
buf_
c
om
p
a
r
ison:
handle zero size arrays
b
etter
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-31
D
a
n
C
a
rpenter
b
u
f_comp
a
rison: ex
p
ort the get_
s
ize_varia
b
l
e
(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-31
Dan Ca
r
penter
buf
_
compa
r
i
son, db: record t
o
p level
v
ariables in data_info
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-30
Dan Carpenter
function_hooks, db: fix a pro
b
lem with nested call
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-30
D
a
n Carpen
t
er
c
omparison
:
oop
s
.
forgot to commit
a chunk
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-30
D
a
n Carpenter
64bit_shi
f
t: find b
u
gs
l
ik
e
: u6
4
foo = 1 << x;
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-29
D
an Carpenter
a
u
t
o_copy: fix
a
crashing bug
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-29
Dan Carpenter
prec
e
dence:
b
&
m
a
sk >>
shift is n
o
r
m
a
l
ly a bug
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-28
Dan Carpenter
s
hift_t
o
_zero: fix an err
o
r me
s
sage
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-28
Dan Carp
e
nter
free: check f
o
r passing
or re
t
u
r
ning
fr
e
ed memory
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-28
Dan Carp
e
nter
free: don't turn o
f
f
warnings if
-
-
s
pammy is
s
et
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-28
Dan Carpen
t
er
db/f
i
x
u
p_
k
ernel
.
s
h
: b
i
tmap_all
o
cate_region doesn't
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-28
Dan Carpenter
bu
f
_c
o
mparison: store w
h
ich d
a
ta
h
olds array li
m
its
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-28
Dan Carpenter
buf_compar
i
so
n
, bu
f
_siz
e
: add
r
ealloc() to allo
c
ation
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-27
D
an Carpen
t
e
r
compare: introduce get_all_comparisons()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-27
Dan Car
p
enter
db:
a
d
d data_info t
a
bl
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-21
Dan Carpenter
auto_copy: assignm
e
nts
co
p
ies states auto
m
atically
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-20
Dan
C
a
rpenter
b
uf_
c
o
m
parison: loo
k
for off by
one errors
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-17
Dan
Carpenter
M
erge branch 'devel'
commit
|
commitdiff
|
tree
2014-10-16
Dan
Carpe
n
ter
e
r
r
_
ptr_
d
eref:
e
rror m
e
s
s
age
sho
u
ld say
"negative"
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-16
Dan Carpente
r
free: improve cross function tracking
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-16
Dan
Car
p
en
t
er
shift_to_zero: check
for
t
hings like "(
f
oo & 0xff
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-14
Dan Carpenter
parse_c
a
ll_
m
ath: ha
n
dle mat
h
like "
$
0->foo + 5"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-13
D
a
n Ca
r
pe
n
t
er
parse
_
call_math: more form
a
t change fallout
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-13
Dan Car
p
enter
pars
e
_
c
all_
m
ath: NU
L
L
t
e
rminate
b
uf
s
ize recip
e
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-10
D
an Ca
r
penter
c
a
l
l_math: use range
lists instead of only exact
values
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-10
Dan Carpenter
ranges: start im
p
l
e
menti
n
g r
l
_binop()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-09
D
a
n Carpenter
comparison
:
store gener
a
l limits in the database
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-09
Dan Carpenter
comparison: take o
r
iginal comparison into
a
ccount
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-09
Dan Carp
e
nter
v
a
lidati
o
n: a
d
d
a test for the recent function compare
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-08
Dan
C
arp
e
nter
funct
i
on_hooks:
functi
o
n comparisons
can im
p
l
y a
parame
t
er
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-08
Dan Car
p
enter
fixup_kernel
.
sh
:
s
e
vera
l
import
a
nt
u
pdates (bugfixes)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-07
Da
n
Carpe
n
ter
comparison: rename f
a
lsify_op() to negate_comparis
o
n
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-07
Dan Ca
r
p
e
n
t
e
r
ranges: rename fil
t
er_
b
y_comparison() to so
m
e
thi
n
g
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-07
D
a
n
Car
p
enter
c
gcc: revert part
of the -
W
error che
c
k
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-07
Dan
C
arpe
n
t
e
r
comparison: rename
fli
p
_
o
p() to
f
lip_comp
a
rison() and
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-03
D
a
n
Carpenter
Merge gi
t
:/
/
g
i
t
.
k
e
r
nel
.
o
r
g/pub/scm/devel/
s
parse/ch
r
isl
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-02
Dan Carpenter
smd
b
.
py: add some
help t
e
xt
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-10-02
Dan
C
arpenter
b
u
ild_ker
n
el_
d
ata
.
sh: error out
if the ri
g
ht packages
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-29
D
an Carpenter
com
p
a
rison:
d
on't sto
r
e comparisons to one
'
s sel
f
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-29
D
an Carpenter
compa
r
ison
:
a
d
d
a comment
f
or update_
t
f
_links()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-29
Dan Carpenter
co
m
parison:
g
et rid of
the chunk_vsl_eq
(
) function
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-29
Dan Carpe
n
t
er
compariso
n
: pass the
f
ilte
r
ed false
state
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-29
Dan Carpenter
comparison: cleanup up
d
ate_tf_data()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-27
Dan Ca
r
penter
db: fix h
a
ndling o
f
n
ested calls
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-26
Dan Ca
r
penter
state
s
: add an assert
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-26
Dan Carpenter
buf_size:
handle str
l
en(
)
a bit b
e
tter
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-26
Dan
Carp
e
nter
locking: add ffs_mutex_lock
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-26
Dan Carpenter
f
low:
the __in_pre_condition variable needs to be set
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-26
Dan
Carpe
n
ter
smatch
.
h: store so
m
e
dummy database types temporarily
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-26
Da
n
Carpen
t
er
db: expose the d
a
ta
para
m
eter so
we can use
d
ata
i
n
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-26
Da
n
Carpent
e
r
p
a
rs
e
_call_ma
t
h
:
cha
n
ge API
t
o use ra
n
ge
l
ists (mos
t
ly
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-26
Dan
Ca
r
pe
n
ter
ranges: fix parsing
that I
b
roke thi
s
a
f
ternoon
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-26
Dan Carpenter
compariso
n
: fix up
f
ilter_com
p
ariso
n
()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-26
Dan Carpenter
ranges: use the ranges stored in the database proper
l
y
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-26
Dan Car
p
enter
ranges:
f
ix crashing
b
u
g
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-26
Dan Carpent
e
r
ranges: simplify and ro
b
ustify str_to
_
rl_helper() a bit
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-26
Da
n
Ca
r
penter
param_limit: save the comparis
o
n
to the
a
rgum
e
nts
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-26
Dan Carpenter
fu
n
ction_h
o
oks: fi
x
h
o
w
database co
m
parisons
are done
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-26
D
an Carpenter
com
p
a
r
i
s
on: pass
t
he ignore field to range_comparison
_
to
_
par
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-26
D
a
n Ca
r
p
ente
r
comparison:
t
ake previous compa
r
iso
n
s into accou
n
t
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-25
Dan Carp
e
nt
e
r
db: pref
e
r literals to par
a
me
t
er m
a
t
h
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-25
Dan Carp
e
n
t
er
db: re-ad
d
s
o
me missin
g
[] c
h
aracters
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-24
Dan Car
p
enter
assi
g
ned_exp
r
: undefine
o
n mod
i
fication
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-24
Dan
C
arpent
e
r
d
b: fix how parameter m
a
t
h wor
k
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-24
Da
n
Carpen
t
er
assigned_
e
xpr: add reverse
links
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-24
Dan Ca
r
penter
links: cr
e
ate a smatch_links
.
c f
i
le with functions
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-22
Dan Carpent
e
r
p
a
rse_ca
l
l
_
math: f
i
x
left over
s
from
t
he forma
t
c
hange
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-22
Da
n
Ca
r
penter
p
a
ram_set: write
s
truct memb
e
rs in te
r
m
s of
p
arameter
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-22
D
a
n Carpenter
extr
a
: w
r
ite certain returned struct mem
b
e
r
s in terms
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-22
Dan Carpe
n
ter
db: pa
s
s the r
e
turn
e
xpres
s
ion to the returned_member
_
call
b
ack
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-22
Dan Carp
e
nte
r
extra: save ret
u
rn v
a
lues
i
n ter
m
s o
f
p
arameter mat
h
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-22
Dan Carpenter
db: unify how
p
a
rameter descrip
t
ions are saved
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-22
Dan Carp
e
nter
c
o
m
paris
o
n: add an ignore parameter to
ex
p
r_equ
a
l_t
o
_pa
r
a
m()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-17
D
an C
a
r
p
e
nte
r
u
nreachable:
ignore the unreachable() ma
c
ro
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-17
Dan Car
p
enter
err_ptr_
d
e
r
ef:
p
assing an ERR_PTR
t
o
kfree(
)
is a bug
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-17
Dan Carpenter
extra
:
handle merging NUL
L
p
ointers b
e
tter
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-16
Dan Carp
e
n
ter
e
x
tra: addr
e
sses of arrays are
non-NU
L
L
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-15
D
a
n
C
arp
e
n
ter
db:
remo
v
e bogus parameter informa
t
ion from h
o
o
k
t
y
pe
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-15
Dan Ca
r
penter
db: add
a
new
table which hold p
a
rame
t
e
r
t
y
pes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-11
D
an Car
p
e
nte
r
t
y
pe:
introduce ty
p
e_to
_
str()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-09
Dan Carp
e
nter
locking: remove some
dup
l
i
cate "so
m
e
t
imes locked" warnings
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-04
Da
n
Carpe
n
ter
generisiz
e
.
pl: filter some
m
ore st
u
ff
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-04
Dan Carpenter
ge
n
eresize
.
pl: clean
u
p inde
n
t
ation
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-09-04
D
an
Carpenter
range
s
: a po
i
nter to
a
n array is just a pointer
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-08-29
Da
n
Carpenter
ext
r
a:
r
ecord global d
e
clarations
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-08-29
Dan Carpenter
co
n
ditions
:
update som
e
de
b
ug
o
utput
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-08-29
D
a
n
Carpent
e
r
comparison: int
r
oduce
p
ossible_c
o
mparison()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-08-29
D
an Ca
r
penter
extra: update a d
e
bug sta
t
ement
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-08-29
Dan Carpenter
f
u
nction_p
t
rs: track func
t
ions
which return
a
funct
i
on
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-08-29
Dan C
a
rpen
t
er
sh
o
w_errs
.
sh: q
u
ote
s
om
e
strings proper
l
y
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-08-29
Dan Carpenter
slist: put get_sm_state_stree_stack() i
n
t
he
.
h file
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-08-29
Dan Carpent
e
r
state
s
: c
h
ange the debu
g
out
p
u
t format
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-08-29
Dan Ca
r
pente
r
struct_as
s
ignment
:
handle
k
zall
o
c() better
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-08-29
Da
n
Carpent
e
r
slist: add the filename
t
o some
debug output
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-08-29
Dan Carpen
t
er
flow:
pars
e
g
lobal
v
a
riables before parsing funct
i
o
ns
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2014-08-29
Dan Carpenter
slist: export the set_state_
s
tree_perm()
function
t
o
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
next