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: don't bother with unknown sizes
2020-05-06
Dan Car
p
e
nter
d
b
: don't bo
t
her with unknown sizes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
D
a
n Carpen
t
e
r
buf_
s
i
ze: update som
e
ke
r
ne
l
functio
n
s: vzal
l
oc() and
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
Dan C
a
rpe
n
t
e
r
bits: Fix handl
i
ng of
|
= and
&=
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
Dan
C
arp
e
nter
bits: move is_
l
oop_
i
t
erat
o
r() earlier
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
Dan Ca
r
p
e
n
t
e
r
kernel
:
preserve the s
m
state w
h
e
n
handling IS_ERR()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
Dan Carpenter
k
er
n
e
l
:
fi
x
a t
y
pe bu
g
h
a
ndling err_cas
t
()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
Dan
Carpe
n
ter
kernel: add supp
o
rt for
closu
r
e_c
a
ll()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan Carpenter
buf_size: ch
e
ck pointe
r
size
e
a
r
l
i
er
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
D
a
n C
a
rp
e
nter
buf_size: fi
x
handlin
g
of unknown flexib
l
e
arr
a
y
sizes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan Carpenter
buf_size
:
ign
o
re zero returns
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan Carpenter
extra: fix compile
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan Carpenter
extra: del
e
te
s
ome
d
ead
c
ode
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan Carpenter
build_kernel_data
.
sh: print a message after th
e
kernel
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
D
an Carpent
e
r
db/kernel
.
retu
r
n_fixes: ww_mutex_lock() ca
n
't r
e
turn
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan
C
arpenter
c
a
pped: handle & and %
sli
g
htly differently
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan
C
arpenter
db/r
e
turn_s
t
ates: fix call_id type
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
D
a
n Carpenter
db/cr
e
ate
_
db
.
sh: si
l
ence w
a
rning
w
h
e
n -p o
p
t
ion isn
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
mark_fu
n
cti
o
n_ptrs_se
a
rchable: mark
m
ore fu
n
ctions
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
D
a
n
Car
p
enter
conta
i
ner_of: fix
impor
t
ing the
m
tag dat
a
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan
C
arpenter
esta
t
e: check hard ma
x
i
n estates_equiv()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpe
n
ter
es
t
ate: add a ->new flag to
t
ra
c
k new state
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Da
n
Carpenter
h
e
lp
e
r
:
e
xport g
e
t_array_expre
s
sion(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
implied: fix parsing for
P
ARAM_
L
IMIT implications
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
i
m
p
l
ied: non-mer
g
ed states have no im
p
lications
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpent
e
r
typ
e
: im
p
rove get_member_type
_
f
r
o
m_key
(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan
C
a
rpenter
type_val: ign
o
re "i
d
r_
f
ind"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
i
mplied: turn on debug_
i
mp
l
i
ed when regula
r
d
e
bug
i
s set
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Da
n
Carpenter
err_ptr
:
d
e
lete d
e
ad code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
st
r
u
c
t
_assign
m
ent:
strip parentheses right
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Da
n
Carpe
n
ter
atomi
c
_inc_dec: push lat
e
st cod
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-04-07
Da
n
Carp
e
nter
r
e
al_
a
bsolute: update real
a
bsolute fo
r
faked fr
e
s
h
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
D
a
n Ca
r
p
e
n
ter
ty
p
e: create type_f
i
ts() f
u
nc
t
ion
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan C
a
rpenter
db/kernel
.
return_fixes: misc upd
a
tes (lock
i
ng
m
ostly)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan
C
arpenter
state
s
:
add a w
a
y to
w
atc
h
other che
c
ks s
e
t states
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan Car
p
enter
de
b
ug: pri
n
t a
s
p
eci
a
l wa
r
nin
g
f
o
r
user_rl without
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan Carpen
t
er
fresh_alloc: some
t
hings ar
e
not fresh
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan
C
ar
p
e
nter
helper
:
don't cache
T
m
p expressi
o
ns
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan C
a
rpe
n
ter
expression
s
:
Rename
"Fake"
to "Tmp"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan
Ca
r
penter
math: funct
i
ons c
a
n return fuz
z
y r
a
nge lists
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan Carpenter
ret
u
rn
_
to
_
p
aram:
re
m
o
v
e un
u
sed d
e
cl
a
ration
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
D
a
n Carpe
n
ter
scripts/summarize_errs
.
sh: white spac
e
fixes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan Carpenter
tokenize: export a
l
l
oc_ide
n
t()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
D
a
n
C
arpenter
allocatin
g
_eno
u
gh
_
data: clarify error message
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
D
an C
a
rpenter
struct_assig
n
ment: Fix (*$)->foo handling
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan
C
arpenter
validation: update impossible tests
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpenter
s
h
i
ft_to_z
e
r
o: silence
s
o
me false positives
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Ca
r
p
e
nter
mtag: don't doub
l
e record mta
g
da
t
a
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
D
a
n Carpen
t
er
smd
b
: add s
o
me more types
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpenter
slist: add some debug
c
ode to warn about missing set_
d
ynamic
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpenter
h
e
lper: remove no_parens parameter
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Da
n
Carp
e
nter
implied/
c
omparison: delete unknown implications
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carp
e
nter
help
e
r: r
e
t
urn
m
ore specific er
r
or codes in get_param_num_
f
r
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpenter
func
t
ion
_
hooks/mta
g
: set
m
t
a
g returns
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
D
a
n Carp
e
n
t
e
r
helper: small w
h
ite
s
pace cleanup
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpenter
mtag:
save the
mtag allo
c
ato
r
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpenter
db: add support for (*$)->foo = 1;
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan C
a
rpenter
db: make mtag_about
entri
e
s
unique
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
D
a
n Carpenter
db: add mta
g
_info table
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan
Carpenter
mtag_map: re-
a
rrange container map
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpenter
t
y
pe: export i
s
_struct
_
ptr
(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Da
n
Carpenter
db: don'
t
bothe
r
spl
i
tting
e
r
r
or paths
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
D
an Ca
r
penter
d
b
: stor
e
the fu
n
c
tio
n
mt
a
g
in the cal
l
_id s
p
ace
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan
C
arpenter
db: don't split negativ
e
s using null/
n
on_null
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpente
r
db: add a
n
e
w
c
all
b
ack for inser
t
ing stuff int
o
cal
l
er_info
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpe
n
t
er
funct
i
on_ptrs: delete a stray
s
pace
c
haracter
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
D
a
n
C
a
rpenter
estate
:
pointer
s
don
'
t have hard maxes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Car
p
e
nter
mtag_data: ignore bo
o
t_p
a
rams
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpenter
m
ta
g
_data: i
g
nore head->next
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpe
n
ter
helper: p
r
int
EXPR_SE
L
EC
T
and EXPR_C
O
NDITION with expr_
t
o_s
t
r()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan
C
arpenter
mtag_m
a
p: add a
t
a
g
_
offset field
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpente
r
fresh_alloc:
NULL is no
t
a fresh alloc
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Da
n
Carpen
t
e
r
debu
g
: m
o
v
e
__print_states() to smatch_states
.
c
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpenter
m
ath: handle unknown maximum
s
in
subtract operations
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpe
n
ter
flow
:
call
A
S
S
I
G
N
MENT_HOOK_AFTER for
complicated
assignm
e
nts
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-28
Da
n
Car
p
enter
mt
a
g:
u
pdate s
w
ap_mtag_return()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
Dan C
a
rpenter
fresh_a
l
lo
c
: mark used
data as unfresh
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
Dan Car
p
enter
f
r
esh_alloc: export is_fr
e
sh_a
l
loc() and is_fre
s
h_
a
lloc_var_
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
Dan Carpent
e
r
fresh_a
l
loc: NU
L
L pointers are not fresh
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
Dan Carpenter
m
t
ag: ex
p
ort str_to_mta
g
()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
Dan
Carpenter
type: improv
e
d
ebug output for NULL types
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
Dan Carpenter
slist: fix __
p
rin
t
_stree
(
) debu
g
output
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
John Levo
n
predef
i
ne "i386" i
f
n
e
eded
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
Toomas
Soo
m
e
co
r
rect sparcv9 defines
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
Joh
n
Levon
pre-define __unix__ and friends
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
Jo
h
n Levon
ad
d
ne
c
essa
r
y
d
e
fined fo
r
sunos-deriv
e
d systems
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
John
L
evon
d
e
fine __PRA
G
MA_RED
E
FINE_EX
T
NAME
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
Luc
Van Oo
s
tenryck
ad
d
pr
e
d
efin
e
_n
o
std
(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
Luc Van Oostenryck
al
t
d
efinition for ST
A
NDARD_GNU89 & friends
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
Luc Van Oostenryck
allow to t
e
st the standard version outside of lib
.
c
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
Luc V
a
n Oostenryc
k
arch: a
d
d
m
issing predefines:
__amd64 &
__
a
md64__
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-22
Dan Carpente
r
d
b
: de
l
et
e
m
ore dead cod
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-22
Dan Car
p
enter
db:
r
emove DB
r
emove
some
d
ead code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-14
Dan Carpe
n
ter
fresh_al
l
oc: fix compilin
g
(
m
is
s
ing ch
u
n
k
o
f co
m
mi
t
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-10
Dan Carpe
n
te
r
co
n
tain
e
r
: improve how a
s
signments
a
re handle
d
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-09
Dan Carpent
e
r
loc
k
ing: warn when there is
a
m
i
s
sing irq_resto
r
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-09
Dan Carpenter
val
i
dat
i
on
:
update lo
c
king val
i
dation tests
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-08
Dan Ca
r
penter
locking: rem
o
ve win
e
locking
c
hec
k
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-06
D
a
n
C
a
rpenter
fresh_alloc: track wh
i
ch alloca
t
i
ons ar
e
fresh
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-06
John Levon
d
isable warning about long
d
o
u
ble in un
i
ons
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-06
John
L
evon
Cor
r
ect FP mini
m
u
m
ha
n
dling
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
next