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_array_overflow.c
2016-02-10
Dan Ca
r
p
enter
vali
d
atio
n
: updat
e
sm_array_overflow
.
c
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpen
t
er
memcpy
_
overflow
:
ignore s
o
me st
r
uct
t
ypes which cause
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
D
an Carpenter
memcpy_overflow: handle varia
b
l
e
len
g
t
h
s
t
r
ucts correctly
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpenter
i
m
p
lied: use implication
s
from f
u
nc
t
ion c
o
nditions
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan
Ca
r
p
e
nter
functi
o
n
_
hooks: d
o
n't parse comp
a
rison cond
i
tions t
w
ice
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpente
r
conditions: set
t
he parent expression wh
e
n parsing
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
D
an Carpen
t
er
flow: rena
m
e
set_p
a
rent()
to set_parent_expr()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan
C
a
rpenter
precedence: fix some false p
o
sitives
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Ca
r
pent
e
r
kernel_printf: i
g
no
r
e %pg which are block pointers
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carp
e
nter
indenting: ignore pre and post s
t
atemen
t
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan C
a
rpen
t
er
compari
s
on: fix
f
allout from
a
lg
e
bra chang
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan C
a
r
pent
e
r
compar
i
son: don't re-implement e
x
pr_to_c
h
unk_sym_
v
sl
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
D
a
n
Car
p
e
nter
helper: a
n
umber
is not
a
chunk in expr_to_
c
hunk()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan
Carpenter
function
_
hooks: don't process condition funct
i
ons twice
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Ca
r
pente
r
conditions: introduce the big_condit
i
o
n_stack
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
D
a
n Car
p
enter
function_ho
o
k
s: reset states to
o
riginal
s
tate between
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpe
n
ter
f
u
nc
t
ion_hooks: return ear
l
ier on culled p
a
ths
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-05
D
an Carpen
t
er
memcpy_overflow: silence
f
a
ls
e
positive when de
s
tina
t
ion
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-05
Dan Carpenter
memcpy_ove
r
flow: improve struct mem
b
er bo
u
ndary calculati
o
n
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-05
Dan Carpenter
mem
c
py_overfl
o
w
:
fall ba
c
k to type size to c
a
l
c
u
late
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-05
Dan Carpen
t
er
modification_h
o
o
k
s:
f
ix fall ou
t
from rece
n
t changes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-04
Dan C
a
rpenter
memcpy_overf
l
ow: ignore 1 element
a
rrays
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-04
Dan Ca
r
p
e
nter
mem
c
py_overflow: handle array
m
e
m
b
e
rs b
e
tt
e
r
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-04
D
a
n Carpenter
index_overflow: silence
f
als
e
positives with
-
-
spam
m
y
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
Dan Carpenter
Makefile: turn o
n
-W
n
o-switch
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
Dan Carp
e
nter
extr
a
: ret
u
rn a bit quicker if ther
e
are no true
a
nd
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
Dan C
a
rpenter
extra: simpl
i
f
y the code in
handl
e
_comparison() a bit
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
Dan Ca
r
penter
ext
r
a: handle i
f
(offset
+
byte
s
> si
z
e)
c
omparisons
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
Dan Carp
e
nter
c
o
mparison: ma
k
e modifications cl
e
ar the comparisons
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
Dan C
a
rpent
e
r
mo
d
i
ficat
i
on_hooks
:
introduce add_modific
a
tion_hook_late
(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
Dan Carpenter
comp
a
rison: do algebra
o
n "f
o
o +
b
ar >
baz"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
Dan Carpenter
index
_
overflow: si
l
ence so
m
e warnings when --s
p
ammy
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpenter
comparison: split
__
c
omparis
o
n_mat
c
h_con
d
ition()
u
p
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
D
a
n
Carpen
t
er
comparis
o
n:
s
t
o
r
e p
a
ra
m
eter c
o
mp
a
risons
i
n
the
d
atabase
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
D
a
n Carpenter
buf_size
:
add some more
allocat
i
on fu
n
c
t
i
ons
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpenter
memcpy_overflow:
fix
b
uild
e
rror
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan
C
a
r
pent
e
r
bu
f
_size: add alloc_pages() and friends
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
D
an Carp
e
nter
buf
_
s
ize: handle get
t
ing
a
d
d
ress
o
f array
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan
Carpenter
m
e
mcp
y
_overf
l
ow: sil
e
nc
e
a
bunch of false positives
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carp
e
nt
e
r
memcp
y
_overflow: renam
e
'data' to 'limit
'
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
D
a
n
Carpenter
memcpy_over
f
low: u
s
e range l
i
s
t from chec
k
_user_data2
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Ca
r
p
enter
testing_
i
ndex_after
_
u
se:
r
e
n
ame check_ov
e
rflow to
t
esting_in
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
D
a
n Carpe
n
t
e
r
over
f
l
ow
,
a
l
l
o
cat
i
ng_
e
nough
_
data
:
split check_o
v
erf
l
ow
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carp
e
n
t
er
overflow, snprintf
_
ov
e
rflow: split
o
ut snprintf
c
hecking
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpenter
ov
e
rflow, sp
r
intf_overflow: split
out s
p
rintf c
h
eck
i
n
g
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpent
e
r
overflow, strcpy_ov
e
rflow: split strcpy o
v
erflows
into
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
D
a
n Carpenter
c
h
eck
_
o
v
e
rflow:
d
elete some
dead code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpenter
overf
l
ow, memcpy_overflow: split ch
e
ck_
o
verflow
.
c into
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpenter
i
n
dex_overflow: de
l
e
te
s
ome dead code
,
r
e
verse some
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan
C
arpenter
overflow, index_overflow:
s
tart spl
i
tting up
c
heck_o
v
erflow
.
c
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-01
Dan Carpenter
symbol: improv
e
sizeof() for
packed
structs
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-28
D
an C
a
r
p
enter
b
u
f_size: record variable size buffers
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-27
Dan Carpenter
addre
s
s
:
ta
k
e alig
n
ment i
n
to co
n
sidera
t
ion and export
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-23
Dan C
a
rpenter
slist: m
a
ke
_
_merge_slist() a
l
locate
le
s
s memory
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-19
D
a
n Car
p
enter
comp
a
riso
n
: fi
x
build e
r
ror
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
Dan
C
a
r
penter
math: try harder in var_to_absolute_rl(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
Dan
Carpente
r
user_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_data2: white space st
u
ff
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
D
a
n Carpe
n
ter
st
r
ing_l
i
st: s
i
lence a
GCC
warning
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
Dan
C
arpente
r
kernel_printf: we changed %
p
g t
o
%
p
j
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
apped
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
Dan Carpe
n
t
e
r
c
apped: w
h
ite spac
e
change
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
Dan Carpen
t
er
capped: fix return impli
e
s
capped
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
D
a
n
Ca
r
p
e
nte
r
capped
:
be
t
ter handle
on unmatche
d
state
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-15
D
an Carpenter
extra: handle
r
etur
n
ed
s
t
r
uct
m
embers
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-13
Dan Carpenter
db:
m
ake get_param_name() chec
k
for NULL sm->sym pointers
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-13
D
a
n C
a
rpenter
user_data2:
s
imple_
s
trtoul
(
)
is
use
r
data
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-13
Dan Carpente
r
us
e
r_data2: always set *fo
o
to use
r
d
a
t
a
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-13
Dan Carpent
e
r
user_data2: us
e
fake
ass
i
g
n
ments instead of dup
l
i
cating
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-13
Dan Car
p
e
n
ter
user_da
t
a2
:
handle
arrays better
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-06
Da
n
Carp
e
nt
e
r
*new* vim_smdb: a script for look
i
ng
up call
e
r information
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-01-04
D
a
n
Carpenter
buf_si
z
e
:
f
i
x c
o
mpile on ol
d
er GC
C
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-22
Dan Carpent
e
r
math: use real_a
b
so
l
ute f
o
r custom
m
ath h
a
n
dling (user_da
t
a)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-22
Dan Ca
r
pen
t
er
debu
g
: ad
d
__smatch_real
_
absol
u
te()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-21
Dan Ca
r
p
enter
smdb
.
py: add
tr
a
ce_par
a
m
feature
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-21
Dan Car
p
en
t
e
r
smdb
.
py: add CULL_PATH type
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-21
Da
n
C
arpen
t
er
smdb
.
py
:
add call
_
tree to help outp
u
t
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-21
Dan C
a
rpenter
data
_
so
u
rce: don't print wrong
sources
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-17
Da
n
Car
p
enter
dat
a
_
source: follow parameters be
t
ter
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-17
Dan
C
arpenter
e
s
t
ate:
clear un
s
et st
r
uct members in clone_dinfo_perm()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-17
Da
n
Car
p
ent
e
r
flow: fix some issues wi
t
h
t
o
o
ha
i
ry func
t
io
n
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-17
D
a
n
C
a
rpenter
struct
_
assi
g
nment:
handle
ss
c
anf
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-04
Dan Carpent
e
r
r
anges: export sval_fls_mask
(
) and
f
ls_mask()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-04
D
a
n Carpenter
impl
i
ed: remove le
f
t_
r
i
g
ht variable
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-03
Dan Carpent
e
r
impli
e
d: d
o
t
ype pro
m
otion
ea
r
lier
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-02
Da
n
Carpenter
impli
e
d
: r
e
name "ranges" to "rl"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-02
Da
n
Carpenter
imp
l
ied: rename "va
l
s" t
o
"
rl"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-02
Dan Carpenter
impl
i
ed: rename lr to lef
t
_right
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-02
Dan Carpe
n
ter
implied: u
s
e "sm" as the defaul
t
name for sm_states
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-01
D
a
n Carpenter
i
mplied: r
e
move th
e
--no-implied option
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-01
Dan Carpenter
flow:
commi
t
the r
e
s
t
o
f the range
d
case patch
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-01
Dan Carpenter
s
match: remov
e
-
-k
n
own_con
d
itions opt
i
o
n
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-01
Dan Ca
r
pent
e
r
msg
:
p
r
int sm_msg()
i
f
l
o
cal_d
e
bug is
o
n
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-12-01
Dan Car
p
enter
comparison: fix
an
implication bug
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-11-30
Dan Carpent
e
r
flow: handle ranged c
a
se stateme
n
t
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-11-30
Dan Car
p
enter
funct
i
on_hooks:
impossib
l
e: don't s
e
t b
o
th sides
t
o
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-11-27
Dan Carpenter
unre
a
chable: ignore a
couple new macros
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-11-24
Dan Carpenter
string_list: accept const strin
g
s and NULL
p
o
inte
r
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-11-19
Dan
C
arpenter
v
alidation: update some
tests
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2015-11-19
Dan Carpenter
compa
r
iso
n
: remove bogus NULL check
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
next