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: do the caller_info stuff earlier
2023-03-03
Dan Carpenter
d
b: do the caller_
i
nfo
s
tuf
f
ea
r
lier
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-03
Dan
Carp
e
n
t
er
db: fix returned in
f
o
rmation
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-03
Dan
Carpenter
struc
t
_assignment: make the f
a
ke
d
_exp
r
e
ssion fu
n
c
t
ion
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-02
D
an C
a
rp
e
nter
u
ser_data: fix
an is_new se
t
ti
n
g i
n
handling assignments
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-02
Dan Carpent
e
r
kerne
l
_
u
s
e
r
_
data: don't set
*
m
y_struct to user
d
ata
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-02
D
an Carpenter
kernel_
u
ser_da
t
a
:
ignore vo
i
d types
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-02
Dan
C
a
r
penter
d
b/f
i
xup_kerne
l
.
sh: only record one work queue caller
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-02
D
a
n Car
p
ent
e
r
estate: pointers c
a
n'
t
have a fuzzy max
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-02
Dan Carpenter
points_t
o
_us
e
r_d
a
ta: all calls to c
o
py_from
_
user()
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-02
Dan Carpen
t
er
struct
_
assignment:
i
nt
r
oduce create
_
recursive_fake_
a
ssignments()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-28
Dan Carpenter
parse_call
_
math: store
=
=$0 even fo
r
k
n
own values
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-28
Dan Ca
r
penter
ho
o
ks: save the
contain
e
r
-
>
owne
r
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-28
D
a
n
Carpenter
returns_n
e
gative_erro
r
_code: low
p
os
i
tiv
e
s are not
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-28
D
an
Carpenter
returns
_
negative_err
o
r_code: empty states are not
e
r
r
or
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-28
D
a
n Carpenter
p
o
ints_to_u
s
er_dat
a
: rename set_
p
o
i
nt
s
_
to_user
_
dat
a
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-27
Dan Carpenter
sm
_
hash: e
x
port str_t
o
_llu
_
hash_he
l
per()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-27
Dan
Carpent
e
r
smatch:
d
on't include "scope
.
h"
f
or no reason
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-27
Da
n
Carpenter
f
l
ow:
pull par
s
e_ass
i
gnme
n
t() into it
s
own function
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-24
Dan
Carpen
t
er
flow: revert previous commit
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-24
Dan
C
arp
e
nter
flow: ha
n
dle s
t
ruc
t
assignments later
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-24
Dan C
a
rpenter
poin
t
s_to_user_
d
ata: ha
n
dle
s
o
me pointer math bett
e
r
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-24
Dan Carpenter
point
s
_to_us
e
r_data: communi
c
ate
U
SE
R
_P
T
R re
t
urns to
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-23
Dan Carpen
t
er
points_to_user_dat
a
:
h
ard code some ksmbd stuff a
s
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-23
D
a
n Carpenter
function_hooks: do ear
l
y
s
tuff even earlie
r
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-23
Dan
Carpenter
f
unction_hooks: don't call d
b
_return_st
a
tes() ea
r
l
y
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-23
Dan Carpenter
function_hooks: introd
u
ce
e
a
r
l
y
add_function_hook_early()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-22
Dan Carpente
r
u
nreac
h
a
b
l
e
:
change i
n
t
t
o b
o
ol
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-22
Dan
Carpenter
unreach
a
ble: delete a
n
extra space cha
r
a
c
ter
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-22
Da
n
Carp
e
nter
unreachable: ignore all for_XXX
m
acros
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-15
Dan Carpenter
exp
r
essions: m
a
k
e gen_expr
e
ssion_from_key
(
) handle
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-15
Dan Carpenter
expressions: make gen_expr_fr
o
m_param
_
key() w
o
r
k
f
o
r
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-13
Harshit Mogalapalli
di
r
ect_r
e
turn
_
i
n
stea
d
_of_goto: don't wa
r
n
a
b
o
u
t
o
ther
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-13
Hars
h
it Mo
g
alapalli
direct_return_instead_of_go
t
o: Delete du
p
licate conditions
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-09
Dan Carp
e
nt
e
r
sleeping i
n
ato
m
ic: silen
c
e some
d
uplica
t
e wa
r
nings
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpenter
db/kernel
.
return_
f
ixe
s
: update
n
otifier_to
_
er
r
no(
)
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpenter
db/smdb
.
py: update the ty
p
e str
i
ng
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpenter
k
e
rnel
.
u
nreach
a
b
le
.
ignore: add damon_for
_
each_targ
e
t
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Da
n
Carpenter
expressions: add cast_express
i
on()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan C
a
rpenter
ex
p
r
e
ssions:
fix a ->
v
s
.
b
u
g i
n
gen_expre
s
sion_from_key()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Car
p
ente
r
extra: pa
s
s
a
different mod_expr for
vani
l
l
a
a
s
s
ig
n
ments
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan C
a
rpenter
buf_compa
r
iso
n
:
a
dd suppor
t
for str
u
ct_size() ar
r
ay
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpenter
h
ook
s
:
commit some missi
n
g
b
its
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpenter
helpe
r
: 0-s32ma
x
returns ar
e
s
u
ccess
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
D
a
n
Carpenter
h
e
l
per:
a
d
d a strip_paren
s
() in g
e
t_member_na
m
e()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpenter
ker
n
el_host_data
:
ig
n
o
r
e
n
ons
e
n
se inf
o
r
m
ation
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan
C
a
rpenter
db/clear_user_data:
c
lea
n
us
e
r d
a
ta more thoroughly
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
D
an C
a
r
penter
ke
r
n
e
l
_user_da
t
a: ignor
e
nonsense data
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpen
t
e
r
k
e
r
nel_u
s
er_data: add so
m
e more functions t
h
at retu
r
n
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpenter
function_hooks
:
create fake_param_assign_h
e
l
per()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-07
D
a
n C
a
rp
e
nte
r
p
reempt_info
:
add rht_lock
a
n
d bit_spin_lock
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-07
Dan
C
arpenter
sche
d
uli
n
g_in_ato
m
ic: Ad
d
mas_st
o
re_gfp() a
s
a
spe
c
ial
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-07
Dan Ca
r
pent
e
r
d
ma_mappin
g
_error: delete obsole
t
e check
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-07
Dan Carpenter
direct_return_i
n
stead_o
f
_goto
:
do
n
't
w
arn about pri
n
tk
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-06
Da
n
Carpenter
slee
p
_info: handle mutexes correctly
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-02
Dan C
a
rpenter
e
x
pression
s
:
handle
a
c
ase in gen_expression_from
_
key()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-02
Dan Carpenter
db:
i
mp
r
ove recor
d
ing when we r
e
turn a p
a
ra
m
eter
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-01-19
Dan Carpenter
kernel_user_data
:
iov_i
t
er_c
o
un
t
() returns user d
a
ta
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-01-18
D
an Carpenter
param_key: export the sp
l
it
_
p
aram_key() function
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-01-12
Dan Carpente
r
free_stri
c
t
:
don't
p
romote "m
a
ybe_fr
e
e
d
"
to "freed
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-12-13
D
an Carpent
e
r
function_hooks: use the
c
orrect ex
p
r
ession
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-12-09
Dan Carpe
n
ter
debu
g
:
prin
t
the param k
e
y of a v
a
ria
b
le
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-12-08
Dan
C
arpenter
ge
n
erisize
.
pl: remove
the function name from "too sma
l
l
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-12-08
D
a
n Carpenter
frees_param_str
i
ct: handle assigned par
a
m
eter
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-12-07
Dan
C
arpenter
b
u
f_size
:
s
m
all clean up
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-12-06
Dan Carp
e
n
ter
kernel
.
ignore_
s
ide_e
f
fects:
i
gnor
e
memcpy/move/set
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-29
Dan Carpenter
math: do
a
n
o
ther strlen f
i
x
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-29
D
a
n
C
arpenter
strlen: add __builtin and __fortify
f
unctions
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-29
Dan Carpenter
struct_assignme
n
t:
ad
d
__builtin_memset/memcpy()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-29
Dan Carpenter
p
ar
a
m_
c
lear: add __builtin_memset/memcpy
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-29
Dan
Carp
e
nte
r
po
s
top_ti
m
e
o
u
t:
warn about incorrect
w
hile
(
time
o
u
t
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-28
Dan Carpenter
u
nchecked_alloca
t
io
n
: warn about potential NULL dereference
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
Dan Carpenter
goto
_
t
r
acker:
st
i
ll
d
oesn't build
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
Dan Carpenter
goto_tracker: create a goto state for goto stateme
n
ts
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
Dan Carpenter
smatch
.
h: e
x
po
r
t __smatch_lineno
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
Dan Carpenter
kernel: add han
d
ling
for kref_put()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
Dan
C
arpenter
kernel_user_dat
a
: cl
e
an up var
i
able in tag_struct_members()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
Da
n
Carp
e
nt
e
r
kernel_us
e
r_data: introd
u
ce
a
p
aram/ke
y
table
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
D
an Car
p
enter
m
issing_error_
c
ode2: warn a
b
out r
e
turn ret where ret
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
D
a
n Carpente
r
m
i
ssing_e
r
ror
_
c
ode: cleanup
s
/yup/t
r
u
e
/
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
Dan Carpente
r
m
i
ssing_error_co
d
e: fix bug handli
n
g i
n
l
i
n
es
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-24
Dan Carpe
n
t
e
r
direct_return_
i
nstead_o
f
_
goto: warn about missing unwinds
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-24
D
an Carpente
r
di
v
id
e
_condition: warn about if (foo / 4
)
{
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-23
D
a
n Carp
e
n
t
er
fun
c
tion_hooks
:
d
o set_fresh_
m
tag_ret
u
rns() later
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-10
Dan Carp
e
nter
type:
e
xport is_void_ptr()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-11-10
Dan
C
arpen
t
er
free_strict: add q
d
i
sc_e
n
que
u
e
(
)
as a free
function
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-11-10
Dan Carpent
e
r
release_resource: add
a
l
locate_resource() a
s
a reques
t
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-11-07
Da
n
Carpenter
db: add a NULL check in is_kern
e
l_success_fail()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-11-03
Dan Carpenter
data/kernel
.
unre
a
chable
.
i
g
nore: add
put_user(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-11-02
Dan
C
a
rpen
t
e
r
a
ssi
g
ned: strip some assignments
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-27
Dan Carp
e
nter
u
n
reachable: igno
r
e
o
utb outw and outl
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-25
Da
n
Carpenter
c
omparison:
use
C
OMPARE_LIMIT
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-25
D
a
n
Carpent
e
r
db: ge
t
rid of RELEA
S
E_OLD
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-25
Dan Carpenter
fixu
p
_kernel
.
sh: up
d
at
e
to use h
a
shed file n
a
mes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-25
Dan Carpenter
t
ype: get type from _Generic()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-25
Dan
C
ar
p
enter
sm_h
a
sh: remove
i
ncorrect
"
0
x
"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-21
D
a
n
Carpenter
f
l
ow:
f
i
x
o
rdering
f
or STMT_HOOK_A
F
TER wrt labels
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-21
Dan Carpenter
function_h
o
oks: f
i
x an ordering issue in a
d
d_function_p
a
r
a
m
_
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-11
Da
n
Carpenter
sm_hash: m
o
ve th
e
s
m
_hash pro
g
ram to smatch_data/db/
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-11
Dan Carpenter
smatch: c
l
ean
up
num_checks cou
n
tin
g
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-11
Dan C
a
rpenter
c
ompari
s
on
:
be
s
marter about "foo vs
f
o
o
- 1" comp
a
risons
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
next