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
hooks: save the container->owner
2023-02-28
Dan Carpenter
hooks: save the c
o
n
t
a
i
n
er->owner
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-28
D
a
n Ca
r
p
enter
returns_negative_err
o
r_code: low positives are not
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-28
Dan C
a
rpenter
r
etur
n
s_
n
ega
t
ive_error_c
o
de: empty
s
tate
s
a
r
e
not error
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-28
Dan
C
a
r
penter
points_to
_
user
_
data: rename
set_points_to_user_data
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-27
Dan
Carpenter
sm
_
hash: export str_to_llu_h
a
sh_helpe
r
()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-27
Dan Carpenter
smatch:
don't in
c
l
ude
"
scope
.
h" for n
o
reason
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-27
Dan
C
arp
e
nter
flow: p
u
l
l parse_assignm
e
nt
(
)
i
nto its own functi
o
n
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-24
D
a
n
Car
p
e
n
ter
flow: revert p
r
evious com
m
i
t
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-24
Dan Carp
e
nter
flow: hand
l
e str
u
ct assignments later
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-24
Dan Carpente
r
poin
t
s_to_
u
ser_data: handle so
m
e pointer math better
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-24
Dan Carpen
t
er
p
oints_to_user_
d
ata: communica
t
e U
S
ER_PTR r
e
turns to
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-23
Dan Carpent
e
r
points_to
_
u
s
er_
d
ata: hard code some ksmbd stuf
f
as
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-23
Da
n
Ca
r
pent
e
r
function_hooks: do early
s
tuff even earlier
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-23
Dan Carpenter
function_ho
o
k
s:
d
on't call db_r
e
turn_sta
t
es(
)
early
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-23
Dan Carpenter
function_
h
ook
s
:
i
ntroduce early add_functi
o
n_hook_early()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-22
Dan Carpenter
un
r
e
a
chable: change
int to
bool
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-22
Da
n
Carpenter
unreachable: delete an extra sp
a
ce
char
a
cter
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-22
Dan
Carpente
r
u
nreachable: ignor
e
all for_X
X
X
m
acros
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-15
Dan Ca
r
penter
expressions: make gen_ex
p
ression_from_key() h
a
nd
l
e
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-15
D
an Carpenter
e
xpre
s
sions: make
g
en_expr_from_pa
r
am_
k
ey(
)
work for
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-09
Dan C
a
rpe
n
ter
sleeping
i
n atomic:
si
l
ence some duplic
a
te warni
n
g
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpen
t
er
db/kernel
.
r
eturn_f
i
xes: upda
t
e not
i
fier_
t
o_e
r
rn
o
()
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Da
n
Carpenter
db/
s
m
db
.
py: update t
h
e typ
e
strings
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
D
a
n
Car
p
en
t
er
ker
n
el
.
unreac
h
a
ble
.
ignore
:
add damon_
f
or_each_target
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan
C
arpenter
e
x
pressions: add cast_expression()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpent
e
r
expressions: fix
a ->
v
s
.
bug
in
ge
n
_exp
r
ess
i
on_from_key()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan
C
arp
e
nter
extra: pass a different mo
d
_expr for van
i
l
l
a assignm
e
n
t
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpenter
bu
f
_compa
r
ison: add s
u
ppo
r
t for struct_
s
iz
e
()
array
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan C
a
rpenter
hooks
:
comm
i
t
some missing b
i
ts
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan
Carpenter
helpe
r
: 0-s32max retu
r
ns
a
re success
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Car
p
enter
h
elpe
r
: ad
d
a strip_parens() in
get_me
m
ber_na
m
e()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan
Carpen
t
er
kernel_host
_
data:
igno
r
e nonsense informat
i
on
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
D
a
n Carpenter
db/clear_user_data: clean us
e
r d
a
ta more thoroughly
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
D
a
n C
a
rpenter
k
e
r
nel_use
r
_
data: ign
o
re nonsense d
a
ta
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpenter
kernel_use
r
_data: add some mor
e
fun
c
tio
n
s that return
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpenter
f
unctio
n
_hook
s
: c
r
e
a
t
e
f
a
ke_param_assign_helper()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-07
Dan Carpenter
p
reempt_i
n
fo: add r
h
t_lock and
bit
_
s
pin_loc
k
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-07
Dan
C
a
rpente
r
sch
e
duli
n
g_in_atomic: Add mas_store
_
g
f
p() as a spec
i
al
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-07
Dan Carpent
e
r
dma_mapping_e
r
ror: delete obsolete che
c
k
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-07
Da
n
Carpente
r
d
i
rect_r
e
t
u
r
n
_ins
t
ead_of_got
o
: do
n
'
t wa
r
n about p
r
intk
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-06
Dan Carpenter
sleep_info: handle mutexes c
o
rre
c
tly
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-02
Dan Carpente
r
express
i
ons: h
a
ndl
e
a ca
s
e in gen_expression_from_key()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-02-02
Dan Carpenter
db: impr
o
v
e recording w
h
en we return a p
a
rameter
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-01-19
D
a
n
Car
p
enter
kern
e
l_user_data: i
o
v_
i
t
e
r_c
o
unt() returns user da
t
a
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-01-18
Dan
C
arpenter
param_key:
e
xport the split_param_key() function
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2023-01-12
Dan Carpenter
free_strict: don't p
r
omote "
m
a
y
be_fre
e
d" to "fr
e
ed
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-12-13
Dan Carpe
n
ter
f
u
nction_hooks: u
s
e
the co
r
r
e
ct expr
e
s
s
i
on
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-12-09
Dan C
a
rpenter
d
e
bu
g
: pri
n
t the param key
of
a variable
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-12-08
Dan
Carpenter
generisize
.
pl:
r
emo
v
e
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 Carpe
n
ter
f
r
ees_param_strict: han
d
le assigned par
a
meters
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-12-07
D
an
Car
p
en
t
er
b
u
f_size: small
c
lea
n
u
p
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-12-06
Dan
C
ar
p
enter
kerne
l
.
ignore_side_effects: ig
n
ore me
m
cpy/mo
v
e/set
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-29
Dan
C
arpe
n
t
er
math
:
do ano
t
h
er
s
t
rlen fix
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-29
Dan Ca
r
penter
strl
e
n: add __
b
uiltin and __fortify functio
n
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-29
Dan Carpenter
struct
_
assignment: 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 __builtin_memset/
m
emc
p
y
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-29
Dan
C
a
r
pen
t
e
r
postop_timeout: warn about
incorrect
w
h
ile (timeout
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-28
Dan Carpe
n
t
e
r
unchecked_a
l
locatio
n
: w
a
rn ab
o
u
t pote
n
tia
l
NULL
derefere
n
ces
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
Da
n
Car
p
enter
goto_
t
rack
e
r:
still doesn
'
t build
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
Dan Carpenter
goto
_
tr
a
c
k
er: c
r
ea
t
e a goto state
f
or
g
oto statements
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
Dan C
a
rpen
t
er
smatch
.
h: expor
t
__sm
a
tch_lineno
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
Dan
Carpenter
kernel: a
d
d handling for
kref_put
(
)
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
D
an Ca
r
penter
k
ernel
_
user_dat
a
: clean up variable
i
n t
a
g_s
t
ruct_members()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
Dan C
a
rpen
t
er
ke
r
nel_u
s
er_da
t
a
:
i
n
troduce a param/k
e
y table
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
Dan Carpenter
missing_error_
c
ode2
:
warn
a
bout return ret where ret
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
Dan
C
a
r
penter
missing_error_co
d
e: clean
u
p s/yup
/
true/
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-25
Da
n
C
arpenter
missi
n
g_er
r
or
_
code: fix bug handli
n
g i
n
lin
e
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-24
Da
n
Ca
r
p
e
n
ter
d
i
rect_retu
r
n_instead_of_goto: warn about missing unw
i
n
d
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-24
Dan Carp
e
n
t
er
divide_c
o
n
dition: warn about
i
f (f
o
o
/ 4)
{
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-23
Dan C
a
rpenter
fun
c
tion_hooks: do set_fresh_mtag_
r
e
t
urns() later
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2022-11-10
Dan Ca
r
pe
n
ter
t
ype: e
x
po
r
t is_void_ptr(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-11-10
Dan Carpe
n
ter
free_strict: add qdis
c
_enqueue() as a fre
e
function
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-11-10
Dan
Carpenter
releas
e
_
r
esource:
a
dd al
l
oc
a
te_resource() as a
req
u
est
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-11-07
Dan Carp
e
nter
db
:
add
a NULL chec
k
in is_kernel_s
u
cc
e
ss_fail(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-11-03
Da
n
C
a
rpent
e
r
data/ke
r
n
el
.
unrea
c
hable
.
ignore: add put_user()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-11-02
Dan Ca
r
penter
a
ssign
e
d:
strip some assignments
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-27
Dan Carpenter
u
nrea
c
h
a
ble: ignore outb
outw and out
l
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-25
Dan Carpenter
comparison:
use COMPARE_L
I
MIT
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-25
Dan Carp
e
n
ter
db: g
e
t
rid o
f
RELEASE_O
L
D
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-25
Dan Car
p
e
n
ter
fixup_
k
ernel
.
sh: update to use
h
ashed file names
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-25
D
a
n Carpenter
type: get
type from _
G
ener
i
c(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-25
Dan
Ca
r
penter
sm_hash: remove incorrect
"0x"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-21
Dan
Carpenter
flow: f
i
x ordering for S
T
MT_HOOK_AFTER wrt
l
ab
e
ls
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-21
Dan Carpenter
func
t
ion_hooks:
f
i
x an ordering issu
e
in add
_
function_para
m
_
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-11
Dan Car
p
enter
sm_hash: mov
e
the
sm_hash p
r
ogram to smatch_da
t
a/db/
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-11
Dan C
a
rpenter
sm
a
tch:
c
lean up num_
c
he
c
ks count
i
ng
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-11
Dan Carpenter
comparison: be
sma
r
ter ab
o
ut
"
f
o
o vs foo - 1" compa
r
iso
n
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-11
D
an Carpenter
com
p
ariso
n
: de
l
ete unnecess
a
r
y
code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-10
Da
n
Carp
e
n
t
e
r
buf_comparis
o
n: c
h
e
ck the correct
v
ar
i
able
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-10
Dan
Carpenter
buf_size
:
use 0 fo
r
th
e
extern file id
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-10
Dan Carpenter
buf_si
z
e: use file i
d
ins
t
ea
d
of fil
e
name
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-07
Dan Carpe
n
ter
z
ero_to_err_ptr: sil
e
nce some false
p
os
i
tives
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-07
Dan Ca
r
pe
n
t
er
db: use NULL
i
nstead of
z
ero
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-07
Dan Carpenter
con
d
itions:
del
e
te pointless debug
code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-07
D
an
Ca
r
pen
t
er
flow: se
t
a
f
lag ins
i
d
eh
a
ndle_builtin_ove
r
flow
_
func
(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-07
Dan Carpe
n
ter
helper: -EIOCBQUEUED is
n
ot
a
n
e
rror
.
It is a success
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-07
Dan Carpenter
h
o
oks: ad
d
a war
n
ing to d
e
tect un
i
mplem
e
nted hooks
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-07
D
an C
a
rpenter
b
u
f_
c
ompari
s
on:
a
dd spe
c
ial case for byte size elements
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-06
Dan Ca
r
pente
r
s
m
_has
h
:
c
rea
t
e a b
i
nary to g
e
nerate hashes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2022-10-06
Dan Carpenter
db/sm
d
b
.
py: display
t
h
e fi
l
e name and no
t
the hash
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
next