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
db: split returns in to NULL and non-NULL
2016-04-11
D
an Carpenter
db: split returns in
t
o NULL an
d
n
o
n
-NULL
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-04-11
Dan Carpenter
db: re
m
o
v
e
pointless ret
u
rn
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-04-06
Dan C
a
rpenter
db:
s
mall
c
leanup
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-04-06
Dan
C
arpenter
ho
o
ks: rena
m
e CA
L
L_HOOK_AFTER
t
o CALL
_
HOOK
_
A
FTER_DB
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-04-06
D
an Carpe
n
ter
untracked_param: ha
n
dl
e
inline calls better
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-04-06
Dan Carpenter
flow: doen't re
s
et loop_co
u
nt for
inline f
u
n
c
tions
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-04-05
D
an Carpenter
im
p
lied:
u
se
the co
r
rect t
y
pe fo
r
conditi
o
ns
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-04-05
Da
n
Carpenter
scope: d
e
lete o
u
t of scope variabl
e
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-24
Da
n
C
arpenter
validati
o
n
/sm_chunk2
.
c
:
update v
a
lidation tes
t
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-24
D
a
n C
a
rpente
r
db: revert
a "speedup"
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-24
Da
n
Carp
e
nter
r
e
al_absolute:
t
u
rn t
h
i
s
code on
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-24
Dan Carpenter
err_ptr_deref: complain about dereferences inside a
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-24
Dan Carpenter
return_efa
u
lt: complai
n
a
bout
"ret
u
rn
c
opy_from_user();"
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-24
Dan
C
a
r
p
enter
buf_size: save
siz
e
of fixed arrays
t
hat
are returned
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-23
Dan Carpenter
modifi
c
a
tion_hooks:
r
emove
a
n unneed
e
d variable
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-23
Dan
C
a
rpenter
slist: ma
k
e m
e
r
ge_states()
st
a
tic
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-23
Dan Carpenter
states: ma
k
e debug output mo
r
e consistent
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-23
Dan Carpenter
h
o
o
ks:
put
e
a
c
h type of
h
ook int
o
it
'
s own array
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-23
D
an
Carpenter
.
giti
g
no
r
e: add
.
gdb_history
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-23
D
a
n Carpenter
stored_
c
onditio
n
s
:
wh
i
te spac
e
c
h
anges
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-23
Dan Carpenter
math
:
prefer real_absolute_value to the db
v
a
l
ue
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-23
Da
n
Carpe
n
ter
implied: rem
o
v
e a blank line
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-23
Dan Carpenter
c
o
nd
i
tions:
b
ug in condition assignments l
i
k
e foo
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-23
Da
n
Carpenter
impossible: handle a
s
signment con
d
i
t
ion
s
better
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-23
Dan Carpenter
str
i
ng_condition: don't complain
a
bout TRACE_EVENT
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-23
Dan Car
p
enter
function_hooks: handle r
e
tu
r
s that do
n
't set a state
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-23
Dan
C
arpent
e
r
db:
don't us
e
split_success_fail
i
f
it doe
s
n't
r
eturn
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-21
D
a
n C
a
rpenter
db:
f
ix bug in print_stru
c
t_members
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-21
Dan Carpenter
db: for
i
mpossi
b
le
r
eturn
s
j
u
s
t do
the simplest th
i
ng
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-21
Dan Carpenter
extra
:
use real_abso
l
ute
v
alues
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-21
Dan
C
arpenter
extra: impr
o
ve array handling
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-21
Dan
C
ar
p
ent
e
r
s
m
atch: add a --time option
t
o print how
l
o
ng
s
m
atch
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-21
Dan Carpen
t
er
f
l
ow: hand
l
e
"
*p+
+
= foo" bett
e
r
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-21
D
an Carpenter
flow:
f
ix insi
d
e_loop() with inline f
u
n
ctions
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-17
D
an Carpenter
par
a
m_set: ha
n
dle array assignm
e
nts
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-15
Dan
C
arpe
n
ter
im
p
lied: remove buggy code for wo
r
king
around
t
he ol
d
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-15
Dan Carpenter
d
b
/fixup_kernel
.
s
h
: add kmalloc_o
r
der_trac
e
()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-15
Dan
Carpenter
db
/
fixup
_
kernel
.
s
h: ignore a lot of PC
I
err
o
rs
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-10
Dan Carpenter
d
ata/kernel
.
cle
a
rs
_
argume
n
t:
ad
d
copy_user
_
generic()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-10
Dan Carpenter
db: split positive from negative returns
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-10
Dan C
a
r
pen
t
e
r
expressions: introd
u
ce compare
_
expre
s
sion()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-10
Dan Carpenter
i
mplie
d
: introdu
c
e a
s
s
ume
(
c
ondition)
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-10
Dan C
a
rpent
e
r
db: ha
n
dle
p
ar
a
me
t
er function pointers
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-07
Dan Ca
r
penter
states
:
handle fake sli
s
t p
r
operly
w
he
n
we merge true
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-04
Dan
Carpenter
vali
d
ation: add a
test f
o
r ranged c
a
se stat
e
men
t
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-04
Da
n
Carpenter
co
n
d
i
tion
s
: big fake state re-
w
o
r
k
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-04
Dan Carpente
r
av
l
:
remove
s
i
g
n() function
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-04
Dan Carpenter
s
list: intro
d
uce type_stre
e
(
)
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-04
Dan Carp
e
nter
conditions
:
add a
N
ULL check
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-03-04
Dan Carpen
t
er
implied:
r
evert not alr
e
ad
y
se
t
chan
g
e
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-29
Dan Carp
e
nter
extra: handle post op increme
n
t loops
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-26
D
an Carpent
e
r
type: fix "st
r
a
n
ge non-value function or a
r
ray
"
warnings
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-25
Dan Carpe
n
ter
leaks:
do
n
't rese
t
states t
o
themselves
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-23
D
a
n Ca
r
penter
flow, cond
i
tions: ha
n
dle la
b
el
s
tatem
e
nts
corre
c
tly
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-23
D
an Carpente
r
db:
fix a bug in splittin
g
return s
t
a
t
es
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-19
Dan
Ca
r
penter
R
evert "state
s
: only s
e
t the
f
ake_stree in set_state()"
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-17
Dan Carpen
t
er
l
o
ckin
g
:
d
on't warn
a
b
out impo
s
s
ibl
e
paths
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-17
Da
n
Car
p
enter
v
a
lid
a
t
io
n
/sm_impl
i
ed8
.
c
:
update
t
e
s
t
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-17
Dan Carpenter
function_ho
o
ks: use
__
s
et_sm_cur_stree
(
)
in db
_
return_state
s
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-17
Da
n
Carpenter
states
:
o
nl
y
s
e
t the fa
k
e_stre
e
in set_state()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-17
Dan C
a
rpenter
implications
:
use stored_c
o
nditions the def
a
ult fall
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-17
Dan Carp
e
nter
implied
:
u
nb
r
e
a
k a
s
sign_ranged
_
f
u
n
c
tions
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-16
D
an Carpenter
s
t
ates:
d
e
lete an unus
e
d function
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-16
Dan Carpent
e
r
implied: fix P
A
RAM_L
I
MIT imp
l
i
c
a
tions again
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-16
D
a
n
Carpenter
implie
d
: fall out from fake_cur_stree changes
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-15
D
a
n Carpenter
re
a
l_absolute: += and = a
r
e not the same
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-15
Dan Carpenter
sta
t
e
s
: _
_
s
et_sm_
c
ur_stree() s
h
o
u
ld n
o
t change
t
he
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-15
Da
n
Ca
r
penter
states
:
se
t
ting the true
s
tate
doesn
'
t
set t
h
e
cu
r
_
stree
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-11
Dan Carpe
n
ter
impli
e
d
: fix
a
bug ha
n
d
l
i
n
g PARAM_LIMIT impli
c
ati
o
ns
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-11
Da
n
Carp
e
nter
validation: add sm
_
impo
s
s
i
b
le2
.
c
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-11
Dan Carpenter
st
r
uct_assignment: silen
c
e a
G
CC f
a
lse positive
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-11
Dan
Carpe
n
ter
validat
i
on/sm_impl
i
ed10
.
c
:
up
d
a
te the te
s
t
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-11
Dan C
a
rpenter
extra: fix values_fit_type()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-11
Dan C
a
rpenter
Revert "s
l
i
st: make
__merge_
s
list() allocate le
s
s memory"
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-11
D
a
n
C
a
r
penter
flow: silence a GCC f
a
lse
p
osi
t
ive
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-11
D
a
n Carpenter
validation/sm_comp
a
re3
.
c: update the
c
h
e
c
k
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-10
D
an Carpe
n
t
e
r
validation
:
update
s
m_math1
.
c
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-10
D
a
n Carpenter
validation: updat
e
sm_overflow
3
.
c
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-10
Dan Carpen
t
er
validation/sm_inline3
.
c: remo
v
e a
c
cidental inclu
d
e
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-10
D
an Carpenter
valid
a
t
ion: upda
t
e a couple
co
m
pare
test
s
and make
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-10
Dan Carpe
n
ter
validation/sm_
b
u
f
_size6:
use co
r
r
e
c
t elemen
t
cou
n
t
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-10
Dan Carpenter
va
l
idation
:
update
sm_a
r
r
ay_
o
verflow
.
c
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-09
D
a
n
Carpenter
memcpy_overflo
w
:
ig
n
ore
some struct types which caus
e
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpenter
me
m
cpy_overfl
o
w
: handle v
a
r
i
able length str
u
cts corr
e
ctly
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-09
Dan
Carpenter
implied: use
i
mpl
i
cations from function co
n
dition
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpenter
function_hooks:
d
on't p
a
rse comparison conditions twice
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpen
t
er
cond
i
tions: set the pa
r
ent exp
r
ession when parsing
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpe
n
ter
flow:
r
e
nam
e
s
e
t_
p
aren
t
() to
s
et_
p
a
r
e
nt
_
exp
r
()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpen
t
e
r
precedence: fix so
m
e
fa
l
se
p
ositives
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-09
Dan
Carpenter
ker
n
el_pri
n
tf: ignore %pg
w
hich are block po
i
nters
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-09
Dan
C
arpenter
indentin
g
:
ign
o
re
pre and pos
t
st
a
t
e
ments
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpenter
com
p
ar
i
son:
f
ix fallout from algeb
r
a
chang
e
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpenter
comparison
:
don't
re-
i
m
p
le
m
ent expr_
t
o_chunk_sym_vs
l
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-09
Dan Carpenter
helpe
r
: a number is not a chunk
i
n ex
p
r_to
_
chu
n
k()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-09
Dan
Car
p
enter
function_h
o
oks: don't p
r
ocess co
n
d
ition functions twice
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-09
D
a
n Car
p
enter
co
n
d
itions: intr
o
d
u
c
e the
b
ig_
c
o
n
dition_stack
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-09
Dan Ca
r
penter
function_hooks:
re
s
et states to original
sta
t
e between
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-09
Dan C
a
rpenter
f
u
nc
t
ion_hook
s
:
r
etu
r
n
e
arlier on culled path
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-05
Dan Carpe
n
ter
me
m
cpy_overflow
:
si
l
en
c
e false posi
t
ive
w
hen destination
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2016-02-05
Dan Carpenter
memc
p
y
_overflow: improve struct me
m
ber boundary calculation
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
next