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 handling DEREFERENCE from the database
2023-03-11
Dan
Ca
r
penter
deref
e
r
e
nce: fix hand
l
ing
D
EREF
E
RENCE from the databas
e
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-03-11
Dan
C
arpenter
dereference
:
only co
u
nt foo->
b
a
r as
a
dereference no
t
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-03-09
Dan Ca
r
pen
t
er
d
a
ta/ker
n
el
.
ignore
_
unitialized_param:
a
dd
s
ome
m
or
e
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-03-09
D
an Carpe
n
ter
par
a
m_
c
lear: add support for BUF
_
AD
D
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-03-08
Dan Carpent
e
r
param_l
i
mit: ignore B
U
F
_
CLEAR
h
er
e
as well
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-03-08
Dan Carpenter
de
r
eference: create
a add_derefe
r
e
nc
e
_hook() function
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-03-08
Dan Carpenter
bu
f
_clear: do a s
p
e
ed up
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-03-04
Dan Carpenter
kernel_user_
d
a
ta: us
e
a par
a
m
/key t
a
ble for simple_strtoul()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-03-04
D
a
n Carpe
n
ter
d
b/kernel
.
return_fixes: ad
d
debugfs_in
i
tia
l
ized
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-03-04
Dan
C
arpenter
d
b/kernel
.
return_fixes: a
d
d
nla_ne
s
t_st
a
r
t_noflag()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-03-03
D
a
n Carpenter
user_d
a
ta: remove
x
d
r
_inline_dec
o
de()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-03-03
D
an
C
a
r
penter
u
ser_data: clean
up h
o
w sscanf
is handled
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-03-03
Dan Ca
r
penter
use
r
_dat
a
: c
l
ean up
h
ow iov_ite
r
_count is handl
e
d
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-03-03
D
a
n Carpe
n
ter
points
_
to_ho
s
t_data: make a
p
o
i
n
t
er const
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-03-03
D
a
n Carp
e
n
t
er
user_data/ptr
:
move things from
u
ser_
d
ata to user_ptr
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-03-03
Dan
Carpe
n
ter
db
:
do the caller_in
f
o
stuff earlier
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-03-03
Dan Ca
r
penter
d
b
: fix returned i
n
formation
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-03-03
Dan Carpenter
s
t
ruct_assi
g
nment: mak
e
the faked_expression function
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-03-02
Da
n
Carpenter
user
_
da
t
a: fix
a
n i
s
_
new
setting in handlin
g
assig
n
ments
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-03-02
Dan Carpenter
kernel_u
s
er_data: d
o
n
't set
*my_struct to
user da
t
a
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-03-02
Dan Carpenter
kern
e
l_u
s
er_data
:
i
gnore voi
d
types
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-03-02
Dan Carpenter
db/f
i
xu
p
_kernel
.
sh: only r
e
c
ord
one
w
ork
q
u
e
ue
c
aller
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-03-02
Dan
Carpe
n
ter
estate:
p
oint
e
rs
c
an't ha
v
e a fu
z
zy max
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-03-02
Dan
C
arpen
t
er
poin
t
s_to_user_
d
ata: all
calls t
o
copy_
f
rom_user()
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-03-02
D
a
n
C
arpe
n
ter
stru
c
t_assignment
:
int
r
oduce create_recu
r
sive_fa
k
e
_a
s
si
g
nments()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-28
Dan C
a
r
penter
parse
_
ca
l
l_math:
s
tore ==$0
e
ven
f
o
r
known
v
alues
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-28
Dan
C
arpe
n
t
e
r
hooks: sav
e
the c
o
ntainer->o
w
ner
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-28
Dan
C
ar
p
ente
r
re
t
urns_n
e
g
ative_error_co
d
e: low positives are not
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-28
Dan Carpent
e
r
ret
u
rns_ne
g
a
tive_error_
c
ode: empty stat
e
s are
n
ot error
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-28
Da
n
Carpenter
p
o
i
nts_to_user_d
a
ta: rename set_points_to_user
_
data
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-27
Dan Carpenter
sm_ha
s
h: export str_to_llu
_
h
ash_helper(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-27
Dan Car
p
e
nter
sma
t
ch: do
n
'
t
include "sc
o
pe
.
h" for no
r
ea
s
on
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-27
D
an C
a
rpenter
fl
o
w:
p
ull parse_assignm
e
nt()
i
nto its own function
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-24
D
an Carpenter
fl
o
w: rever
t
previous
commit
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-24
D
a
n Carpenter
flow: ha
n
dle st
r
uct assignments later
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-24
Dan Carpen
t
er
points_to
_
user_data: han
d
le some pointe
r
math
b
etter
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-24
Dan C
a
rpenter
points
_
to_user_dat
a
: c
o
mmunicate USER_P
T
R returns t
o
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-23
D
an C
a
rpenter
po
i
nt
s
_to_user_data: hard c
o
de some ksmbd stuff as
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-23
Dan Carpenter
f
u
nction_hooks: do ear
l
y stuf
f
even earlier
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-23
Dan Carpenter
function_hooks: don't call db_r
e
turn_s
t
a
t
e
s
() early
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-23
Dan Carpenter
function_hooks: introduce early
a
dd_fun
c
tion_hook_e
a
rly
(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-22
Dan Carpenter
u
nreachable: chan
g
e int to b
o
ol
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-22
Dan Carpenter
u
nreachable: delet
e
an extra space ch
a
racter
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-22
Dan Carpenter
un
r
e
a
c
hable: ignore
all
f
or_X
X
X m
a
cros
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-15
Dan Carpenter
expre
s
sions: make gen_expression_f
r
om_key() handle
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-15
D
an Carpenter
exp
r
essions: make gen_expr_from_para
m
_key(
)
wo
r
k for
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-09
Dan Carp
e
nter
sleeping in
a
tomic
:
silen
c
e some
d
u
p
l
i
c
a
te war
n
ings
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
Dan
Carpenter
db/k
e
rne
l
.
re
t
urn_fixes: upd
a
te notifier_
t
o_errn
o
()
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
D
an Carpenter
db/
s
mdb
.
py: update the ty
p
e strin
g
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpe
n
ter
kernel
.
unreachable
.
ignore: add dam
o
n_for_each_target
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
D
a
n Carp
e
n
ter
exp
r
essions: add cas
t
_ex
p
r
essio
n
(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
Dan Car
p
enter
expressio
n
s: fix a ->
v
s
.
bug in g
e
n
_expr
e
ssion_from_key
(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpent
e
r
extra:
p
a
ss a different mod_ex
p
r for vanill
a
assignments
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
D
a
n Carpe
n
te
r
buf_comp
a
r
i
s
on:
a
d
d support f
o
r
struct
_
size()
a
rray
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
Dan C
a
r
p
enter
ho
o
k
s:
c
ommi
t
some missing bit
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carp
e
nter
h
e
lper: 0-s32max
ret
u
rns are
s
ucce
s
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
D
an Carpenter
helper: ad
d
a st
r
ip_parens(
)
in get_member_na
m
e()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
Dan
Carpenter
kernel_host_da
t
a:
i
gnore n
o
nsens
e
information
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
Dan Car
p
enter
db/c
l
ear_use
r
_
data: clean user dat
a
more thoroughl
y
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpen
t
er
ke
r
n
e
l
_
user_da
t
a: i
g
nore non
s
ense data
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
D
a
n Carp
e
nt
e
r
k
ernel_user_da
t
a
:
add some more f
u
nctions tha
t
ret
u
rn
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
D
an C
a
rpen
t
er
function_hook
s
: c
r
eate fake
_
param_as
s
ign_helper
(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-07
D
an
C
arpenter
p
r
eemp
t
_info: add r
h
t_lock an
d
b
it_spin_lock
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-07
Dan Carpenter
s
che
d
uling_in
_
atomic:
A
dd mas_store_gfp(
)
as a special
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-07
Dan Carpenter
dma_mapping_error:
d
elete obsolet
e
check
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-07
Dan Carpenter
direct_return_inst
e
ad_o
f
_goto
:
don'
t
warn a
b
out printk
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-06
Dan Carpenter
sleep
_
info: handle mutexes correctly
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-02
D
a
n Carpenter
expressi
o
ns: handle a cas
e
in
g
en_expression_from_key
(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-02
Dan Car
p
enter
d
b
: i
m
pro
v
e recording whe
n
we
r
eturn a
p
arameter
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-01-19
D
a
n Carpenter
k
ernel_user_data: iov_i
t
er_cou
n
t
() returns user data
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-01-18
Dan Carpenter
pa
r
am_key: export t
h
e
s
p
l
it_param_key()
f
unction
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-01-12
Dan Ca
r
p
e
nter
f
ree_str
i
ct: don't promote "maybe_freed" to "freed
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-12-13
Dan Carpenter
functio
n
_hooks: u
s
e
t
he correct expression
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-12-09
D
a
n Ca
r
penter
debu
g
: print the p
a
ram
k
ey of a vari
a
ble
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-12-08
Dan
Carpent
e
r
gene
r
isize
.
pl: r
e
move the function name from "too s
m
a
ll
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-12-08
Dan Carpenter
f
rees_par
a
m_stri
c
t: handle assi
g
ned parameters
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-12-07
Dan Carpenter
buf_size: small
cle
a
n up
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-12-06
Dan Carpenter
kernel
.
i
gnore_side_effects: igno
r
e memcpy/move/set
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-29
Da
n
Carpenter
math: do another strlen fix
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-29
Dan Carp
e
nter
strlen: add __builtin and
_
_fortify func
t
i
o
ns
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-29
Da
n
Carpenter
struct
_
a
s
signment: add __builtin_memset/memcpy(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-29
Dan Carpenter
par
a
m
_
clear:
add
_
_b
u
ilti
n
_memse
t
/
m
emcpy
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-29
D
a
n Carpenter
p
ostop_ti
m
eout:
w
arn a
b
out i
n
correct while (timeout
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-28
Dan Carpenter
u
nchecked_allocation: warn about potential
NULL
d
ereferenc
e
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-25
Dan
C
a
rpent
e
r
got
o
_tracker: still doesn't build
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-25
Dan Carpenter
g
o
to_tracker: crea
t
e a
g
oto state
for g
o
to
s
tateme
n
ts
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-25
Dan Carpenter
smatch
.
h: ex
p
ort __smatch_li
n
eno
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-25
Dan Carpente
r
kernel
:
ad
d
handling fo
r
kre
f
_put()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-25
Dan Carpenter
k
e
rn
e
l_user_d
a
ta: c
l
ea
n
up va
r
iable in t
a
g
_st
r
uct_members()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-25
D
a
n Carpenter
kernel_u
s
er_data: introduce a param/key table
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-25
Dan Carpenter
miss
i
ng_error_
c
ode2: warn about return
ret where ret
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-25
Dan C
a
rp
e
n
t
e
r
missin
g
_error_code: cleanup s/yup/true/
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-25
Da
n
Car
p
enter
missin
g
_
e
rror_code
:
fix
bug h
a
ndling
i
nlines
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-24
Dan Carpent
e
r
direct_ret
u
rn_i
n
stead_of_g
o
t
o
: warn about missing unwi
n
ds
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-24
Dan Carpenter
d
ivide_conditi
o
n
:
warn
a
bou
t
if (foo / 4) {
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-23
Dan Carpenter
f
unction_hooks: do s
e
t
_
fresh_mta
g
_
returns() later
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-11-21
Dan Carpenter
re
c
ognize binary constants
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-09-14
Da
n
Carpenter
deref_check: ch
e
ck
_
deref: prin
t
both line numb
e
rs
commit
|
commitdiff
|
tree
2011-09-13
Dan C
a
rpen
t
er
core: set pos
i
tion earlier in sm
a
t
c
h
_flo
w
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-09-12
Dan Carpenter
slist:
p
r
eserve
the -
>
line
value corr
e
ctly
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
next