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
project: fix parameter implications
2012-04-13
Dan Carpenter
project: fix parameter i
m
plications
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-04-13
D
an
Carpenter
helper:
i
ntroduce ge
t
_
m
ember_
n
ame()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-04-13
Dan C
a
rpenter
db: prin
t
all
return
v
alues
a
t
e
n
d of
function
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-04-04
Dan Carpenter
db: add some smdb
_
s
c
rip
t
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-03-30
Dan Carpent
e
r
fill_db
_
ret
u
rn
_
info: fix out dated
pa
r
sing
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-03-30
Dan Ca
r
penter
extra:
al
w
ay
s
i
n
itialize the ra
n
ge in get_implie
d
_range_list()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-03-30
Dan
Carpenter
e
x
t
ra:
fix get_impli
e
d_ra
n
ge() for function calls
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-03-30
Dan
Carpe
n
te
r
check_macros: cle
a
nup: use p
o
sitions
_
eq()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-03-30
Dan Carpe
n
ter
macro:
t
a
k
e a struct p
o
siti
o
n
,
n
o
t a pointer
t
o a
s
tr
u
ct
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-03-30
Dan Carpent
e
r
implied: cleanup: move d
u
bug printfs to th
e
ir o
w
n function
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-03-30
D
an
Carpenter
r
a
nges: g
e
t rid
o
f
p
ossibl
y
_(tr
u
e/false)_r
a
nge_list_ls()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-03-30
D
an Carp
e
nter
ran
g
es: cleanup: move true
_
c
ompar
i
s
o
n_rang
e
_lr() into
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-03-29
Dan Car
p
e
nter
extra: add parame
t
er implica
t
ions
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-03-29
Da
n
Carpe
n
ter
ranges: in
t
roduce clone_
p
ermanent()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-03-29
Dan Carpen
t
er
ranges: initialize th
e
pointer in ge
t
_value_ranges()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-03-29
Dan Carpe
n
ter
db: igno
r
e functions which are called a lot
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-03-29
Dan Carpenter
type: export get_real_base_
t
y
p
e()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-03-29
Dan Carpenter
db: add code to
h
ack up the da
t
a
b
as
e
w
ith p
r
oject
s
pecific
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-03-23
Dan Car
p
enter
co
n
ditions: preserve |=
a
s
the assign op in foo
|=
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-03-23
Dan Car
p
ente
r
type: siz
e
of()
i
s uns
i
gned l
o
ng
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-03-23
Dan
C
a
r
penter
conditions: spa
r
se
ne
v
e
r seems to use S
P
ECIAL_UNS
I
GNED_GT
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-03-21
Dan Carp
e
nter
helper: introdu
c
e
positio
n
s_eq(pos1, pos2)
f
uncti
o
n
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-03-19
Dan Carpenter
build_kern
e
l_data
.
sh: make i
t
ex
e
cutable
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-03-19
Dan Carpenter
m
a
cro
_
s
ide_effects: silence false positi
v
es insi
d
e
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-03-17
Dan Carpenter
test_
k
e
rnel
.
sh: create a bak
.
sma
t
ch
a
t the beg
i
n
ning
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-03-17
Dan Car
p
enter
*ne
w
* check_mac
r
o_s
i
de_e
f
f
ects: mac
r
os
wh
i
ch
evaluat
e
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-03-17
D
a
n
C
arp
e
nter
flow: ignore __builtin_constant_p()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-03-17
Dan Carpenter
spars
e
: set the scope->token
member
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-03-15
D
an Car
p
e
n
ter
call_tree
.
p
l: This was s
t
ill
using th
e
old fo
r
mat
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-03-15
Da
n
Carp
e
nter
buil
d
_kernel_data
.
sh: add --call-tree
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-03-12
Dan Ca
r
penter
locking: ign
o
re un
r
eachable unlocks
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-03-12
Dan Car
p
enter
locking: wh
i
te space ch
a
n
ges
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-03-12
Dan Carpenter
new
_
bugs
.
sh: fix it for gc
c
an
d
sparse wa
r
n
i
ngs
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-03-12
Dan Carpente
r
loc
k
ing: tons of locks were
i
gnore
d
because of
changes
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-03-10
Dan Carpent
e
r
t
o
ke
n
_
store: cr
e
ates a posi
t
ion ->
t
oken mapping
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-03-08
Dan Carpenter
Merge
branch 'd
e
vel2
'
commit
|
commitdiff
|
tree
2012-03-08
Dan Carpenter
*n
e
w* check_b
i
t_s
h
i
f
t
.
c: (foo & B
A
R) vs (foo & (1
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-03-06
Dan
C
a
r
pen
t
er
*n
e
w
*
p
o
i
nter_math: complain about pt
r
+ sizeof() where
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-03-05
Dan
C
arpenter
ty
p
e: export get_
p
ointer
_
type()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-03-02
Dan Carpenter
ty
p
e: export get_
p
o
inte
r
_ty
p
e()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-29
Dan
C
arpente
r
flo
w
: fix segfault on parse error
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-29
Dan Carpent
e
r
hooks: ad
d
CAST_HOOK
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-29
Da
n
Carpenter
type: add n
r
_bits(struct expression *expr)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-29
Dan Carpenter
extr
a
: d
e
lete the get_
r
a
nge_list()
f
unct
i
on
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-28
Dan
Carpenter
new: smat
c
h_
s
c
r
ipts/build_kernel_data
.
sh
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-28
Dan C
a
r
penter
new: sm
a
tch_
s
c
ri
p
ts/test_kernel
.
sh
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-27
Dan
Car
p
e
n
ter
r
a
nges: make possibly_true/fal
s
e() take expr
e
ssion
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-27
D
a
n Carpen
t
er
expres
s
ions: new file smatch_exp
r
essions
.
c
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-22
D
a
n
Carpe
n
t
e
r
tree
wide: don't prin
t
of
f
s
e
t into funct
i
on
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-22
Dan Carpent
e
r
generi
z
e
.
pl:
make it work fo
r
s
parse warnings as well
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-22
Dan Carpenter
e
s
t
ate
:
don't reuse extra_und
e
fined()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-22
Dan
Carpenter
con
t
raint
s
:
add opt
i
on --debug-related
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-21
D
a
n
Carpenter
constrai
n
ts:
mak
e
set_
e
quiv() take an
e
x
pr
e
ssion pointer
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-21
Dan C
a
rpen
t
er
extra, con
s
traints
:
move set_equiv()
from extra to
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-21
Dan Carpe
n
ter
debug: add __
s
matc
h
_dump_related(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-21
Dan C
a
rp
e
nt
e
r
impl
i
ed: use add_range()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-21
Dan
Carpenter
est
a
te, ranges
:
move whole_r
a
n
g
e from e
s
tate
t
o
ranges
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-21
Dan Ca
r
penter
extra
:
c
le
a
nup is_
w
hole_ra
n
ge
(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-21
Dan Car
p
enter
r
ange
s
: make possibly_true_range_list_rl() take an
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-21
Dan Carpenter
range
s
: r
e
name get_single_valu
e
_from_dinfo() =>
e
state
_
ge
t
_s
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-21
Dan
Carp
e
nt
e
r
imp
l
i
ed
:
use new estate_related() fu
n
c
tion
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-21
Dan Carpente
r
c
o
nstraints:
u
se new est
a
t
e
_rel
a
t
ed() functio
n
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-21
Dan Carpent
e
r
constr
a
ints: make get_common_relationship()
t
ake an
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-21
Dan C
a
rpenter
esta
t
e: introduce e
s
tate_mi
n
/max()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-21
Dan Carpent
e
r
estate: introduce est
a
te_re
l
ated
(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-21
Dan Ca
r
penter
es
t
ate:
i
ntroduce
e
state_ranges()
helper f
u
nction
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-21
D
a
n Carpenter
dinfo,
e
state: mv smatch_dinfo
.
c smatch_estate
.
c
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-21
D
a
n
Carpenter
tree-wide
:
s/
e
xtra_state/esta
t
e/g
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-21
Da
n
Carpenter
extra, dinfo: move get_dinfo() from sma
t
ch_extra
.
c
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-21
Dan Carp
e
nter
e
xt
r
a, rang
e
s: make p
o
ssibly_true/fals
e
(
)
take an expr
e
ssion
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-20
Dan Carpen
t
er
*new* kmalloc_wrong_siz
e
:
c
he
c
ks the
e
lement si
z
e
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-20
Dan Carpenter
debug: a
d
d
__sm
a
tch_impl
i
e
d
()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-20
Dan Carp
e
nt
e
r
extra: modify match_compariso
n
() so it can de
a
l
w
i
t
h
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-20
D
an C
a
rpen
t
er
dinfo: intro
d
uce
e
xtra_empty
(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-15
Dan Carpent
e
r
ranges: i
n
tro
d
uce alloc
_
rang
e
_
li
s
t()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-15
D
an Carpe
n
ter
e
x
tra
:
remov
e
a variab
l
e from match_com
p
aris
o
n()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-15
Dan Carpen
t
er
e
x
t
r
a:
c
re
a
te set_extra_expr_t
r
ue_false()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-15
D
a
n
C
arpen
t
er
extra
:
m
o
ve some
code out of matc
h
_compariso
n
()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-14
Dan Carpenter
extra:
h
a
n
dl
e
p
o
st i
n
crem
e
nt in compariso
n
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-14
Dan Carpenter
extra:
rew
r
ite how
++ and -- a
r
e hand
l
ed
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-14
Dan
Carpenter
ranges: introduce r
l
_min() and r
l
_max()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-14
D
an Car
p
e
n
ter
ranges
:
remove some duplic
a
te code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-14
Dan Carpenter
get_variabl
e
_from_expr(): &
f
oo i
s
complicat
e
d
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-09
Dan Carpenter
db: use the return
info
r
matio
n
in a couple o
t
her
p
l
a
ces
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-07
Dan Carpenter
extra,
d
b, ran
g
es:
move new stu
f
f out of ranges so
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-07
Da
n
C
a
rpenter
db: speedup r
e
t
urn info stuff
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-06
Dan Carpe
n
ter
db: remove debug
g
ing
m
essage
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-06
Dan Carpe
n
te
r
db: handle
-
1 arguments correctly
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-06
Dan Carpenter
extra:
fix se
g
fault parsi
n
g invalid code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-06
Dan
Carpenter
d
b
: store the
r
eturn value in
the dat
a
b
ase
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-06
D
a
n
Ca
r
penter
db: tu
r
n
o
f
f
database j
o
u
rnalli
n
g
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-03
Dan Carp
e
n
t
e
r
ra
n
ges: add a FIXME comment
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-03
Dan Carpe
n
ter
type:
remove a fr
e
e_netde
v
() fal
s
e positive
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-02
Dan Carpen
t
er
fil
l
_db
_
functi
o
n_p
t
r
:
fixup formatting changes fallout
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-01
Dan Carpenter
db_i
n
fo: we
don't care about
void returns for
now
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-01
Dan
C
a
rpenter
d
b
_info: remove dupli
c
ate
implemen
t
ation
o
f show
_
r
a
nges()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-01
Dan Carpent
e
r
show_unreachabl
e
:
f
ormat
c
ha
n
g
e
s fixu
p
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-01
Dan Carpenter
db: r
e
mo
v
e an unneeded #inclu
d
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-01
Dan Carpenter
tree wide: c
h
a
n
g
e o
u
tput fo
r
mat
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2012-02-01
Dan Ca
r
penter
redund
a
nt_null_ch
e
ck: make
s
ome v
a
r
iables stat
i
c
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
next