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
flow: only fake parameter assignments once
2023-03-28
Dan Carpen
t
er
flow
:
only fake
p
ar
a
m
eter assi
g
nments once
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-28
Dan Carpenter
shift_to_zero: silence
s
ome
w
arnings i
n
side macros
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-28
D
a
n Carpenter
db/create_db
.
sh: verify
t
hat the info file e
x
ists
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-27
Da
n
C
a
rpe
n
ter
data/kernel
.
unconstan
t
_macros: add EN
Q
UEUE_MIGRATED
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-25
Da
n
Carpente
r
u
n
wi
n
d: don't war
n
about gl
o
b
al variable
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-24
Dan Carpent
e
r
flow: don't rep
a
rs
e
in
l
i
nes ov
e
r and
o
ver
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-23
D
an
Carpenter
k
ernel
.
unconstant_
m
acro
s
: add some pending stuff
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-15
Dan Carpenter
debug: fix broken compile because of missin
g
code
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-15
D
an
Carp
e
nter
d
e
bug: skip everyth
i
ng e
x
c
ept a given func
t
ion
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-15
Dan Carpente
r
de
b
ug:
add
__smatch_sta
r
t
/
stop_skip() to
skip processin
g
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-15
Dan Carpe
n
ter
d
e
bug: m
a
k
e
__sma
t
ch_about
(
)
h
andle
SSA states better
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-11
Dan
Carpenter
dere
f
erence: fix handli
n
g
DE
R
EFERE
N
C
E
from the datab
a
se
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-11
Dan Carpenter
d
ereference: only count
foo-
>
bar as a dereference not
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-09
D
a
n
Ca
r
p
e
nter
data/kernel
.
ignor
e
_unitialized_p
a
ram: add some mo
r
e
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-09
Dan Carpenter
param_
c
lear
:
add suppo
r
t for BUF_ADD
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-08
Dan Carpenter
param_limit: ignore BUF_CLEAR
here as well
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-08
Dan Carpente
r
d
erefe
r
enc
e
: create a
a
dd_dereference_hoo
k
(
)
fun
c
tion
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-08
Dan Carpenter
buf_clear
:
do a spe
e
d up
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-04
Dan Carpenter
kernel_user_d
a
ta: use a param/key table for
s
imple_
s
trt
o
ul()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-04
Da
n
Carpen
t
er
db/kernel
.
retu
r
n
_
fixe
s
: add
debugfs_initialized
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-04
Dan Carpenter
db/kernel
.
return
_
fixes: add
nla_ne
s
t_start_noflag
(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-03
Dan Carpent
e
r
user_data: remove xdr_
i
nline_d
e
co
d
e()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-03
Dan Car
p
enter
user_data: clean up how sscanf is handled
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-03
Dan
C
arpenter
user
_
da
t
a: clean up
h
ow iov_iter_count is handled
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-03
Da
n
Carpe
n
t
er
points_to
_
ho
s
t
_data: make a pointer
co
n
st
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-03
Dan C
a
rpenter
user_data/ptr: mov
e
thing
s
from user_data t
o
user_ptr
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-03
Dan
Carpenter
db:
d
o t
h
e c
a
ller
_
info stu
f
f
e
arl
i
er
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-03
Dan Carpenter
db: fix re
t
ur
n
ed
information
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-03
Dan
Carpenter
struct_assignment: make the
faked_expression function
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-02
Dan Carpen
t
e
r
user_data: fix an is_
n
ew setting
in han
d
l
i
ng
a
ssignment
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-02
Dan Carpenter
kerne
l
_
u
ser_data: don'
t
s
et *my_struct to user
d
ata
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-02
Da
n
Carpenter
kernel_user_da
t
a
: ignore void type
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-02
Dan C
a
rpenter
d
b
/fix
u
p_kernel
.
s
h
: only re
c
ord one w
o
rk queu
e
calle
r
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-02
Dan Carpe
n
ter
esta
t
e: poin
t
ers
can't
h
ave a fuzzy max
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-02
Dan Carp
e
nt
e
r
poin
t
s_to_user_data: all
ca
l
ls to
c
op
y
_f
r
om_use
r
()
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-03-02
Dan C
a
r
penter
struct_as
s
ig
n
men
t
: i
n
t
roduce cre
a
te_recu
r
sive_fake_assi
g
nment
s
()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-28
Dan Car
p
en
t
er
p
ar
s
e_
c
a
l
l_m
a
th: store
=
=$0 even for known value
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-28
Dan Carpenter
h
o
oks: save the co
n
tainer->
o
wner
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-28
Dan Carpenter
returns_negativ
e
_
error_cod
e
: low posi
t
ive
s
are
n
ot
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-28
Dan
Carpente
r
returns_negative_error_code:
e
m
pty states are n
o
t er
r
or
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-28
Dan Carpenter
poin
t
s
_to_user
_
data: r
e
n
a
me set_points_to_user_data
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-27
Dan Carpente
r
sm_has
h
: ex
p
ort str
_
to_l
l
u
_ha
s
h_hel
p
er()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-27
D
a
n Ca
r
penter
s
match: don't
include "scope
.
h" for no reason
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-27
Dan
C
arp
e
nter
f
l
o
w: pull pa
r
se_assignment(
)
into i
t
s own function
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-24
D
a
n
Carpenter
flow:
reve
r
t previous
commi
t
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-24
Da
n
Carpenter
flow: hand
l
e stru
c
t assignme
n
t
s later
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-24
Dan Ca
r
pent
e
r
poi
n
ts
_
t
o_user_dat
a
: hand
l
e
some pointer math better
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-24
Dan Carpenter
p
oint
s
_to_us
e
r_data: commun
i
cate USER_P
T
R
returns
t
o
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-23
Dan Carpenter
points_to_us
e
r_d
a
t
a
:
hard cod
e
some ksm
b
d stuff as
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-23
D
a
n Carpenter
functio
n
_hoo
k
s: d
o
early stuff ev
e
n earlier
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-23
D
an Carp
e
nter
f
u
nction_
h
o
oks:
don't call db_ret
u
rn_states
(
) early
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-23
D
an Ca
r
penter
f
unction
_
hooks:
in
t
roduce early add
_
fun
c
tion_hoo
k
_early
(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-22
Dan Carpen
t
er
unrea
c
hable: change int to bool
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-22
Dan Carpenter
u
nreachable:
d
el
e
t
e
an
extra
s
pace character
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-22
Dan
Carpenter
unre
a
chable:
ignore a
l
l
for_XXX macros
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-15
Dan
C
arpen
t
er
expr
e
ssio
n
s:
m
ake
g
e
n
_
expression_fro
m
_key() ha
n
d
l
e
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-15
Dan
C
a
r
penter
expressions:
m
ake gen_ex
p
r_f
r
o
m_param_key()
wo
r
k f
o
r
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-13
Harsh
i
t Mogalapall
i
d
irect_re
t
urn_ins
t
ead_of_goto: don't warn about
other
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-13
Harshit Mogala
p
alli
d
i
rect_
r
e
t
ur
n
_instead_of_got
o
: Del
e
te dupl
i
cate
conditions
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-09
Dan
Carpent
e
r
sleeping
in atom
i
c
:
si
l
ence s
o
m
e
d
uplicate warn
i
ngs
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan C
a
rpente
r
db
/
kernel
.
re
t
urn_fixes: update notifier_to_er
r
no()
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpenter
db/smd
b
.
py: update the type strings
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Car
p
enter
k
e
r
n
e
l
.
unreacha
b
le
.
ignore: add dam
o
n_for_eac
h
_target
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpente
r
express
i
o
n
s:
a
dd
c
as
t
_expression()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
D
a
n C
a
rpe
n
ter
expressions: f
i
x a -> vs
.
bug in gen_expre
s
s
i
on_fr
o
m_ke
y
()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan C
a
r
penter
extra: pas
s
a different mod
_
expr for vani
l
la
a
ssig
n
ments
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
D
a
n Carpen
t
er
b
u
f_c
o
m
parison:
a
dd
s
u
ppo
r
t for struct_size() a
r
ray
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan
C
arpenter
hooks: commit some
m
iss
i
ng
b
i
t
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpenter
helper: 0-s32m
a
x
r
e
turns ar
e
suc
c
e
s
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
D
an Car
p
enter
h
e
lper: add
a
strip_parens() in
g
et_me
m
ber_name()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Ca
r
penter
ke
r
nel_host_data: ignore nonsense information
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpenter
db/clear_user_data: cl
e
an user
data more thoroughly
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpenter
k
e
rnel_user_data: ignore
nonsense
d
ata
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan C
a
rp
e
nter
kernel_us
e
r_data
:
ad
d
some
more fun
c
tions t
h
at
re
t
urn
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
D
a
n Carpe
n
ter
function_hooks: create fa
k
e_param_assign_helper
(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-07
Dan Carpe
n
ter
preempt_i
n
fo: add rht_lo
c
k
and bit_spin_lock
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-07
Da
n
C
arp
e
nter
schedulin
g
_
in_
a
tomic:
Add mas_store_gfp()
a
s a spec
i
al
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-07
Dan Carp
e
nter
dma_ma
p
ping_error:
d
elete obsol
e
te check
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-07
Dan
C
arpenter
dir
e
ct_return_
i
n
s
t
ea
d
_of
_
g
oto: don't warn
about pr
i
n
tk
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-06
Dan Carpenter
sleep_in
f
o: handle mu
t
e
x
es corr
e
ct
l
y
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-02
Dan
C
a
r
pen
t
er
exp
r
essi
o
ns:
handle
a
case in
g
en_expression_from_key()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-02
Dan Ca
r
penter
db: imp
r
ove r
e
cordin
g
when we return a param
e
ter
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-01-19
Dan Carpente
r
kerne
l
_
user_data:
i
ov_iter_count() returns user data
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-01-18
Dan Carpenter
param_
k
e
y
: expo
r
t the spl
i
t_p
a
r
am_
k
ey()
f
unct
i
on
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-01-12
Dan Ca
r
penter
free_strict: don't promote "
m
aybe_f
r
eed" to
"
freed
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-12-13
Dan
C
arpenter
funct
i
on_hooks: use the correct exp
r
ession
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-12-09
Dan
C
arpente
r
d
ebug: print
the param
k
ey
of a variable
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-12-08
Da
n
Carpenter
generisize
.
pl:
r
e
move the
function name fro
m
"too sma
l
l
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-12-08
Dan Carpenter
frees
_
param_stri
c
t: han
d
le assigned parameters
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-12-07
Dan Carpenter
buf_s
i
ze:
s
mall cl
e
a
n up
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-12-06
Dan Carpenter
kerne
l
.
ignore_
s
ide_effects: ignor
e
memc
p
y
/
move/
s
et
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-29
Dan Carpenter
math: do
a
nother strlen fi
x
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-29
Dan
Carp
e
nter
strlen: add __builti
n
an
d
__fortify functions
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-29
D
an
Carpenter
struc
t
_ass
i
gnment: add _
_
builtin_
m
emset/memcpy
(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-29
Dan Carpent
e
r
param_clea
r
: a
d
d __builtin_memset/memcpy
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-29
Dan C
a
rpenter
pos
t
op_timeo
u
t
:
w
a
r
n
a
bo
u
t
incorrect while (timeout
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-28
Dan C
a
rpenter
unchecked
_
allo
c
ation: warn abou
t
p
otential
N
ULL
dereferenc
e
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
Dan Carpent
e
r
goto_tracke
r
:
s
till doe
s
n
'
t build
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
Dan Carpenter
goto_tracker: cr
e
ate a
g
ot
o
stat
e
for g
o
to stateme
n
ts
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
Dan Carpenter
smatch
.
h: export __sm
a
tch_li
n
eno
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
next