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
extra: re-write get_long_name_sym()
2021-03-03
Dan Car
p
enter
function_hoo
k
s/user_da
t
a: int
r
o
d
u
c
e
and use add_func
t
ion_h
o
o
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-03-03
Da
n
C
a
rpenter
points_
t
o_u
s
er_d
a
ta: handle memcpy() co
r
rectly
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-03-03
Dan
C
a
rpenter
points_to_
u
se
r
_dat
a
: f
i
x is_skb
_
data()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-03-03
D
a
n
Carpenter
use
r
_data
:
mov
e
handling of
p
ointer math up the call
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-03-03
Dan Carpen
t
er
helper: re-write __ge
t
_variabl
e
_from_expr()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-26
Dan
C
arp
e
nter
flow: fix a
type issue in fake
_
a_varia
b
l
e
_
assign()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-26
Dan Carpenter
h
e
l
p
er: cl
e
a
n up
the expr
_
to_str() EXPR_PRE
O
P code
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-26
Da
n
C
a
r
penter
helper: fix h
o
w
derefer
e
nces are represented with
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-24
Dan C
a
rpenter
struct
_
assignment:
r
ename "r
i
ght
_
member"
t
o
"
right_
e
xpr"
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-24
Dan Carpenter
compar
i
son: fix loo
p
i
n
get_all_poss
i
ble_not_equal_compar
i
s
o
n
s
()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-24
Dan Carpente
r
locking
:
a
dd __r
a
w_
w
r
i
te_unlock_irq fun
c
t
i
on
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-24
Dan Ca
r
pente
r
flo
w
: fake
a
return at the end of v
o
id functions
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-23
Dan Carpenter
smatch
:
ad
d
--
p
edant
i
c option
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-23
Dan Carpenter
unwind: use sha
r
ed constants
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-23
Dan Carpenter
constants:
m
ove some constants fr
o
m smatch
.
h
to sma
t
ch_const
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-23
Dan Carpente
r
l
o
c
king: use shared sval constants
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-23
Dan Carpenter
db/sm
d
b
.
py: add a t
r
y ca
t
c
h block printing th
e
re
t
u
rn
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-23
Dan Carpenter
atomic
_
inc
_
dec: pass
c
orrect cal
l
expression to db_inc_dec()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-22
Da
n
C
a
rpenter
atomic_
i
n
c_dec: add this
t
o
c
heck_l
i
st
.
h
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-22
Dan Carpenter
constants: defin
e
a
b
u
nch
o
f constan
t
svals
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-22
Dan Ca
r
pe
n
t
er
f
low: pass condit
i
onal macros
to MACRO_AS
S
I
GNMENT_
H
OOK
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-22
D
an Carpenter
p
o
ints
_
to_user_d
a
t
a: add
the m
e
mcpy_from_u
s
er() functio
n
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-22
Dan
Carpen
t
er
slist
:
return an all
o
c_sname() in sh
o
w_sm()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-22
Da
n
Carpenter
buf
_
comparison: s/kmemdup_user/m
e
mdup_user/
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-22
Dan
C
arpe
n
ter
states: Rename d
e
lete_state() to __delete_s
t
a
te()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-22
Dan Carpen
t
er
states: delete the unused d
e
le
t
e_state_
e
xpr() function
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-22
D
an Car
p
enter
un
t
racked_pa
r
am: assignme
n
ts do
not ma
k
e a parameter
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-22
Dan Carpenter
avl: shor
t
c
u
t
F
OR_EACH_MY_SM
(
) fo
r
c
hecks wi
t
hout
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-22
Dan Carp
e
n
t
e
r
flow: fake void returns
if we have to bail on a func
t
ion
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-17
Dan
Carpen
t
er
sscanf
/
assign
e
d_ex
p
r: i
n
trod
u
ce get_a
s
s
g
ined_sm()
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-17
Dan Carpent
e
r
condi
t
ions: f
i
x t
h
e
build
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-16
Dan Carpenter
k
v
m
alloc_NOFS
:
warn
about passing bogus GFP_ argumen
t
s
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-16
Dan Carp
e
nter
sscanf_return: w
a
rn about propagating scanf() retu
r
ns
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-16
D
an
Car
p
enter
conditions
:
don't parse select statements tw
i
c
e
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-15
Dan Carp
e
n
t
er
db: u
s
e
the load_strings_from_file() helper func
t
i
on
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-15
Dan Carpe
n
te
r
no_
e
ffect
:
s
top
w
arning about w
r
ite_seqcount_begin(
)
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-15
Dan Carp
e
n
t
er
f
i
les: introduce
lo
a
d_
s
tri
n
gs_f
r
om_
f
ile()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-11
Dan
Carpenter
param
_
set/clear:
U
se memset() of struct members
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-10
Dan Car
p
enter
e
xpression
s
: intr
o
duce gen_exp
r
_from_param_key()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-10
Dan
C
arpenter
expressions
:
make gen_express
i
o
n
_from_na
m
e
_
sym() handl
e
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-10
Dan Carpenter
db
/
param_limit/param_used: don't i
n
sert useless address
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-10
D
a
n Carpe
n
ter
extra: use
fake assignments
f
or caller_info
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-08
Dan Carp
e
nter
check_loc
k
ing: delete old states correct
l
y (sort of)
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-08
D
a
n C
a
rpe
n
te
r
locking: re-w
r
ite and fixes
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-03
Dan Carpente
r
extra: take a short cut
in param
_
l
imit_binops
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-03
Dan C
a
r
penter
e
x
t
r
a: fake assignments are
also e
q
uivalent
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-02-03
Dan
C
arp
e
nter
db: fix how &foo->lock states ar
e
inserted into
th
e
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-01-27
Da
n
Carpenter
funct
i
on_hooks/check_u
n
win
d
: add param
_
k
e
y
_
hoo
k
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-01-25
Dan Carpenter
e
xtra: f
i
x
h
ow hard max val
u
es
a
r
e p
r
opagat
e
d
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-01-25
D
an Carpenter
hel
p
e
r
: error
poin
t
ers are gone
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-01-25
D
a
n C
a
rpenter
e
xt
r
a/function_hooks: hand
l
e fak
e
f
u
nction calls
i
n
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-01-25
Dan
Carpen
t
er
extra
:
fix test
f
or tak
e
assignment
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-01-21
D
an C
a
rpente
r
states: fi
x
a use after
free
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-01-21
Dan Carpe
n
ter
Merge
git://git
.
ker
n
el
.
org/pub/scm/devel/sparse/
s
parse
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-01-19
Dan
Carpenter
stat
e
s: fix get_state_e
x
pr()
u
ses of fake_p
a
rent
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-01-19
Dan
C
ar
p
enter
flow: d
o
n't fake a parameter assignment outside of
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-01-18
Dan Carpent
e
r
check_lis
t
: add
a comme
n
t
a
bo
u
t
or
d
ering
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-01-18
Dan Ca
r
penter
kpatch: wh
i
te space cleanup
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-01-18
D
an
C
arpenter
script
s
/tra
c
e_params
.
pl: fix regex
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-01-13
Dan Carpent
e
r
comparison:
c
all simp
l
ify_binops() i
n
ge
t
_comparison_hel
p
er()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-01-13
Dan
Carpenter
c
o
mparison: fix h
o
w ad
d
ress
e
s are ha
n
dled
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-01-13
D
a
n
Carpenter
c
omparison: fi
x
a bug
in get_compar
i
son_helper()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-01-13
Dan
Carp
e
n
ter
con
s
traints_required: igno
r
e
fake assignment
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-01-13
Dan Carpente
r
debu
g
: re-work how de
b
uggi
n
g
i
mp
l
ications works
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-01-13
Dan Carpenter
debu
g
: add __smatch_timer
_
start/stop()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-01-13
Dan Ca
r
penter
flow: add
--time-stm
t
option
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-01-13
D
a
n Ca
r
pent
e
r
debu
g
: a
d
d
_
_sma
t
ch_debug_var
(
)
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-01-13
Dan Carpenter
param_set: a
d
dresses
c
an
'
t be set
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-01-13
Dan Carpe
n
ter
capped: ad
d
resses can'
t
be
c
a
p
ped
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-01-11
Dan Carpenter
para
m
_key: fix w
h
ere
a
s
sig
n
ments are handle
d
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-01-08
Dan Carpent
e
r
debug: change h
o
w __smatch_debug_
c
h
eck(
)
works
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-01-08
Dan Carpenter
param_set: handle NULL a
n
d PO
I
SON as
s
ig
n
m
e
nts bet
t
er
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-01-07
Dan Ca
r
penter
extra: handle canonical for
l
oops with unknown ends
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-01-06
Dan Carpenter
extra/ranges: introduce is_n
o
deref_ptr()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-01-06
Dan Carpenter
p
aram_set: merge
s
ome some co
n
ditio
n
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2021-01-06
Dan Carpente
r
param_set: don't print useless i
n
for
m
ation
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-12-19
D
a
n Carpenter
miss
i
ng_
e
rror
_
code: introduce new
c
hec
k
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-12-19
Dan Car
p
enter
locking: fix r
e
stor
e
in cr
o
ss functio
n
c
ode
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-12-18
Dan Car
p
enter
para
m
_
c
o
m
pa
r
e_limit: don't print impo
s
s
ibl
e
compar
i
sons
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-12-18
Dan
C
arpenter
scripts/kpatch
:
vie
w
the smat
c
h warnings
in the commit
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-12-18
Dan Carpenter
scripts/kpa
t
ch: p
u
t
a commented
o
ut
d
i
f
f into the commit
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-12-18
D
a
n
Carpente
r
scrip
t
s/kpa
t
ch:
c
h
a
nge the git log
f
orm
a
t
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-12-18
Dan Carpe
n
t
er
kpatch: don't hard code my n
a
me
a
s the s-o-by
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-12-17
D
an Carpent
e
r
flow: ex
p
ort
i
s_last
_
s
t
mt() func
t
ion
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-12-16
Dan
Carpenter
modifica
t
ion_hooks:
hand
l
e addresses bet
t
er
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-12-16
Dan Carpenter
par
a
m_key:
a
l
low get_name_
s
y
m_f
r
om_
k
e
y
() to take a
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-12-16
Dan Car
p
e
nter
m
ath: INT_M
A
X is never a hard m
a
x
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-12-16
Dan Car
p
enter
param_key: fix some address ha
n
dling
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-12-16
Dan Carpenter
param_set: fix param_was_set(
)
for addre
s
ses
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-12-16
Dan Carpente
r
para
m
_set: don't r
e
cor
d
so m
u
ch data in
th
e
DB
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-12-16
Dan
C
arpent
e
r
points_t
o
_user_data: Make co
p
y_from_user() se
t
point
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-12-16
Dan Carpen
t
er
states: us
e
the stat
e
f
rom
t
h
e
fak
e
assignment
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-12-16
Dan Carpen
t
er
functi
o
n_hooks: s
e
t imp
l
ied states earlier
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-12-16
Dan Carpenter
dereferences_param: don't
record addresses dereferences
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-12-15
Dan C
a
rpenter
d
eref:
f
i
x i
n
verted tests
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-12-14
D
a
n Car
p
enter
c
he
c
k_deref:
s
ilence false positi
v
es
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-12-14
D
a
n
Carpe
n
te
r
deref: delete all --spammy informat
i
on
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-12-14
D
an Ca
r
pent
e
r
param_to
_
mtag_data: don'
t
r
e
cord fake assignments
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-12-07
Dan Carpenter
read
l
_
infinit
e
_loops:
d
elete this check
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-12-01
Dan Carpent
e
r
implied: f
i
x rev
e
rs
e
d debu
g
o
u
tpu
t
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
next