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
validation: update sm_math1.c
2016-02-10
Dan Carpenter
v
alidation: update
s
m_math1
.
c
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-10
D
an C
a
rpenter
valida
t
ion: update sm_o
v
e
rflow3
.
c
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-10
Dan Carpenter
validation
/
sm_inline3
.
c: re
m
o
v
e
a
ccid
e
ntal incl
u
de
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-10
Dan Carpenter
validation: up
d
ate
a cou
p
le compare tests
a
n
d mak
e
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-10
Dan Carpente
r
validation/sm_bu
f
_
size6: use correct ele
m
e
n
t count
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-10
Da
n
Carpente
r
vali
d
ation: update sm_array_overf
l
ow
.
c
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpenter
memcpy_o
v
erfl
o
w: ignore some
s
tr
u
ct types
which c
a
us
e
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
D
a
n
C
a
rpenter
memc
p
y_ov
e
rflow: ha
n
dle variable length st
r
ucts correctly
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan
C
arp
e
nter
implied: use implica
t
ions from fu
n
c
t
ion c
o
ndi
t
ions
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan
C
arpenter
function_
h
ooks: d
o
n'
t
parse com
p
arison c
o
nditio
n
s twice
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Car
p
ente
r
conditions: set
the
parent expression when parsing
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpe
n
ter
fl
o
w: rename set_paren
t
() to set_p
a
rent_expr
(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
D
a
n Carpent
e
r
precedence: fix some false posit
i
ves
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpenter
ke
r
nel_
p
rintf: ig
n
o
re %pg which
ar
e
block pointe
r
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan
Carpenter
inde
n
ting: igno
r
e pre and post statements
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
D
a
n
Car
p
enter
compa
r
iso
n
: fix fallout
f
ro
m
algebra
ch
a
ng
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
D
an Carpent
e
r
com
p
a
r
i
s
on:
d
on't re-implement expr_to
_
chunk_sym_vsl
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpenter
helper: a number
is not a
ch
u
n
k
i
n
expr
_
t
o
_chunk()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Ca
r
penter
function_hooks: don't p
r
ocess condition fun
c
tions twice
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpenter
c
o
n
ditio
n
s: introduce t
h
e big
_
con
d
ition_stac
k
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan
C
arpenter
f
u
nction_hooks: reset states to ori
g
inal state between
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Ca
r
p
enter
fu
n
ction_hooks: return earlier
on
c
ulled paths
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-05
Dan Car
p
enter
memcpy_overflo
w
: sile
n
ce
false positive when
d
estination
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-05
Dan Carpenter
memc
p
y_overflow: improve struct member boundary calculation
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-05
Dan C
a
rpenter
memcpy_o
v
erfl
o
w: fall back to type size t
o
calculate
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-05
D
an Carpent
e
r
modification
_
hook
s
: fix fall out fr
o
m recen
t
chang
e
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-04
Dan Carpenter
me
m
cpy_overflow: ignore 1 el
e
ment arrays
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-04
Dan Carpente
r
m
emcpy_overfl
o
w: hand
l
e array
members better
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-04
Dan Ca
r
penter
index_overflow: silence false positi
v
es with --spammy
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
Dan
C
arpen
t
e
r
Mak
e
fil
e
: turn on -
W
no
-
switc
h
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
Dan
Carpenter
extra: return
a
bit quicker if
t
here ar
e
n
o
true an
d
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
Dan C
a
rpenter
extra: simplify the code in ha
n
dle_comparis
o
n(
)
a bit
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
D
an Carpen
t
er
e
x
t
r
a: handle if
(
of
f
s
et + bytes > size) compa
r
isons
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
Dan Carpente
r
c
o
m
par
i
s
on:
m
ake modi
f
icati
o
ns
c
le
a
r the comp
a
risons
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
Dan Carpenter
mod
i
fication_hooks: introduce add_modifica
t
io
n
_hook_la
t
e()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
D
a
n
Carpenter
c
o
m
parison: do algeb
r
a on "foo + bar > baz"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
Dan C
a
rpenter
i
ndex_overflo
w
: si
l
ence some warnings when --spammy
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan C
a
r
p
e
nter
c
o
mpa
r
ison: spl
i
t __compar
i
son_match
_
c
ondit
i
on
(
) up
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpenter
comparison: store parameter com
p
a
r
isons in the database
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
D
a
n Carpe
n
ter
buf_s
i
z
e:
a
dd some m
o
r
e allocat
i
on
fu
n
ctions
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan
C
arpen
t
er
memcpy_over
f
low: fix build error
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
D
a
n Carpen
t
er
buf_s
i
ze
:
add alloc_pages
(
) and frie
n
ds
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpenter
buf
_
size: handle g
e
tting a
d
dress of arrays
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
D
a
n Carpe
n
ter
memcpy_overflow: silence a bunch of
false
posit
i
ves
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpente
r
memcpy_over
f
low
:
rename 'data' to 'limit'
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpenter
m
emc
p
y_overflow: use range
l
ist from ch
e
ck_user
_
data2
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
D
an C
a
r
penter
testing_index
_
after_us
e
: rename ch
e
c
k_overflow
t
o
t
esting_in
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Ca
r
pe
n
t
er
o
v
erflow, allocating
_
enoug
h
_data:
s
p
lit chec
k
_over
f
low
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpenter
ov
e
rflow,
snprintf_overfl
o
w
:
split out snprintf checking
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpenter
o
v
erflow, sprintf_
o
verflow
:
split out
s
printf
c
hecki
n
g
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Da
n
Car
p
enter
overflo
w
, strcpy_overflow: sp
l
i
t
strcpy ov
e
rflow
s
in
t
o
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Da
n
Carp
e
nter
c
heck_overflow
:
de
l
ete som
e
d
ead code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpenter
overfl
o
w, memcpy_overfl
o
w
: split
check_overflow
.
c in
t
o
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpenter
inde
x
_ov
e
rflow:
delete some dead co
d
e,
r
e
ver
s
e some
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan
Carpenter
o
verfl
o
w,
ind
e
x_overflow: start splittin
g
u
p
c
h
eck_overflow
.
c
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-01
Da
n
Carpent
e
r
symbol: im
p
rove
s
izeof() for
packed stru
c
ts
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-28
Dan Carpenter
buf_size:
r
ecord variable siz
e
bu
f
fers
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-27
Dan Ca
r
penter
ad
d
ress:
take alignment into
consideration and ex
p
ort
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-23
Dan Carpenter
slist: make __merge
_
slist() allocate le
s
s memory
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-19
Dan Carpenter
com
p
arison: fix build error
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
Dan Ca
r
p
e
n
t
e
r
math: try
harder in var
_
to_absolute
_
r
l
()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
Dan Car
p
en
t
e
r
u
s
er_data2: introduce get
_
user_rl_var_sym
(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
Da
n
Carpenter
user_
d
ata2: white s
p
ac
e
s
t
uf
f
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
Dan Carpenter
strin
g
_list: s
i
lence
a
GCC warni
n
g
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
Dan Carpen
t
er
kernel_printf:
w
e
changed %pg
t
o
%p
j
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
Dan Carpenter
capped: multiplications ca
n
be c
a
p
p
e
d
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
Dan
C
arpenter
capped: white space change
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
Dan Carp
e
nte
r
c
appe
d
:
fix return implies c
a
pped
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
Dan Carpenter
capped: better handle on
u
n
matched sta
t
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
Dan Carpenter
extra: han
d
le ret
u
rned str
u
ct
m
em
b
ers
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-13
Dan Carpenter
db: make get_param_name() check
f
or NULL sm->sym pointe
r
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-13
Dan Carpent
e
r
u
s
er_data2: simple_strtoul()
is user data
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-13
Dan Carpenter
user_data2: always set *foo to user
d
a
ta
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-13
D
a
n
Carpent
e
r
user_data2: u
s
e fak
e
a
s
s
ignments instead
o
f dupli
c
ating
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-13
Dan Carpente
r
user_data2: handle arrays
better
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-06
D
a
n
C
ar
p
e
nter
*ne
w
*
vim_smdb: a scri
p
t
for l
o
oking
u
p cal
l
e
r
info
r
mat
i
on
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-04
Dan Carpen
t
er
b
uf_size: f
i
x compile on older GCCs
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-22
Dan
C
arpenter
math: use real_absolute f
o
r cu
s
tom math han
d
ling
(user_
d
ata)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-22
Dan Carpente
r
debug: a
d
d __smat
c
h_real_absolute
(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-21
Da
n
Carpenter
smdb
.
py: add trace_param fea
t
ure
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-21
Dan Carpenter
smdb
.
py: add CU
L
L_PATH
ty
p
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-21
Dan Carpenter
smdb
.
py: add call_tre
e
to he
l
p
ou
t
put
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-21
D
a
n
Carp
e
nter
data_source: don't print wr
o
ng sou
r
ce
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-17
Da
n
C
a
r
p
enter
data_sourc
e
: follow parame
t
ers b
e
t
t
er
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-17
D
a
n Carpe
n
ter
estate
:
clear
unset s
t
ruct mem
b
ers
i
n clone_dinfo_perm()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-17
D
a
n C
a
rpenter
flow: fix som
e
issues with t
o
o hairy f
u
nctions
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-17
Dan Carpe
n
t
er
s
t
ruct_assign
m
ent: handle sscanf
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-09
Rasmus Vill
e
moe
s
che
c
k_kernel_pri
n
tf
.
c: supp
o
r
t future %pgX
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-09
Rasmus Villemoes
check_kernel_printf
.
c: check for redu
n
dant or
con
f
using
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-09
Ras
m
us
V
ille
m
oes
ch
e
ck_kernel_printf
.
c: act
u
ally
allow printk level
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-09
Rasmus Villemoes
check_ke
r
nel_printf
.
c
:
support %pC
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-09
R
asmus Vi
l
l
e
moes
check_kernel_print
f
.
c:
remove some %pIS fa
l
se positives
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-09
Rasmus Villem
o
es
ch
e
c
k_kernel_printf
.
c: update struct printf_spec t
o
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-09
R
a
smu
s
Villem
o
e
s
check_ke
r
nel_p
r
intf
.
c: check for sign
e
d
c
har vers
u
s
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-09
Rasm
u
s Villem
o
es
check_k
e
rnel_
p
rintf
.
c
: reorder fl
a
g defines
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-09
Rasmus V
i
llemo
e
s
sparse: don't warn about unknown attributes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-09
Or G
e
rlitz
err_pt
r
_dere
f
:
F
i
x
b
u
il
d
o
n RHEL6
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-04
Dan Carpenter
ranges: export sv
a
l_fls_ma
s
k() and fls
_
mask()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-04
Dan Carpent
e
r
implied: rem
o
ve left_ri
g
h
t
v
a
riable
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-03
Dan Carpenter
implied: do t
y
p
e
promotion e
a
rlie
r
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
next