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
states: only set the fake_stree in set_state()
2016-02-17
D
a
n
Car
p
enter
states: only
set
the
f
ake_stree
i
n
set_state()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-17
D
a
n Carpent
e
r
implic
a
t
ions:
u
se store
d
_co
n
ditions the
d
efault fal
l
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-17
Dan Carp
e
nter
imp
l
ied: unb
r
eak assign_ranged_f
u
nctions
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-16
Dan Carpenter
s
t
ates: delete an
u
nu
s
ed function
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-16
Dan
C
arpe
n
te
r
i
mp
l
ied:
f
ix PAR
A
M_
L
IMIT implications again
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-16
Dan
C
arpenter
im
p
lied: fall out from fake_cur_s
t
ree ch
a
nges
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-15
Da
n
Ca
r
penter
real_absolute: += an
d
=
are n
o
t the
s
ame
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-15
Dan
Carpent
e
r
states: __set_sm_cur_stree() shoul
d
not chan
g
e the
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-15
Dan Carpenter
s
tates: setting the true state doesn't set
the
cur
_
stree
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-11
Dan Carpenter
i
m
plied: f
i
x a bug handl
i
ng PAR
A
M_LIMIT implications
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-11
Dan Carpenter
validation
:
a
d
d sm_impossible2
.
c
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-11
D
an Carpenter
s
truct
_
ass
i
gnment: silence a GCC false
positi
v
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-11
D
an Carpenter
va
l
id
a
tion
/
sm_im
p
lied10
.
c: u
p
date the test
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-11
Dan
Car
p
ente
r
ex
t
ra: fix values_fit_type(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-11
Dan Carpent
e
r
Revert "sl
i
st: make
_
_merge_slist() allocate
l
e
s
s m
e
m
o
ry"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-11
Dan
C
a
r
penter
flow: si
l
ence a GCC fals
e
positive
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-11
Dan Carpe
n
ter
validation/sm
_
c
o
mpare3
.
c: update th
e
che
c
k
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-10
D
a
n
Carpenter
validation:
u
pdate
sm_math1
.
c
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-10
Dan Car
p
enter
vali
d
at
i
on: update s
m
_overflow3
.
c
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-10
Dan Carpenter
v
a
lidation/sm_inli
n
e3
.
c: remove accide
n
t
al incl
u
de
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-10
Da
n
Carpenter
v
al
i
dat
i
on: up
d
ate a
co
u
ple comp
a
re test
s
and
m
ak
e
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-10
Dan Carpenter
valid
a
t
ion/s
m
_buf_
s
ize6: use correct eleme
n
t count
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-10
D
a
n Carpenter
validation: upd
a
te sm_a
r
r
ay_overflow
.
c
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Car
p
e
nter
memcpy_ove
r
flow: ignore some stru
c
t types which cau
s
e
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
D
an Carpenter
memcp
y
_overflow:
h
andle
variable length structs
c
orrectly
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpenter
im
p
li
e
d: use
implications from function conditi
o
ns
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Ca
r
penter
function_hooks: don't parse c
o
mp
a
r
ison conditions twice
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpenter
condition
s
: set the p
a
rent
expression
w
hen p
a
rsing
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpent
e
r
flow: rename set_parent() to set_paren
t
_expr()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
D
a
n Carpenter
preceden
c
e: fix some fa
l
se pos
i
tives
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpenter
kernel
_
p
r
intf: ignore
%pg which
are block point
e
rs
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpenter
indenting: ign
o
re
p
r
e
and post statement
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carp
e
nter
comparison: fix
fal
l
out
f
rom alg
e
br
a
c
h
a
n
ge
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpenter
comparison: don'
t
re-implement
e
xpr_to_chunk_sym_vsl
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
D
an
C
arpenter
helper: a number is n
o
t a c
h
unk in expr_to_ch
u
nk()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpe
n
ter
func
t
ion_h
o
oks
:
don't proc
e
ss
c
ondition functions
t
wice
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpente
r
c
onditions: intro
d
u
c
e the big_condition_stack
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
D
a
n Carpenter
function_
h
ooks: reset
s
tates to origi
n
a
l state
b
e
t
ween
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpenter
func
t
ion_hooks: return
e
a
r
lier on culled
paths
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-05
Da
n
C
a
r
penter
memcpy_overflow: silence false
positive when destination
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-05
Dan Carpenter
memcpy_overflow: imp
r
o
v
e st
r
uct me
m
ber boundary calculatio
n
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-05
D
a
n Carpenter
memc
p
y_o
v
erflow: fall bac
k
to type size to
c
alculate
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-05
Dan Carpent
e
r
modif
i
cat
i
o
n_hooks: fix
f
a
l
l out fr
o
m recent ch
a
nges
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-04
Dan C
a
rpenter
memcpy_ov
e
r
f
low: ignore 1 element arrays
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-04
D
an Carpent
e
r
memcpy_
o
v
e
r
flow: handl
e
array mem
b
e
rs b
e
tter
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-04
Dan Carpent
e
r
index_overflow:
silence
false p
o
sitives wi
t
h --s
p
am
m
y
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
D
a
n Carp
e
nt
e
r
Makefile: turn
on -Wno-swi
t
ch
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
D
an Carpenter
extr
a
:
return
a
b
it quick
e
r if ther
e
are
n
o true and
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
D
a
n Carpenter
extra: simplify the code in ha
n
dle_
c
om
p
a
rison() a b
i
t
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
Dan Carpenter
extra: handl
e
if (offset + byte
s
> size)
co
m
parisons
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
Dan Carpenter
comparis
o
n:
make modifications cle
a
r the comp
a
risons
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
Dan Carpent
e
r
modification_hooks: introduc
e
ad
d
_modific
a
t
i
on_hoo
k
_late(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
Dan Carpenter
comparison: do algebra o
n
"
foo + bar > baz"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
Dan
C
arpen
t
er
index
_
o
v
e
rflo
w
: silence some war
n
ings when --spammy
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
D
an Carpent
e
r
c
ompa
r
is
o
n:
s
plit __
c
omparis
o
n_match_
c
ondition() up
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carp
e
nter
comparison: store p
a
rameter
c
omparisons in t
h
e database
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpenter
buf_siz
e
: add some mo
r
e allocation funct
i
ons
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpenter
memcpy_overflow: fix build error
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Da
n
Carpenter
buf_size: add alloc_pages() and
f
riends
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpe
n
t
er
buf
_
size:
handle getting
addr
e
ss o
f
arrays
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan
Ca
r
penter
m
emcpy_overflow
:
sile
n
ce a bunch o
f
false posit
i
ves
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan
C
arpenter
memcpy_overflow: renam
e
'data'
t
o 'li
m
i
t'
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Car
p
ente
r
memcpy
_
overflow: use range list from che
c
k
_user_
d
at
a
2
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Da
n
Carpenter
test
i
ng_index_after_use: rena
m
e check_overflow to
testing_in
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpenter
overflow
,
allocating_enough_data:
s
p
lit check
_
overflow
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpenter
o
verflo
w
,
s
nprintf_overflow: s
p
l
it out snprintf chec
k
ing
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpent
e
r
o
v
erflow,
s
printf_overfl
o
w: split
out
s
p
r
in
t
f c
h
eckin
g
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Da
n
Ca
r
pen
t
er
o
v
e
r
f
low, strcpy_overflo
w
: s
p
lit strc
p
y overfl
o
ws in
t
o
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
D
a
n Carpen
t
er
check_overflow: d
e
lete som
e
dead code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
D
an C
a
rpenter
ove
r
f
low, me
m
cpy_ov
e
rflow
:
split che
c
k_overflow
.
c i
n
to
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpenter
i
n
dex_o
v
erflow: d
e
l
ete some dea
d
code, re
v
e
rse s
o
me
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Ca
r
pen
t
e
r
overflo
w
, index_ove
r
flow: start split
t
ing u
p
check_
o
verfl
o
w
.
c
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-01
Dan Carpenter
symbo
l
: improve s
i
z
eof() for pack
e
d
structs
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-28
Dan Carpenter
buf_si
z
e: record variable size buffers
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-27
Dan C
a
rpenter
address: t
a
ke align
m
ent into consideration and
export
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-23
Dan Carpen
t
er
sl
i
st: make __merge_slist() alloca
t
e
le
s
s
m
emory
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-19
Dan Carpenter
comparis
o
n: f
i
x build er
r
or
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
Dan
Carpen
t
er
ma
t
h: try harder
in
v
ar_to
_
absolute_rl()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
Dan Carpenter
us
e
r_dat
a
2: introd
u
ce get_user_r
l
_v
a
r_sym()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
Dan Carpent
e
r
user_data2: whit
e
space
stuff
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
Dan Carpenter
s
tr
i
ng_
l
ist: silence a GCC
warning
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
Dan Carpe
n
ter
kernel_print
f
:
w
e changed %p
g
to %pj
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
D
an Carpenter
cappe
d
: m
u
ltiplicatio
n
s
ca
n
b
e
capped
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
Dan Car
p
enter
capped: white s
p
ace c
h
ange
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
D
a
n
Carpenter
capped: fix return imp
l
ies ca
p
ped
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
Dan
C
a
r
pen
t
e
r
capped: better handle on unmatched sta
t
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
D
a
n
C
arpe
n
ter
extra: handle r
e
turned struct members
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-13
Dan Carpenter
db: make get_param_na
m
e() che
c
k for
N
ULL sm->sy
m
poin
t
ers
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-13
D
a
n Carpenter
user_data2: simpl
e
_
strtoul(
)
i
s
us
e
r
data
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-13
Dan C
a
rpenter
user_dat
a
2:
a
l
ways s
e
t
*foo to user d
a
ta
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-13
Dan Carpe
n
ter
use
r
_d
a
ta2: u
s
e fake assignments instea
d
of duplicati
n
g
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-13
Dan Car
p
en
t
er
u
s
er_data2: handle arr
a
ys better
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-06
Dan
Carpente
r
*new* vim_smdb
:
a
sc
r
ipt for loo
k
ing up
c
al
l
er infor
m
at
i
on
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-04
D
a
n Car
p
enter
buf_size: fix c
o
mpil
e
o
n
older GCCs
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-22
D
an Carpenter
math: use real_ab
s
olu
t
e
for custom
m
ath han
d
ling
(user_data)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-22
Da
n
Carpenter
deb
u
g
:
add __smatch_re
a
l_absolute()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-21
Dan
C
arpen
t
er
smdb
.
py: add
t
race_para
m
feature
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-21
Da
n
C
a
rpenter
smd
b
.
py: add C
U
LL_PATH type
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-21
Da
n
Carpenter
smdb
.
py: add call_tree to
h
elp output
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-21
Dan Carpen
t
er
d
a
ta
_
source: don't print w
r
ong
sources
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
next