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
unwind: devm_add_action_or_reset() is now a macro
2023-04-06
D
a
n Carpenter
u
n
wind: devm
_
add
_
action_or_reset() is now a
m
acro
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-06
Dan C
a
r
p
enter
unwind: separate
p
ath states
o
ut
i
nt
o
a different check id
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-06
Dan Car
p
en
t
er
unwind:
ignore path states in pre-merge hook
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-06
Dan C
a
rpen
t
e
r
unwind: don't war
n
about impossible
leaks
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-06
D
an Ca
r
penter
unwi
n
d: ignore comp
o
nent_
m
a
t
ch
_
a
dd_release() pat
h
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-06
Dan Carpenter
unwind: use the sha
r
e
d
success_fail_return() f
u
nction
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-06
D
a
n Carpenter
unw
i
nd:
c
atch
additional bugs
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-06
Dan
C
arpenter
unwi
n
d
: fix a bug
w
i
th
S
SA
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-06
Dan Carpe
n
te
r
unwind: i
n
troduce &unknown state
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-04
D
an C
a
rpenter
flow: fix M
A
CRO_ASSIGNMENT_HOOK
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-04-03
D
an C
a
rpenter
par
a
m
_limit: don't s
t
ore addres
s
es as PARA
M
_LIMIT
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-28
Dan Carp
e
nter
help
e
r: make
s
trip_expr() strip ou
t
"
+ 0"
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-28
Dan Carpenter
fl
o
w
:
on
l
y
f
ak
e
parameter assignments on
c
e
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-28
Dan Carpenter
shift_to
_
zero: s
i
lence some warn
i
ngs inside
m
ac
r
os
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-28
Dan Carpenter
d
b/create_db
.
s
h
:
verify th
a
t
the info f
i
le e
x
ists
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-27
Da
n
Carpe
n
ter
data/kernel
.
uncon
s
t
a
nt_macros
:
add ENQ
U
E
U
E_MIGRATED
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-25
Dan Carpenter
unwind: don't warn
a
b
out global varia
b
le
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-24
Dan
C
arpente
r
flow: don't reparse
i
n
lines over and
over
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-23
D
a
n
C
arpe
n
ter
ker
n
e
l
.
u
n
c
onstant_macro
s
: add some pendi
n
g
stuff
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-15
Da
n
Carpenter
d
e
bug: fix bro
k
e
n
c
o
mpile because o
f
missing c
o
de
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-15
Dan Carpenter
d
ebug:
skip everything ex
c
ept a g
i
ven fun
c
tion
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-15
Dan
C
arpent
e
r
debug: add
_
_
s
match
_
start/stop_skip() to skip processing
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-15
Dan Carpente
r
debu
g
:
m
a
ke __smatch_ab
o
ut() h
a
ndle S
S
A
states bet
t
e
r
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-11
D
an Ca
r
p
e
nter
der
e
fer
e
n
c
e: fix handling DEREFERENCE fr
o
m the database
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-11
D
a
n Carpenter
d
ereference:
o
nly count f
o
o->bar as a deref
e
re
n
ce
not
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-09
Dan Ca
r
penter
data/kerne
l
.
ignore_unitialized_param:
a
dd s
o
m
e
more
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-09
D
a
n Carpenter
p
aram_clear:
a
d
d
support for BUF_AD
D
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-08
Dan C
a
r
p
enter
para
m
_
l
imit: ig
n
ore B
U
F_CLE
A
R here
a
s well
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-08
Dan Carpenter
dere
f
erenc
e
: cr
e
ate a add_dereference_h
o
ok() f
u
n
c
ti
o
n
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-08
Dan Carpenter
buf_
c
l
ear:
do a speed up
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-04
Dan Carpente
r
ke
r
n
el_user_data:
use a param
/
ke
y
ta
b
le for simple_strtoul()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-04
Dan
Ca
r
penter
d
b
/k
e
rnel
.
return_fixes: add
d
eb
u
gfs_initial
i
zed
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-04
D
an Carpenter
d
b
/ke
r
nel
.
retu
r
n_f
i
x
e
s: add nla_nest_s
t
ar
t
_noflag()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-03
Dan Car
p
ente
r
user_data: remove xdr_inline_decode
(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-03
Dan Carpenter
user_data: clean up how s
s
canf is han
d
led
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-03
Da
n
C
a
rpenter
user_d
a
ta: clean up
how iov_iter_count is handled
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-03
Dan Carpenter
po
i
nts_to_host_data: make a pointer const
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-03
Da
n
C
a
rpenter
user_data/ptr
:
move th
i
ng
s
f
rom user_data to us
e
r_ptr
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-03
Dan Carp
e
nter
db: do the caller_info stuff earlier
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-03
Da
n
C
a
rpen
t
er
db:
fix
r
e
t
urned informati
o
n
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-03
Dan Car
p
enter
s
truct
_
assignment: make
the fake
d
_expressio
n
fu
n
ction
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-02
Dan Carpenter
user_d
a
ta: f
i
x a
n
is_new setting in handling
a
s
signments
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-02
Da
n
Carp
e
nt
e
r
ke
r
nel_user_d
a
ta:
d
on't set *my_
s
truct to
u
ser dat
a
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-02
Dan Carpenter
kernel_user_dat
a
:
i
gno
r
e
void types
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-02
Dan Carpenter
db/fi
x
up_ke
r
n
e
l
.
sh:
o
nly reco
r
d one work q
u
eu
e
c
a
ller
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-02
Dan
Carpenter
estate: po
i
nters can't ha
v
e a fuz
z
y
max
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-02
Dan C
a
rpenter
points_to_user_data: all calls t
o
copy_from_us
e
r(
)
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-02
Da
n
Ca
r
penter
struct
_
assig
n
ment: introduce crea
t
e_recursive_f
a
ke_as
s
ignments()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-28
Da
n
Carpen
t
er
parse_ca
l
l_math
:
store
=
=
$
0 e
v
en
fo
r
known
v
a
lu
e
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-28
Dan Carpenter
hooks
:
save the contai
n
er->owner
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-28
Dan Carpenter
returns_neg
a
tive_
e
rror_code: low positives
a
re
not
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-28
Dan Carpenter
returns_ne
g
ative_
e
r
r
or_code: empty states a
r
e not error
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-28
Dan Carpenter
poi
n
t
s
_
t
o_user
_
data: r
e
n
ame se
t
_poi
n
ts_
t
o
_
user_data
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-27
Dan Carpenter
sm_h
a
sh:
e
xport st
r
_to_ll
u
_hash_hel
p
er()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-27
Dan Carpenter
smatch: d
o
n
't inc
l
ude "scope
.
h" for n
o
reason
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-27
Dan Carpenter
flow
:
p
ull parse_assignment() i
n
to its own fu
n
ction
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-24
Dan C
a
r
p
e
nter
fl
o
w
:
r
evert pre
v
ious commit
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-24
Da
n
Carpenter
flow:
h
andl
e
str
u
ct assig
n
ments later
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-24
Dan Ca
r
penter
points_
t
o_user_data: handl
e
some pointer m
a
t
h better
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-24
D
a
n
Car
p
enter
po
i
nts_to
_
user_data: communicate USER_PTR
return
s
to
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-23
D
an Carpen
t
e
r
points
_
to_
u
ser_data: hard
cod
e
some ksmb
d
stu
f
f as
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-23
Dan Carpente
r
f
unction_hook
s
: do e
a
rly stu
f
f e
v
en
e
a
rlier
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-23
Dan Carpent
e
r
function_hooks: don't
c
all db_
r
eturn_states() early
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-23
Da
n
Carp
e
nter
f
unction_hooks
:
introduce ea
r
ly add_f
u
nction_hook_early()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-22
Dan Car
p
en
t
e
r
unr
e
achabl
e
: change int t
o
bool
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-22
D
an Carpenter
unreacha
b
le: dele
t
e
an ex
t
ra space cha
r
acter
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-22
D
a
n Carpen
t
er
un
r
eachable:
i
gnore
all for_XXX macros
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-15
D
an Carpente
r
express
i
ons: ma
k
e gen_expression_from_key()
h
andle
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-15
Dan
Carp
e
nter
expressions: make gen_e
x
pr_from
_
para
m
_key()
w
ork for
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-09
Dan Carpenter
slee
p
ing in atom
i
c: silence some duplicate warn
i
ngs
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpenter
db/ker
n
el
.
return_fixes:
u
pdate
n
otifi
e
r_to_e
r
rno()
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carp
e
n
ter
db/smdb
.
py
:
update the type
strin
g
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpen
t
er
kernel
.
u
n
r
e
achable
.
ig
n
ore: add damon_for_each_target
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpent
e
r
expressions
:
add cast_ex
p
re
s
s
i
o
n()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpenter
expr
e
ssions: fix a ->
v
s
.
bug in ge
n
_express
i
on
_
from_key()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Car
p
enter
extr
a
: pass
a
di
f
ferent mod_expr for vanilla
assignments
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpenter
bu
f
_
c
omparison: add support for
struct
_
size()
a
rray
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Da
n
Carpenter
h
ooks: commit some missing bits
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
D
a
n
C
arpe
n
ter
h
e
lper: 0-s
3
2ma
x
r
e
turns are su
c
cess
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpenter
helper: add a str
i
p_parens()
i
n g
e
t_me
m
ber_name()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan C
a
rpe
n
ter
kernel_host_dat
a
: ignore
n
o
nsense information
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpenter
db/clear_user_data: clean u
s
e
r data m
o
re thorou
g
hly
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpente
r
k
e
r
n
e
l_user_data: ig
n
ore
nonsense data
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpe
n
ter
kernel_user_data: add
s
ome more fu
n
ctions that r
e
t
u
rn
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan
C
arpenter
functi
o
n_hooks: cre
a
te
f
a
k
e
_param_a
s
sign_helpe
r
()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-07
D
an Carp
e
nt
e
r
preempt_
i
nfo
:
add r
h
t_lock and bit_spin_lo
c
k
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-07
Dan
Ca
r
penter
schedul
i
ng_i
n
_atomic: Add m
a
s_store_g
f
p()
as a spe
c
ia
l
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-07
D
a
n Carpen
t
er
dma_mapping_error: d
e
l
e
t
e obs
o
lete ch
e
c
k
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-07
Dan Carpenter
direct_return_instead_of_
g
oto:
d
on't warn about prin
t
k
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-06
Dan Ca
r
p
enter
s
l
eep_info
:
handle mutexes correctly
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-02
D
an Carpenter
expressions: han
d
l
e
a c
a
s
e in gen_expression_from_key()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-02
Dan Carpenter
db:
i
mprove
r
e
cording when we return
a
pa
r
ameter
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-01-19
Dan
C
arp
e
nt
e
r
kernel_user_data: iov_
i
t
e
r_c
o
unt
(
) retu
r
ns
user
data
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-01-18
Dan Carpenter
param_key: expo
r
t the sp
l
it_param_ke
y
() f
u
nc
t
ion
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-01-12
Dan Carpe
n
te
r
free_s
t
rict: don't promote "maybe_freed
"
to "freed
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-12-13
Da
n
Carpen
t
er
f
u
nction_h
o
ok
s
:
u
se the corr
e
ct expre
s
si
o
n
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-12-09
Dan Carpe
n
t
e
r
deb
u
g: p
r
int the param key of a
variab
l
e
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-12-08
Dan Carpent
e
r
generisize
.
p
l
:
remove t
h
e
f
unct
i
on name from "too small
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-12-08
Dan Carpe
n
ter
free
s
_pa
r
am_s
t
rict: h
a
n
dle assigned p
a
rame
t
ers
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-12-07
D
an
C
arpen
t
er
buf_size: small clean up
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
next