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 Carpent
e
r
v
a
l
id
a
ti
o
n
:
update
sm_arra
y
_overflow
.
c
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpenter
m
emcpy
_
ov
e
rflow: i
g
n
ore some
s
tru
c
t types
w
hich cause
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpenter
mem
c
py
_
overflow: h
a
ndle
v
ariable length struct
s
correctly
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-09
Dan Ca
r
penter
i
mplied: us
e
imp
l
ications
f
r
om
f
unc
t
ion
con
d
itions
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-09
Dan
Car
p
enter
function_hooks:
don't parse comparison conditions
twice
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpent
e
r
conditio
n
s: set
t
he parent expression
when
parsing
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpenter
flow
:
r
ename
s
et_parent() to set_
p
a
r
ent_expr()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpenter
precedence:
f
ix some false
p
osi
t
ives
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-09
Da
n
Carpen
t
e
r
kernel_printf: ign
o
re %pg which
a
re
block pointers
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carp
e
n
t
e
r
i
ndenting: ignore p
r
e and
p
o
st stat
e
ments
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-09
Dan Ca
r
penter
comparison: f
i
x f
a
ll
o
ut from algebr
a
chang
e
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-09
Dan Ca
r
p
e
n
ter
compari
s
on: don'
t
re-implement expr_to_chunk_sym_vsl
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carp
e
nter
helper: a number is not
a
chunk in expr_to_c
h
unk()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpen
t
er
function_
h
ooks:
don't process condition functio
n
s twice
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpenter
c
o
ndit
i
ons: int
r
oduce the big_condition_stack
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-09
Dan Ca
r
pe
n
ter
function
_
hooks: reset
states to
original state between
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-09
Dan
Carpenter
f
u
nc
t
io
n
_hooks:
re
t
urn ear
l
ier on cull
e
d paths
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-05
Dan Carp
e
nt
e
r
memcpy
_
overflow:
s
ilence false posi
t
iv
e
w
h
e
n desti
n
ation
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-05
Dan Carpenter
mem
c
py_overflo
w
: improve s
t
ruct member b
o
un
d
ary
c
a
lc
u
la
t
ion
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-05
Dan Car
p
enter
memcpy_ove
r
flow: fall back to t
y
pe size to calculate
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-05
Dan Car
p
enter
modification_hooks: fix fall o
u
t from rec
e
n
t
changes
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-04
Dan Carpenter
memcpy_o
v
erflow: ignore 1
e
leme
n
t arrays
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-04
Dan Carpen
t
e
r
m
em
c
py_overf
l
ow:
handle array mem
b
ers better
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-04
Dan Carpenter
index_overfl
o
w: s
i
lence fa
l
se positives with --spamm
y
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-03
Dan C
a
rp
e
n
ter
Makefile: turn o
n
-Wno-switch
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-03
Dan Carpenter
extr
a
: return a bit
quicker if there
a
re no
true
and
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-03
Dan Carpenter
ext
r
a:
simplify 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: hand
l
e if
(offset + bytes > size) comparison
s
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-03
Dan Carpenter
comparison: make modifica
t
ions clear
t
h
e
com
p
a
ri
s
on
s
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-03
Dan Carpenter
m
o
d
ification_hook
s
: introduce ad
d
_mo
d
ification_hook_late()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-03
Dan Carpenter
compa
r
i
s
on: do algebra
on "foo +
b
ar > baz
"
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-03
Dan Car
p
enter
index_overflow: silence some warnings
when -
-
spammy
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-02
D
an Ca
r
pen
t
er
c
omparison:
s
p
l
it __comparison_mat
c
h_condition() u
p
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-02
Da
n
Carpenter
comparison:
store parameter comparis
o
ns in the database
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-02
Dan
C
arpenter
buf_size: add
some more allocatio
n
functio
n
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-02
Dan
C
a
rpe
n
ter
memcpy_overflow: fix build error
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-02
D
a
n Ca
r
pe
n
ter
b
uf_
s
ize: add alloc_
p
ages
(
)
an
d
friends
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-02
Dan
C
a
r
pe
n
ter
buf_size: handle getting a
d
dress of arrays
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-02
Da
n
Ca
r
pen
t
er
memcpy_overflow: s
i
lence a bunch of
f
a
lse positives
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpenter
m
e
mcpy_overflow: rename
'data' to 'limit'
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-02
Dan C
a
rpent
e
r
memcpy_o
v
erflow: use
range l
i
st from check_user_data2
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-02
Dan Car
p
en
t
er
testin
g
_index_after_use:
r
ename
c
h
eck_overflow to testing_i
n
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carp
e
nte
r
o
v
er
f
low
,
alloc
a
t
ing_en
o
ugh_data: spl
i
t c
h
e
ck_ove
r
flow
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-02
D
a
n
C
arpenter
overflow, snpr
i
ntf_o
v
e
r
flow: split out
snprintf checking
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 sprintf checking
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-02
Dan C
a
rpente
r
o
v
erflow, strcpy_ov
e
r
flow: sp
l
it st
r
cpy overfl
o
ws into
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpent
e
r
c
h
ec
k
_ov
e
r
f
l
ow:
de
l
ete so
m
e dead code
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpen
t
er
overflow,
m
emcpy_overf
l
o
w: sp
l
it check_o
v
erflow
.
c into
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-02
D
a
n Carpenter
index_overfl
o
w
:
d
el
e
te some dea
d
co
d
e,
reverse s
o
me
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpenter
o
v
er
f
low, index
_
overflow
:
start splitting up check_overf
l
o
w
.
c
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-01
Dan Ca
r
pente
r
symbol: im
p
rov
e
sizeof
(
)
f
or
pack
e
d
struc
t
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-01-28
Dan Carpenter
buf_
s
ize: record variable
s
ize buffers
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-01-27
Dan Carpenter
a
dd
r
ess: take alignme
n
t into consideration and ex
p
ort
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-01-23
Dan Carp
e
nter
slis
t
: m
a
k
e __
m
erg
e
_sl
i
st(
)
alloc
a
te less memory
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-01-19
Dan Carpenter
comparison: fix build error
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-01-15
Dan Carpenter
math:
t
ry harder in var_to_absolut
e
_r
l
()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-01-15
Dan Carpenter
user_data2: int
r
oduce get_
u
ser_rl_var_sy
m
(
)
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-01-15
Dan
C
arpenter
u
s
er_data
2
: white space stu
f
f
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-01-15
D
a
n C
a
rpenter
stri
n
g_lis
t
:
silence a GCC warning
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-01-15
Dan Car
p
e
nte
r
kernel_printf: we changed %p
g
t
o
%
pj
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-01-15
D
a
n Carpenter
c
apped: multiplicati
o
ns ca
n
be capped
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-01-15
Dan Carpent
e
r
capped:
white space change
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-01-15
Dan Carpen
t
e
r
capped: fix
r
etu
r
n implies capped
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-01-15
Dan Carpenter
capped:
better
h
andle
on unmatche
d
state
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-01-15
Dan Carp
e
nter
extra
:
h
a
ndl
e
r
e
turn
e
d struct m
e
mbers
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-01-13
Da
n
Carpenter
db: make
g
et_para
m
_
n
am
e
() check for NULL sm->s
y
m poi
n
t
ers
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-01-13
Dan Carpen
t
er
use
r
_
data2: simple_strt
o
ul() is user data
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-01-13
Da
n
Carpenter
user_data2: always set *foo t
o
us
e
r
data
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-01-13
Dan
Car
p
ent
e
r
user_data2: use fake as
s
i
gnmen
t
s instead
of duplicating
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-01-13
Dan
C
arpenter
user_data2: handle a
r
rays better
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-01-06
Dan
Carpenter
*new* vim_smdb: a
script
for looking up caller
i
nformat
i
on
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-01-04
Dan Car
p
en
t
er
buf_size: fix compil
e
on older GC
C
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-22
Dan Carpent
e
r
m
ath: use
real
_
abs
o
lute for custom math h
a
ndling (user_da
t
a)
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-22
Da
n
Carpenter
d
e
bug
:
a
dd __smatch_real_abs
o
lute()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-21
Da
n
Carpenter
smdb
.
py: add trace_param f
e
ature
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-21
Dan Ca
r
p
e
nter
smdb
.
py: add CU
L
L
_
PATH t
y
pe
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-21
D
a
n Carpenter
smdb
.
py
:
add call_tre
e
to
hel
p
out
p
ut
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-21
Dan
C
a
rp
e
nter
data_sou
r
ce: don't print wr
o
ng sources
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-17
Dan Carpent
e
r
data_source: f
o
llow par
a
meters bett
e
r
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-17
Dan Ca
r
penter
estate:
c
lear unset
s
t
ru
c
t members
i
n clon
e
_dinfo
_
perm()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-17
Dan Carpenter
fl
o
w: fix some i
s
sues
with too hair
y
f
u
nctions
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-17
D
an Carpenter
struct_assignment
:
hand
l
e
sscanf
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-04
Dan
Carpenter
ranges: export sval_f
l
s_mas
k
() an
d
fls
_
mask()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-04
Da
n
Carpe
n
t
er
implied:
r
emove left_right variable
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-03
Dan Carpent
e
r
i
m
plied: do ty
p
e pro
m
otion
earl
i
e
r
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-02
D
a
n C
a
r
penter
implied: re
n
ame "ranges"
to "rl"
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-02
Dan Carpenter
implied: rename
"vals" to
"
r
l
"
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-02
Dan Carpenter
implied:
ren
a
me
lr
to left_right
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-02
Dan Carpe
n
ter
implied: use "sm" a
s
the default name
for sm_states
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-01
D
an Carpe
n
ter
implied:
r
emove the --no-im
p
l
ied option
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-01
Dan
C
a
rp
e
nter
flow: c
o
m
m
i
t the rest of the
ranged case pat
c
h
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-01
Dan
Car
p
e
nte
r
smatc
h
: re
m
ove
-
-known_c
o
nditions op
t
ion
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-01
Dan Carpenter
msg: print sm_ms
g
() if local_debug is on
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-12-01
Da
n
Car
p
e
n
ter
compar
i
son: fix an implication bug
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-11-30
Dan
C
a
rpent
e
r
flow: handle ranged case
statements
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-11-30
Da
n
Carpenter
function_hooks: impossib
l
e: don't set both si
d
e
s
to
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-11-27
D
a
n Carp
e
n
t
er
un
r
ea
c
ha
b
le
:
ignore a couple
n
e
w m
a
cros
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-11-24
Dan Ca
r
p
e
nt
e
r
string_list: accept con
s
t strings and NULL pointe
r
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-11-19
Dan C
a
rpente
r
validation: update
s
ome
te
s
t
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-11-19
Dan Carpenter
com
p
arison: remove bogus NULL chec
k
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
next