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
dereference: fix some false positives
2023-05-19
D
a
n Carpen
t
er
d
ereference: fix some false po
s
itives
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-19
Dan
C
a
r
penter
returns_negati
v
e_error_code: silenc
e
some false positiv
e
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-19
Dan Carpenter
dereference:
h
a
rd
c
ode n
l
a
_data
(
)
as dereferencing
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-18
Dan
C
arpenter
c
hecking_for_null_instea
d
_
of_err_ptr:
a
dd
list of untrust
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-17
Dan
Carpenter
c
h
e
c
king_for_
n
ull_inste
a
d
_
of_
e
rr_ptr: use smatch_kernel
_
err_
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-17
Dan Carp
e
nte
r
kernel_err_ptr
:
hack around for_each_
g
pio_d
e
sc_w
i
th_f
l
ag()
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-15
Dan Carpenter
s
c
ript
s
/
g
e
neris
i
z
e
.
pl: gener
i
size funct
i
on n
a
mes
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-12
Da
n
Carp
e
nter
kernel
.
unreachab
l
e
.
t
u
rn_off
:
a
dd
some kunit stuff
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-11
Dan Carpent
e
r
p
reempt_i
n
fo: add __bit_spin_unlock()
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-11
Da
n
Ca
r
penter
check_list/er
r
_
p
tr: register the
e
rr
_
ptr code
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-11
Dan Carpenter
debug/u
n
its: hook in th
e
__smatch_units() code
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-11
D
a
n Ca
r
penter
validation/sm_err_
p
tr: make IS_
E
RR() a
n
inline funct
i
on
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-11
Dan Carpenter
dereference: find more cr
o
ss function d
e
reference
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-11
Dan
Car
p
enter
err
_
ptr_deref
:
re-write the check
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-11
Da
n
Ca
r
pen
t
e
r
kernel
_
err_ptr:
t
rack erro
r
pointers in the database
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-11
Dan Ca
r
pent
e
r
kernel
.
no_r
e
t
u
rn_f
u
ncs: update to th
e
latest
l
in
u
x
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-11
Dan Car
p
enter
k
ernel
.
no_
r
eturn_funcs: add
k
unit_
d
o_failed_assertio
n
()
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-10
D
an C
a
rpenter
compa
r
i
son
:
store
m
odified comparisons
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-10
Dan Carpenter
units: move checks to chec
k
_ file a
n
d hide under the
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-10
Dan Carpenter
uni
t
s/debug
:
a
d
d
_
_smatch_units()
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-10
Dan
Carpenter
units: delet
e
some accidental cod
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-10
Dan Carpenter
un
i
t
s
:
make unit
states global
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-08
Dan Ca
r
penter
macro_ta
b
l
e: don't s
t
ore duplicate
m
ac
r
os
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-08
Dan Carpenter
c
a
pped: handle for
l
o
op
s
be
t
t
e
r
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-08
Dan
Carp
e
nter
c
o
ndit
i
o
n
s
: st
r
i
p
stuff off a STMT_EXPRESSIO
N
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-08
Dan C
a
rpe
n
t
er
ex
p
ressions: *&fo
o
i
s
just
f
oo
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-08
Dan Carpent
e
r
kernel_user_da
t
a: take a short
cut to
s
peed u
p
empty
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-08
Dan Carpenter
mtag: cre
a
te a reverse mapping from mtag to symbol
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-08
Dan Carpenter
param_l
i
m
i
t
: imp
r
ov
e
printing the limit
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-08
Dan
C
arpenter
returns: del
e
t
e some
d
e
ad
code
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-08
Dan Carpe
n
t
e
r
db/untrac
k
ed_para
m
:
m
ove mark
_
call
_
params
_
untracked()
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-08
Dan
Carpenter
db:
fix sql_inser
t
_retur
n
_implie
s
()
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-08
Dan C
a
r
p
enter
deref
e
rences_param: re-write simpler
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-08
Dan C
a
rp
e
nte
r
impossibl
e
:
d
on't mark r
e
t
urns as impossible if threads
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-06
D
an Carpenter
struct_assignment: add copy_
f
rom_
u
ser()
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-05
D
a
n
C
ar
p
enter
locking
:
use sha
r
ed success_
f
ai
l
_return() function
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-05
Dan Carpenter
locking: ad
d
some more
l
oc
k
i
n
g functions
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-04
Dan Carpenter
r
osenberg:
f
ix a segfault
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-04
Dan Carpen
t
e
r
ker
n
el
.
un
c
ons
t
ant_macr
o
s
:
ad
d
EXT4_MOUNT_DAX_
A
L
W
AYS
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-03
Dan Carpenter
rosenberg: fully
i
nitiali
z
ing th
e
struct does
n
ot
clear
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-03
D
a
n C
a
rpenter
rose
n
berg: re
v
ert "
i
n
i
t
ialization and
struct
a
ssignments
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-03
Dan C
a
r
p
enter
lock
i
n
g: delete some NULL
c
hecks
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-03
Dan Carpenter
locking: add some m
o
re
l
o
c
k
ing fu
n
ctions
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-03
Da
n
Carpen
t
e
r
bogus_address_param: w
a
rn ab
o
u
t
passing a bogus addre
s
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-02
Dan Carpenter
uni
t
s: fix the build
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-05-02
Dan Carp
e
nter
che
c
k_trinity
:
delete
t
h
i
s c
o
de
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-04-20
Dan
Carpen
t
er
locking:
ign
o
re f
a
l
se positives
cau
s
ed by
p
er
f
_ev
e
nt_enable
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-04-19
D
a
n
C
a
r
penter
units: store what
so
r
t of u
n
its
a
v
ariable is
i
n
Signed-off-by:
Dan Carpenter
<dan.carpenter@linaro.org>
commit
|
commitdiff
|
tree
2023-04-19
Dan Carp
e
nter
zero
_
to_err_p
t
r: add dev_err_probe
(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-13
Dan C
a
rpenter
free_
s
trict
:
ad
d
soc
k
_
release()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-06
Dan Carpenter
db/fix
u
p_kerne
l
.
s
h:
i
g
n
o
re param li
m
its
from __dev_pri
n
tk()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-06
D
a
n C
a
r
penter
db/fixup_k
e
rnel
.
sh: vfs_
r
ead/wr
i
te(
)
are the
o
nly
i
mportant
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-06
Dan Carp
e
n
ter
extra: re
v
ert the mod_ex
p
r changes
for modify expr
e
ssion
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-06
D
a
n Car
p
enter
ext
r
a
:
set no li
m
i
ts mark_sub_m
e
m
ber
s
_
g
one(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-06
D
an Carpente
r
unwind
:
devm_add_acti
o
n_or_rese
t
() is now a m
a
cro
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-06
Dan Carp
e
nter
u
nwind: s
e
p
arat
e
path states out into a differ
e
nt check id
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-06
D
an Carpente
r
unwind: ignore path
states in pre-merge
hook
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-06
Dan Carpenter
unwi
n
d: don't warn about impossib
l
e
le
a
ks
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-06
Dan C
a
rp
e
n
ter
unwind: ign
o
re compone
n
t
_match_add_rel
e
ase
(
) paths
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-06
Dan Carpenter
u
nwin
d
: use
t
he shared
s
u
cce
s
s_fail_return(
)
fun
c
tion
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-06
Dan Carpenter
unwind: ca
t
ch a
d
dition
a
l b
u
gs
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-06
Dan
Carpenter
un
w
ind: fix a b
u
g w
i
th SSA
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-06
Dan Carpenter
unwind: intro
d
u
c
e
&u
n
known stat
e
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-04
Dan
Ca
r
penter
fl
o
w: fi
x
MA
C
RO_ASS
I
GNMENT_HO
O
K
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-03
Dan Carpenter
param_limit: don't store addresses as PA
R
AM_L
I
MIT
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-28
Dan Carpen
t
er
h
e
lper: make stri
p
_expr() strip out "+ 0"
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-28
Dan Carpe
n
t
er
f
l
ow: only fake parameter assignments once
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-28
Dan Carpen
t
er
shift_to_zero: silence some warning
s
in
s
i
de macros
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-28
Dan
C
arpent
e
r
d
b
/create_db
.
sh: verify that the info file exist
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-27
Dan Carpente
r
d
a
t
a/
k
ern
e
l
.
uncon
s
tant_
m
acros
:
add E
N
QUEUE_MIGRATED
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-25
Dan C
a
r
penter
unwind:
don't warn abo
u
t
g
l
o
bal var
i
able
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-24
Dan Carpen
t
er
flow:
don't reparse inlines over a
n
d
o
v
er
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-23
Dan C
a
rpenter
ke
r
nel
.
unco
n
stant_macro
s
: ad
d
s
o
me pending stuff
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-15
Dan Carpen
t
er
debug: fix brok
e
n com
p
ile beca
u
se of missing code
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-15
Dan Ca
r
penter
d
ebu
g
: s
k
i
p e
v
erything except a given function
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-15
D
an Carpente
r
d
e
bug: ad
d
__smatch_start/stop_skip(
)
t
o
skip processing
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-15
Da
n
C
a
rpenter
debug: make
_
_smatch_about() ha
n
dle SSA states bett
e
r
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-11
Dan
Carpenter
dereference: fix handl
i
ng DEREFERE
N
CE f
r
om
t
he database
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-11
Dan Car
p
e
nt
e
r
dereference
:
only coun
t
f
o
o->
b
a
r
as a dereference not
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-09
Dan Car
p
enter
data/kernel
.
i
gnore_un
i
tialized_param: add some more
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-09
Dan C
a
rpenter
param_c
l
e
a
r
:
add support for BUF_ADD
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-08
Dan C
a
rpenter
p
a
ram_limit:
i
gnore BUF_CLE
A
R here as
w
ell
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-08
Dan Carpenter
de
r
e
ference:
c
reate a add_
d
e
r
eferenc
e
_hoo
k
(
)
function
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-08
Dan
Carpenter
buf_clear: do a s
p
eed up
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-04
Dan Ca
r
pent
e
r
kernel_use
r
_data: u
s
e
a
param/k
e
y table for s
i
mple_strtoul()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-04
Dan Carpe
n
ter
d
b
/
k
ernel
.
return_fixes: add d
e
bugfs
_
i
niti
a
lize
d
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-04
Da
n
Carpenter
d
b
/ker
n
el
.
r
eturn
_
fixes: add nla_nest_start_noflag()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-03
D
a
n C
a
rpe
n
ter
user_data: remove xdr_i
n
li
n
e_decode()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-03
Dan
Carpente
r
user_
d
ata: clean up how sscanf is
han
d
led
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-03
Dan Carpenter
user_data
:
c
lean up
h
o
w
io
v
_iter_c
o
unt is handled
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-03
Dan
Car
p
e
nter
points_to
_
host_data: ma
k
e a pointer const
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-03
D
an
C
arpenter
us
e
r_d
a
ta
/
ptr: move
t
hings fr
o
m user_data to user_ptr
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-03
D
a
n Carpenter
db: do
t
he c
a
ller_
i
nfo s
t
uff earlier
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-03
Dan Carpenter
db: fix
r
et
u
rned information
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-03
Dan C
a
rpenter
s
tru
c
t_assign
m
ent:
m
a
ke the
f
a
k
ed_expr
e
ssio
n
f
unction
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-02
Dan C
a
rpenter
user_data: fi
x
an
i
s
_ne
w
setting i
n
handli
n
g a
s
si
g
n
ments
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-02
Dan Ca
r
penter
kern
e
l
_
u
ser
_
data: don't se
t
*my_st
r
u
ct
to user d
a
t
a
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-02
D
an Carpenter
k
ernel_user_d
a
ta: i
g
nore void ty
p
es
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-02
Dan Carpe
n
t
e
r
db/fixup_kernel
.
sh: only rec
o
rd one work qu
e
ue caller
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-02
Da
n
Carpent
e
r
estate: point
e
rs can't have a fuzzy max
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
next