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, conditions: handle label statements correctly
2016-02-23
Da
n
Carpenter
flow, conditions:
h
andle label stat
e
m
e
n
ts correctly
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-23
Dan Carpen
t
er
db: fix a bug in splitting retur
n
states
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-19
Dan
Carpenter
Revert "states: only set the
fak
e
_stree in se
t
_st
a
te
(
)"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-17
Dan Car
p
enter
locking: don't warn about
impossible path
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-17
Dan Ca
r
penter
validation/sm_impl
i
ed8
.
c
:
update test
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-17
Dan
C
arpenter
function_hooks: use __set
_
sm_cur_
s
tr
e
e() in db_return_states
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-17
Dan Carpenter
sta
t
es
:
only set the
f
ake_stree in set_s
t
a
te()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-17
Dan Carpen
t
er
implications: us
e
stored_conditions the default fal
l
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-17
Dan C
a
rpenter
implied: unbreak assign_ranged_func
t
ions
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-16
Dan Ca
r
pen
t
er
states: delete a
n
unused function
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-16
Dan
C
a
r
penter
implied:
f
ix
P
A
R
AM_L
I
MIT i
m
plications
a
gain
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-16
D
a
n C
a
r
pent
e
r
implied: fall
out
f
r
o
m
fake_cur_str
e
e changes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-15
Dan Carpente
r
real_abs
o
l
u
te: +=
and = ar
e
n
ot the same
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-15
Dan Carpenter
s
t
ates: __set
_
sm_cur
_
stree() should not ch
a
ng
e
t
h
e
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-15
D
a
n Carpente
r
states: setting the true state doesn't set the c
u
r
_stree
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-11
Dan Carpenter
implied: fix a
bug handlin
g
PARAM_
L
IMIT implications
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-11
Dan Carpenter
validation
:
add
s
m
_impossible2
.
c
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-11
Dan Carpenter
struct_assignment:
s
ilence a GCC false
po
s
iti
v
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-11
Dan
Carpenter
validation/sm_implied10
.
c:
update the test
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-11
D
a
n Carpenter
ext
r
a: fix v
a
lues_fit_type()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-11
Dan C
a
rpenter
Revert
"slist: make __me
r
ge_slist(
)
all
o
cate less mem
o
ry"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-11
Dan Carp
e
nter
f
l
o
w: silence a GCC
f
alse positive
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-11
Dan Carpente
r
val
i
dation/sm_compare3
.
c: u
p
da
t
e the ch
e
ck
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-10
D
a
n C
a
r
penter
validat
i
on: up
d
a
t
e
sm_
m
ath1
.
c
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-10
Dan Car
p
e
nter
validatio
n
: update
sm_overflow3
.
c
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-10
Dan Ca
r
p
e
nter
v
a
li
d
ation/sm_inline3
.
c: remove accidental
incl
u
d
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-10
Dan
Carpenter
validation: upd
a
te
a
cou
p
le compare tests and
make
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-10
Da
n
C
a
rp
e
nte
r
valid
a
ti
o
n/sm_buf_si
z
e6: us
e
c
orrect element count
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-10
Dan Ca
r
penter
va
l
idation:
update sm_array_overflow
.
c
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Da
n
Carp
e
nter
memc
p
y_ov
e
rf
l
ow:
i
gnore some struct types which cause
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpent
e
r
memcpy_overflow:
hand
l
e va
r
iable leng
t
h structs
corr
e
ctl
y
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
D
an
Carpenter
i
m
pli
e
d: u
s
e
i
mp
l
ic
a
tions from func
t
ion conditi
o
ns
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpenter
functio
n
_hook
s
: don't parse compa
r
iso
n
conditions twi
c
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Da
n
Carpenter
cond
i
tio
n
s: set the p
a
r
ent exp
r
e
ssi
o
n when parsi
n
g
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Da
n
C
arpenter
f
l
ow: rename
s
e
t_parent(
)
to set_parent_e
x
pr()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpenter
preced
e
n
c
e: fix s
o
m
e
fa
l
se positives
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpenter
kerne
l
_p
r
intf: igno
r
e %pg
w
hich a
r
e
block pointers
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan
C
arpenter
indenting: ignore pr
e
an
d
pos
t
st
a
tements
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan
Carp
e
n
ter
comparison:
f
i
x
fallout
from algebra change
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpe
n
ter
comparison: don
'
t re-implement
e
xpr_to_chunk_s
y
m_vsl
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Car
p
enter
helper: a number is
n
ot a chunk in expr_to_chunk()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpenter
f
unct
i
on_hooks: don't p
r
ocess condition
functio
n
s t
w
ic
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
D
a
n
Carpenter
conditi
o
ns: introduce the big_condition_stack
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan C
a
rpenter
functi
o
n
_hooks
:
reset states
t
o original s
t
ate between
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
D
a
n
C
a
rpenter
function_hooks: ret
u
rn ear
l
ier on cul
l
e
d
paths
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-05
Dan
C
arpenter
memcpy_overflow
:
si
l
ence fals
e
positiv
e
w
h
en destinat
i
o
n
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-05
Da
n
Carpenter
m
e
mcpy_ov
e
rflow: improve
struct member boundary calculation
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-05
Dan C
a
rpente
r
memc
p
y_overflow: fall
back to type size to
cal
c
ulate
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-05
D
a
n
Carpenter
modificati
o
n_hooks: fix fall out from rece
n
t changes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-04
Dan C
a
rpe
n
ter
m
emcpy_o
v
erfl
o
w: ig
n
o
r
e
1 element array
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-04
Dan Carpenter
memcpy_overflow:
h
andle array mem
b
e
r
s bett
e
r
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-04
Dan
Carpente
r
in
d
ex_ove
r
f
l
o
w: si
l
ence false positives with --spa
m
m
y
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
Da
n
Carp
e
nter
Makefile: t
u
rn on -Wno-sw
i
tch
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
Da
n
C
arpenter
ex
t
ra: return
a
b
it quicker if
t
h
e
re are no t
r
u
e
and
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
Dan Carpe
n
ter
e
xtra: simplify th
e
code in
h
andle_compariso
n
() a bit
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
Dan Carpenter
extra: han
d
le i
f
(of
f
set +
b
yt
e
s > size) compari
s
ons
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
Dan Carpenter
c
o
mparison: make modificat
i
ons c
l
ear
the comparisons
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
Dan
Car
p
enter
modification_h
o
oks: introduce add
_
m
o
dification_ho
o
k_late()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
Dan
C
a
r
penter
comparison:
do
a
lgebr
a
o
n "foo + bar > baz"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
D
a
n
C
arpenter
in
d
ex_overflo
w
: silenc
e
s
ome
warnings when --s
p
ammy
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpenter
c
o
mparis
o
n: split __comparison
_
m
atch_condit
i
on() up
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpenter
comparison: store par
a
meter comparison
s
in the database
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpenter
buf_size:
a
d
d s
o
me m
o
r
e al
l
ocati
o
n func
t
i
ons
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carp
e
nter
me
m
cpy_overf
l
ow: f
i
x bu
i
ld error
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpenter
b
uf_size
:
add alloc_pages()
and friends
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpe
n
ter
b
u
f_siz
e
: ha
n
dle getting
a
ddress o
f
arrays
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Car
p
enter
memcpy_o
v
erfl
o
w
:
silen
c
e a
b
u
nch of false
p
ositive
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpenter
m
emcpy_over
f
low: renam
e
'data' to
'limit'
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpenter
me
m
cpy_ove
r
flow: use ra
n
ge lis
t
from check_user_data2
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
D
an Carpenter
testin
g
_index_after_use: rena
m
e check_overflow to
testing
_
i
n
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan
C
ar
p
en
t
er
over
f
low, allocatin
g
_e
n
ough_da
t
a: split chec
k
_overflow
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpenter
ove
r
flow, s
n
pr
i
ntf_o
v
erflow: split ou
t
sn
p
rintf checking
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
D
a
n Carpenter
overflow,
s
printf_overf
l
ow:
sp
l
it out
s
printf checking
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
D
an Carpenter
o
v
erflo
w
, strcpy_overfl
o
w: s
p
lit strcpy over
f
l
o
ws
i
n
to
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan
C
ar
p
enter
check_overflow: dele
t
e so
m
e d
e
ad code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpenter
ov
e
r
flow, memcpy_overflow: spli
t
check_ov
e
r
f
low
.
c into
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpenter
index_ov
e
rflow: de
l
e
te
s
ome de
a
d
code
,
reverse some
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
D
a
n Carpenter
overflow, i
n
dex_ov
e
rflow: start
splittin
g
up check_overflow
.
c
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-01
Dan Carpenter
symbol: impro
v
e sizeof()
f
or pack
e
d stru
c
ts
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-28
Dan Carpenter
buf_size: reco
r
d variabl
e
size buffers
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-27
Da
n
Carpenter
address: take
alignm
e
nt in
t
o
conside
r
at
i
on and e
x
port
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-23
Dan Carpe
n
ter
slist: make __me
r
ge_slist()
a
llocate
les
s
mem
o
ry
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-19
Da
n
Carpenter
co
m
parison
:
fix build error
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
Dan Carpent
e
r
math: t
r
y harder
in var
_
to_abs
o
lute_rl()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
Dan
Carpenter
use
r
_dat
a
2: introduce get_us
e
r_rl_var_sym(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
Dan Carpenter
us
e
r_data2: white
spac
e
stuff
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
Dan Car
p
enter
s
tring_list: silence
a
GCC war
n
i
ng
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
Dan Car
p
enter
kernel_
p
rintf: we chan
g
ed %pg to %pj
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
Dan Car
p
enter
capped: multiplicati
o
ns can be c
a
p
p
ed
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
Dan Carp
e
n
ter
cappe
d
: white space change
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
Dan Carpenter
capped:
fix
r
eturn impli
e
s c
a
pped
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
Dan
C
arpenter
c
a
pped: better handle
on
u
n
m
atched state
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
D
an Carpenter
ext
r
a:
han
d
le
r
eturned struc
t
me
m
bers
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-13
Dan Carpe
n
t
e
r
db: make ge
t
_param_
n
a
m
e() check fo
r
NULL sm->sy
m
po
i
nters
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-13
Dan Carp
e
nter
user_data2: simple_strtoul(
)
is
u
se
r
da
t
a
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-13
Dan
C
a
rpenter
user_data2: always
s
et *foo
to
u
s
er da
t
a
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-13
Dan Carpenter
user_data2: use fake
assignments ins
t
ead of duplicating
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-13
D
a
n Carpente
r
u
se
r
_
d
ata2: h
a
n
dle arrays better
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-06
Dan
C
arpente
r
*n
e
w
*
vim_smdb: a script fo
r
loo
k
in
g
u
p ca
l
ler information
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-04
Dan
Carpenter
buf_s
i
ze: fix com
p
ile on older GCCs
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
next