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
estate: pointers can't have a fuzzy max
2023-03-02
Dan Carpe
n
te
r
estat
e
: poin
t
ers can't
have a fu
z
zy max
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-03-02
Da
n
Carpenter
p
o
ints_to_user_data: all call
s
to copy_from_user
(
)
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-03-02
Dan Carpenter
struc
t
_assignme
n
t:
in
t
rod
u
c
e
c
reate_recursive_fa
k
e_as
s
i
gnment
s
()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-28
Dan Ca
r
penter
parse_call_m
a
t
h: st
o
r
e
=
=$0 e
v
en
f
or known values
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-28
Da
n
Carpe
n
ter
hooks: save the container->owner
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-28
Dan Carpe
n
ter
r
eturns_negative_error_code: low po
s
itives are
n
o
t
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-28
Dan Ca
r
penter
returns_neg
a
t
i
ve_err
o
r_c
o
de:
e
m
pty
st
a
t
es
are not erro
r
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-28
D
a
n Carp
e
nter
point
s
_to_user_
d
a
t
a: rename
set_
p
oi
n
ts_to_user_data
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-27
Dan
Carpenter
s
m
_
hash: e
x
por
t
str_to_llu_hash_helper()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-27
D
a
n Ca
r
penter
s
match: don't in
c
lu
d
e
"scope
.
h" f
o
r n
o
re
a
son
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-27
D
a
n Carpen
t
e
r
flow: pull parse_ass
i
gnment() i
n
to its own fun
c
tion
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-24
Dan Carpenter
flow: revert previous commit
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-24
Da
n
Carpe
n
ter
flow: handle str
u
ct assign
m
e
n
ts later
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-24
Da
n
Carpen
t
er
points_to_user_
d
ata: ha
n
dle
s
ome pointer math be
t
ter
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-24
D
a
n Carpenter
points
_
to_user
_
dat
a
: communicat
e
USE
R
_P
T
R returns
to
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-23
Dan Carpenter
po
i
nts_to_user_data:
h
ard code
some ksmbd
s
t
uff as
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-23
D
a
n Ca
r
penter
funct
i
o
n
_hooks: do early stu
f
f
e
v
en
earlier
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-23
D
a
n Carpenter
function_h
o
o
k
s
:
d
o
n't call db_retu
r
n_st
a
tes() early
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-23
Dan Carpente
r
function_hooks
:
introduce early add_function_hook_ear
l
y
()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-22
Dan
C
ar
p
enter
u
nre
a
chable: change int to bool
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-22
Dan Carpenter
un
r
eachable:
delete
a
n extra sp
a
ce character
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-22
Dan Carpenter
unr
e
achable:
i
gno
r
e
all
f
or
_
X
XX macros
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-15
Dan Carpenter
expressio
n
s: mak
e
gen
_
ex
p
ression_f
r
om_key
(
) handl
e
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-15
Dan
C
a
rpe
n
t
e
r
ex
p
ressions: make gen_expr_from_param_key() work
f
o
r
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-13
Harshit Mogala
p
alli
dire
c
t_return_i
n
s
t
ead_of_goto
:
don't w
a
rn about other
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-13
Harshit Mogalapalli
d
irect_return_i
n
s
tead_of_goto: Delet
e
du
p
licate cond
i
tio
n
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-09
D
an C
a
r
pent
e
r
sleeping
i
n atomic: silence som
e
dupl
i
c
a
te warnin
g
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carp
e
nt
e
r
d
b/kernel
.
return_fixes: up
d
ate notifier_to_errno()
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
Dan Ca
r
pen
t
er
db/smdb
.
py:
u
p
date the type st
r
in
g
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
Dan Ca
r
penter
k
er
n
el
.
un
r
each
a
bl
e
.
ignore: a
d
d damon_for_each_ta
r
get
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
Dan Car
p
e
n
t
e
r
e
x
p
ressions: add cast_expression()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
Dan
C
a
rpente
r
expre
s
sions: fix a ->
v
s
.
bug
i
n
g
en_expression_from_key()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpenter
extra: pa
s
s
a different mod_expr for vanill
a
assignments
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpent
e
r
buf_comparison
:
add support
f
o
r struct_size() array
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
D
a
n
Carpenter
hooks: commit
s
o
me
m
issing bits
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpenter
helper: 0-s32m
a
x ret
u
r
ns are success
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
D
an Carpenter
helper:
a
d
d a
strip_p
a
re
n
s(
)
i
n
get_
m
ember_
n
ame()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
Dan C
a
r
penter
kernel_host
_
data: ignore nonsense
information
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpenter
db/clear_u
s
er_d
a
ta:
c
lean user
d
ata more thoroughly
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpen
t
e
r
kernel_user_data
:
i
g
n
o
re nonsense data
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
Dan Carpen
t
er
kernel
_
user
_
data: add s
o
me more functions that retu
r
n
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-08
Dan Ca
r
penter
function
_
hooks: create fake_
p
aram_assign_
h
elpe
r
()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-07
Dan C
a
r
p
enter
preempt_info: add
rht_lock and bit_spin_lock
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-07
Dan Carp
e
nter
schedulin
g
_in_ato
m
ic: 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
C
arpenter
dma_mapping_error:
d
elete obsolete check
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-07
Dan Carpenter
direc
t
_return
_
inst
e
ad_of_
g
oto: don't warn about printk
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-06
Dan Car
p
ente
r
sleep_info
:
handle
mute
x
es correctl
y
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-02
D
an Carpenter
e
xpr
e
ssions: handle a ca
s
e i
n
gen_expressi
o
n_fro
m
_key()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-02-02
Dan Carpenter
d
b: im
p
ro
v
e recording when we
return a
p
arameter
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-01-19
Dan C
a
rpenter
ker
n
el_user_data: iov_iter_count() returns user data
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-01-18
Da
n
C
arpenter
param_key: exp
o
rt the split
_
param_key() function
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2023-01-12
Dan Carpenter
free_stri
c
t: don't p
r
omot
e
"
maybe_freed" to
"
freed
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-12-13
Dan Ca
r
p
enter
func
t
ion_hook
s
: us
e
the correct expre
s
s
i
o
n
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-12-09
Dan Carpenter
debug: pri
n
t the param key o
f
a variable
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-12-08
D
an Ca
r
p
e
nter
generisize
.
p
l
: remove the f
u
nction name from "to
o
small
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-12-08
Dan Carpen
t
er
frees_p
a
ram
_
stric
t
: handle a
s
s
igne
d
parameters
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-12-07
D
an Carpente
r
b
u
f_size: sma
l
l clean
u
p
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-12-06
Dan Carpen
t
er
kernel
.
i
gn
o
re_si
d
e_eff
e
cts: ignore memcpy/m
o
ve/set
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-29
Dan
C
arpe
n
ter
math: do
a
nother
s
trlen fix
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-29
Dan
C
arp
e
nter
st
r
le
n
: add __builti
n
a
n
d
__
f
ortify f
u
nct
i
ons
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-29
Dan Carpenter
struct_assignment: ad
d
__b
u
iltin
_
m
e
m
set
/
memc
p
y()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-29
Da
n
Carpen
t
er
param_
c
lear: add
__builtin_memset/memc
p
y
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-29
D
a
n
Carpenter
post
o
p_
t
i
m
e
out
:
warn
about incorrect while (timeout
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-28
D
a
n Carpenter
u
nchecked_allocation: wa
r
n
about po
t
ential NU
L
L
der
e
ference
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-25
D
a
n
C
a
r
penter
g
o
to_tra
c
ker: still do
e
sn'
t
build
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-25
Dan C
a
rpe
n
ter
goto_
t
ra
c
ker: creat
e
a goto state for g
o
t
o
statements
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-25
Dan
C
a
rpenter
s
m
atc
h
.
h: export __
s
m
a
tch_lineno
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-25
D
a
n Carpenter
kern
e
l: add handlin
g
for kref_pu
t
()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-25
Dan
C
arpenter
kern
e
l_user_data: cl
e
a
n
u
p
variable
i
n tag_st
r
u
c
t_membe
r
s()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-25
Dan
C
arpenter
kernel_user_dat
a
: intr
o
duce a pa
r
am/key table
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-25
Dan C
a
rpenter
missin
g
_error_code2:
w
a
rn about re
t
urn ret
w
here ret
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-25
Dan
C
arpenter
missing_error_co
d
e: cleanup s/yup/tru
e
/
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-25
Da
n
Carpenter
mis
s
ing_error_code: fix bug han
d
ling
i
nline
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-24
Dan
C
arpen
t
er
direct_return_ins
t
ead_of_g
o
to: warn about m
i
s
sing
u
nw
i
n
d
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-24
Dan Carpenter
divide_conditio
n
: warn about if
(
f
o
o
/
4
)
{
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2022-11-23
D
an Ca
r
pe
n
t
er
function_hooks: do set_fresh_m
t
ag_returns
(
) later
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-09-14
Dan Carpenter
deref_check: check_
d
e
ref: print b
o
th
line numbers
commit
|
commitdiff
|
tree
2011-09-13
Dan Carpent
e
r
c
ore: set posit
i
on
e
arlier in smatch_fl
o
w
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-09-12
Ka
r
el Zak
s
m
a
tch: add --data=<d
i
r> option
commit
|
commitdiff
|
tree
2011-09-12
D
a
n C
a
rpenter
s
list: pres
e
rve
t
he ->line value correctly
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-09-12
Dan Carpente
r
overflow: print more helpful in
f
o when the data
f
il
e
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-09-12
Dan Ca
r
penter
gen_arra
y
_bounds:
filt
e
r out bog
u
s
lines
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-08-30
Dan Carpenter
buf_si
z
e: sile
n
ce a gcc fa
l
se
p
ositive
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-08-30
Dan Carpenter
use
PTR_INT
(
) and
I
NT_
P
TR() to sile
n
c
e
cast warn
i
ngs
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-08-25
D
a
n Carpente
r
slist: make
alloc_sm_
s
tate() static
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-08-25
Dan Carpe
n
ter
slist: rem
o
ve some dead c
o
d
e
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-08-25
D
an Carpenter
core: clong_sm() should p
r
e
s
e
rve
the ->line value
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-08-25
D
an Carpen
t
er
update
s
match_data/ for l
i
n
ux-
3
.
1
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-08-04
Dan Carpenter
*new* bogu
s
_
lo
o
ps
:
w
a
r
n on bogus for loops
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-07-29
Dan
Carpenter
e
xtra: use
g
et_implied
_
valu
e
() inste
a
d of get_va
l
ue
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-07-26
Dan Carpenter
implied: hand
l
e
assignmen
t
s
inside cond
i
t
ion
s
better
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-06-17
Dan
C
arp
e
nter
o
v
erflow: check sprintf() and sn
p
rint
f
()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-06-17
Dan
C
arpenter
smatch_flow:
fix compile error caused by up
s
tream changes
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-06-17
Di
e
go Elio Pe
t
tenò
Fix build with GCC 4
.
6 series
.
commit
|
commitdiff
|
tree
2011-06-17
Dan Carpenter
overflow: cut down on false positives
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-06-13
Dan Carpente
r
s
m
atch_dat
a
: update for 3
.
0
k
er
n
el
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-06-13
Dan
Carpenter
g
en_no_return_funcs
:
always keep
t
he default n
o
return
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-06-13
Dan Carpenter
In a couple
p
la
c
e
the original checked for -
-
spammy
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-06-09
Dan Carpenter
flow:
ha
n
dle known switch
s
tateme
n
ts
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2011-06-09
Dan C
a
rpenter
*new*
r
e
tur
n
_negative_var: returning pos
i
t
i
ve values
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
next