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
extra: use real_absolute values
2016-03-21
Dan C
a
rpenter
extr
a
: use real_absolute values
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-03-21
Dan Carpenter
extra: improve arr
a
y ha
n
dling
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-03-21
D
a
n Carpente
r
smatc
h
: add a -
-
time o
p
tion to pri
n
t
h
o
w l
o
ng smatch
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-03-21
D
a
n Carpenter
flo
w
:
h
andle "*p++ = foo" better
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-03-21
Dan
C
a
rpenter
f
low: fix i
n
side_l
o
op() with inline functio
n
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-03-17
Dan Carpenter
param
_
set:
h
andle
a
r
r
ay assignments
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-03-15
Dan Carp
e
nter
impl
i
ed: remove
buggy code for
w
o
rkin
g
aroun
d
t
h
e old
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-03-15
Dan
Carpente
r
db/fixup_kernel
.
sh: add kmalloc
_
order_t
r
ace()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-03-15
Da
n
C
arp
e
n
t
er
db/fixup_kernel
.
s
h: ignore a lot of
P
C
I errors
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-03-10
Dan Carpen
t
er
data
/
kernel
.
clears_argument: add copy_us
e
r
_
ge
n
eri
c
()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-03-10
Dan Carpenter
db: split po
s
iti
v
e from negativ
e
retur
n
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-03-10
Dan Ca
r
penter
e
xpressions:
i
ntroduce compa
r
e_expression()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-03-10
Dan Carpenter
i
m
pli
e
d
:
int
r
oduce
assume(condition)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-03-10
Dan Carpen
t
er
d
b: handle parameter fun
c
tion poin
t
ers
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-03-07
Dan
C
arpenter
state
s
: handle fake slist prope
r
ly whe
n
we merge tr
u
e
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-03-04
Dan Carpenter
validatio
n
:
a
dd a test for ranged case statements
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-03-04
Dan Carpe
n
ter
condition
s
: big f
a
ke st
a
te r
e
-work
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-03-04
D
an Carpenter
avl: remov
e
sign
(
) fun
c
tion
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-03-04
Dan Carpenter
s
l
ist:
i
n
troduce typ
e
_stree()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-03-04
Dan Carpente
r
c
o
n
ditions
:
a
d
d a NULL check
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-03-04
Dan Carpenter
i
mplie
d
:
r
evert not alrea
d
y set change
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-29
Dan
C
ar
p
enter
ex
t
ra: h
a
ndle
p
o
st
o
p incre
m
ent loops
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-26
D
a
n
Carpe
n
ter
t
ype: f
i
x
"
strange non-value function or arr
a
y"
w
a
rnings
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-25
D
an C
a
rpenter
leaks: don't rese
t
states to themselves
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-23
Dan Car
p
ente
r
flow,
c
onditions
:
handle label statements
correctly
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-23
Dan Carpente
r
db: fix a bug in splitting return states
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-19
Dan C
a
rpe
n
ter
Revert
"sta
t
es:
o
n
l
y set the
f
ake_stree in
s
et_state()"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-17
Dan Carpenter
locking: don't war
n
a
b
out impossi
b
l
e
paths
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-17
Dan
Carpen
t
e
r
valida
t
io
n
/sm_imp
l
i
e
d8
.
c
: update test
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-17
Dan Carp
e
nter
fun
c
tion_hooks: use __set_sm_cur_stree()
in
d
b_return_states
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-17
Dan Carpenter
states: only set t
h
e fake_stree i
n
se
t
_
s
t
a
te()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-17
Dan Ca
r
pent
e
r
impli
c
ati
o
n
s
: use
stored_co
n
ditions the default fall
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-17
D
an Carpenter
implied: u
n
break
a
ssign_rang
e
d_functions
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-16
Dan Carpent
e
r
s
t
a
tes: delet
e
a
n
u
n
used
f
unction
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-16
Da
n
Carpenter
i
m
plied: fix PARAM_
L
IMIT implications again
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-16
Da
n
C
a
r
p
enter
implied: fall ou
t
f
r
om fak
e
_cur
_
s
t
ree chang
e
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-15
D
an Carpenter
r
e
a
l
_absolute: += and = are no
t
t
h
e
same
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-15
D
a
n Carp
e
nter
s
t
ate
s
: __set_sm_cu
r
_stre
e
() should not change
the
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-15
Dan Car
p
enter
states: setti
n
g th
e
true
s
t
ate doesn't set the
c
ur_s
t
ree
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-11
Dan
Carpenter
im
p
lied: fix a
bug hand
l
in
g
PAR
A
M
_LIMIT implications
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-11
D
a
n Carpenter
validation: ad
d
s
m_impossib
l
e2
.
c
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-11
Dan Carpenter
struct_assignment: silence a
GCC fa
l
se
p
ositi
v
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-11
D
a
n
C
arpen
t
er
validatio
n
/sm_im
p
lied
1
0
.
c: update the test
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-11
Dan Carp
e
nter
extra: fix va
l
ues_fit_type()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-11
Da
n
Carp
e
nter
Re
v
ert "slist: make __merge_slist() allocate le
s
s
memory"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-11
Dan Carpe
n
ter
flo
w
: silence a
GC
C
fal
s
e positi
v
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-11
D
a
n
Carpente
r
v
a
l
i
dation
/
sm_compare3
.
c:
u
pd
a
te the ch
e
ck
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-10
Dan Car
p
ent
e
r
vali
d
ation: update sm_math1
.
c
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-10
Dan Carpenter
val
i
dation: update
s
m_overflow
3
.
c
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-10
Dan
C
arpenter
vali
d
ation/sm_inline3
.
c:
r
e
m
o
ve accide
n
tal i
n
clude
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-10
Dan Carpenter
vali
d
ation
:
update a co
u
ple
compare tests and mak
e
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-10
D
a
n C
a
rpente
r
valid
a
tion/s
m
_buf_size6: use corre
c
t elemen
t
count
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-10
Dan Carpenter
val
i
dation:
u
pdate
sm_array_overflow
.
c
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpent
e
r
memcpy_ove
r
flow: igno
r
e some struc
t
ty
p
e
s
whic
h
cause
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpente
r
memcpy_overflow: handle vari
a
ble length structs correctly
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpenter
implied
:
us
e
i
m
plica
t
ions
f
rom
f
un
c
tion conditions
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
D
an Carpenter
function_
h
ook
s
: do
n
't
pa
r
se c
o
mparison conditions tw
i
ce
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpenter
conditions: set
the p
a
rent
e
x
pression when parsing
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpenter
flow: rena
m
e set_
p
a
rent() to set_parent
_
exp
r
()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan C
a
rpenter
pr
e
cedence
:
fix some
false positives
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpenter
kernel_printf:
i
g
nore %pg which are
b
lock point
e
r
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Ca
r
p
e
n
ter
inde
n
ting:
i
gnor
e
pre an
d
post state
m
ents
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpent
e
r
co
m
parison: fix fall
o
ut from alg
e
bra c
h
ange
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan C
a
r
penter
compar
i
so
n
: don't re
-
implem
e
nt expr_to_chunk_sy
m
_vsl
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Da
n
Carpenter
helper: a
n
u
mber
is n
o
t a
chunk in
expr_
t
o_chunk()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpenter
funct
i
on_ho
o
ks: don't process co
n
dition
f
unction
s
twice
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Car
p
enter
condit
i
ons: introduce t
h
e big
_
condition_s
t
ack
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Ca
r
p
enter
fu
n
ction_hoo
k
s: reset states to origin
a
l state betw
e
en
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpenter
funct
i
on_hook
s
:
retu
r
n
e
arlier on culled pa
t
hs
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-05
Dan Carpenter
me
m
cpy_overflo
w
:
s
i
lence false posi
t
ive
when d
e
sti
n
at
i
on
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-05
D
an
C
arpenter
mem
c
py_overflow: i
m
prove st
r
uct member boundary
cal
c
ulation
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-05
Dan Carpe
n
ter
m
e
mcpy_
o
verflow: f
a
ll back to type size to calculate
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-05
D
an C
a
r
penter
modificat
i
on_hooks: fix fa
l
l out from r
e
cent chan
g
es
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-04
Dan Carpe
n
ter
memcpy_
o
verflow: ignore 1 elemen
t
arrays
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-04
Dan Carpenter
memc
p
y
_
o
ve
r
f
l
ow:
handle array members better
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-04
Dan Carpenter
index_overflow: silence fals
e
positives wit
h
--spam
m
y
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
Dan Ca
r
p
e
n
te
r
M
a
ke
f
ile:
turn on -Wno-s
w
itch
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
Dan C
a
r
p
ent
e
r
ext
r
a:
return a
bit quicker
if there are no true a
n
d
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
Dan Car
p
en
t
e
r
ex
t
ra:
s
implify the c
o
de in hand
l
e_co
m
parison() a bit
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
Dan C
a
rpent
e
r
e
x
tra: h
a
ndle if (offset + by
t
es > s
i
ze) compariso
n
s
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
Dan Carp
e
nter
comparison: make m
o
dificati
o
n
s cle
a
r the
c
omparisons
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
Dan Carpenter
m
odification_hooks: introd
u
c
e add_m
o
d
i
fication_hook_late(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
Da
n
Carpenter
compar
i
son: do algebra on "
f
oo + bar > baz"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-03
D
an Carpenter
index_overflow: si
l
ence some warnings when
-
-spammy
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
D
an Ca
r
penter
c
o
m
p
a
ri
s
o
n
: split
_
_comparis
o
n_matc
h
_condition() up
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan
Carpenter
c
omparison: store parameter comparisons in the database
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carp
e
nter
buf_size: add some more alloc
a
tion functions
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpente
r
memcpy
_
o
verflow: fix build error
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
D
a
n Carpenter
b
uf_size: add alloc_pages() and friends
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Da
n
Carpenter
buf_
s
ize: handle get
t
ing addre
s
s
of array
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Da
n
Carpenter
memcpy_overf
l
ow:
silence a
bunch of fal
s
e posit
i
ves
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpe
n
ter
m
e
m
cpy_over
f
low: rename 'data' to
'
l
imit'
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
D
a
n Carpenter
memcpy_overf
l
o
w
: use ra
n
ge list from check_
u
ser_
d
at
a
2
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan C
a
r
p
ent
e
r
t
es
t
ing_index_
a
fter
_
use:
r
ename check_overf
l
ow
to testing_in
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carpenter
ov
e
rflow, all
o
cat
i
ng_enough_
d
ata: split check_ov
e
rflow
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Da
n
Carp
e
nter
overflow, snpri
n
tf
_
overflow: split ou
t
s
n
print
f
checking
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Da
n
C
arpenter
o
v
e
rf
l
o
w, sprin
t
f
_over
f
l
o
w: split ou
t
sp
r
intf checking
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Da
n
Ca
r
penter
o
v
erflo
w
, strcpy_over
f
low: split strcpy
overf
l
ow
s
into
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
Dan Carp
e
nter
check_overflo
w
:
del
e
te som
e
dead
c
ode
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2016-02-02
D
an Carpenter
overflow, mem
c
p
y_overflow: split
check_o
v
e
rflow
.
c
into
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
next