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
signed: don't warn about u64 comparisons with ULONG_MAX
2020-10-23
Dan Carpenter
signed: don't
w
arn
a
bout u64 compa
r
isons with U
L
O
NG_MA
X
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-10-23
Dan Carpenter
f
l
ow: don't parse inlines again
i
f
th
e
y ta
k
e a
l
o
n
g
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-10-23
Dan Carpenter
param_limit:
move registration before p
a
ram
_
set
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-10-23
Dan Carpenter
state
s
: in
t
r
o
duce has_s
t
ates()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-10-23
Dan
C
arpenter
m
ath: don'
t
u
s
e type_valu
e
fo
r
get_i
m
pli
e
d_rl
(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-10-23
Dan
Carpenter
leak
s
:
small white space cl
e
anup
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-10-23
Dan
C
arpen
t
e
r
math:
r
em
o
v
e
a stray space c
h
ar
a
cter
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-10-23
Dan Ca
r
penter
param_limit/f
i
lter/set: u
s
e param_key
code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-10-23
Dan
C
ar
p
e
n
t
er
param_key: export som
e
function
s
a
n
d introduce map_to_param()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-10-23
Dan Carpe
n
ter
smatc
h
: save
l
ess stuf
f
, run faster
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-10-23
Dan
C
arpent
e
r
typ
e
_val: speed up type_val
c
a
che
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-10-23
Dan Carpenter
fl
o
w:
clear out fa
k
e assignments after they're no
t
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-10-23
Dan Carpenter
m
ath: store
all
c
o
nst
a
n
t
EXP
R
_BI
N
O
P r
e
sul
t
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-10-15
Dan Ca
r
penter
db: han
d
le extern
i
nl
i
n
e
functio
n
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-10-14
Dan Carpenter
d
eref: avoid
t
h
e big_
s
tatement_stack
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-10-14
D
an Carpe
n
ter
para
m
_used: alway
s
assume
"$
"
a
n
d "*$" are used
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-10-13
D
an Car
p
enter
smatch: a
d
d
a
[smatch
.
check_name] to the output with
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-30
Dan Carpente
r
sm
a
tc
h
_script
s
/new_bugs
.
pl: t
o
tal re-wri
t
e of the
s
c
r
ipt
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-30
Dan Carpente
r
db/
c
reate_db:
don't u
s
e corr
u
pted
D
B
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-29
Dan Ca
r
pente
r
param_limi
t
:
u
s
e the
s
h
ared copy o
f
start s
t
ates
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-29
Dan Carpenter
param_filter: delete u
n
use
d
c
o
de
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-28
Dan Carpenter
flow: fak
e
a pa
r
ameter assig
n
ment f
o
r literals
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-25
Dan Carp
e
nter
pa
r
am_
k
ey: remo
v
e bogus consts
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-25
D
a
n Carpe
n
ter
param_key: don'
t
ex
p
ort st
a
t
e_
n
ame_to_param_na
m
e(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-25
Da
n
Carpente
r
capped: c
o
nvert retur
n
info
t
o modern code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-25
D
a
n Car
p
enter
ass
i
gned_expr: c
l
ean up old ancient code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-25
Dan Carpent
e
r
lock
i
ng: fix compile (broke
n
b
y add_fu
n
ction_data())
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-25
Dan
C
a
r
p
e
n
ter
capped: change
ho
w
b
i
no
p
s ar
e
handle
d
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-25
D
an
Carpenter
ca
p
ped: change
+
=
a
s
signments
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-25
D
a
n
C
a
r
pente
r
kernel: add
support
for array_size()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-25
Dan Carpente
r
kerne
l
:
fix implied_
e
r
r
_
ca
s
t_retur
n
() return
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-25
Dan
Carpen
t
er
frees_param_st
r
ict:
u
s
e get_param_
k
ey_
f
r
om_sm()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-25
D
an Carpenter
atomic_inc_dec:
a
dd
s
ome mo
r
e in
c
_dec functions
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-25
D
an Carp
e
nter
im
p
l
i
ed:
add
a comment in possibl
e
_
fa
l
se_
h
elper()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-25
Dan Car
p
e
n
ter
param_
k
ey: use get_name_sym_from_key() in
s
tead o
f
return_sta
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-25
D
a
n Carpenter
f
low:
Use a
d
d_function_dat
a
() to c
l
ean up t
h
e c
o
de
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-25
Dan Ca
r
penter
db/param_
k
ey: m
o
ve s
o
m
e
key related functio
n
s from
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-22
Dan Carpent
e
r
un
w
i
nd: add some
more fu
n
c
t
ions that need
to be freed
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-22
Da
n
Carpenter
math: improve
A
ND handl
i
ng
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-22
D
an
Carpenter
function_pt
r
s
:
don
'
t store nonsens
e
fake pointers
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-22
Dan Carpenter
u
n
w
ind
:
handle freein
g
in
o
ther function
s
better
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-22
Dan Carpent
e
r
f
l
ow: introduce funct
i
on data
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-22
D
a
n Carpenter
par
a
m_key: preserve paramete
r
assignments
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-16
Da
n
Carpe
n
ter
check_unwind: remo
v
e request_re
s
ource()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-16
Da
n
Ca
r
p
enter
db: fix
db_in
c
o
mplete
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-16
D
an
C
arpenter
u
n
w
in
d
: fix a spelling mis
t
ak
e
"ballance" -->
"
balan
c
e
"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-16
Dan Carpen
t
er
db: record if
the DB
is missing information
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-16
Dan
Carpente
r
unwind: fix request
_
resource()
c
h
eckin
g
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-16
D
a
n Carpenter
d
b
:
s
p
l
it ranged implication
h
oo
k
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-15
D
an Carpenter
p
ara
m
_ke
y
:
i
ntroduce get_na
m
e_sym_from_key()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-15
Dan Carpenter
ranges: add is_err_or_
n
u
ll()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-15
Dan Carp
e
nter
unwin
d
: r
e
-
write the check
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-15
Dan Carp
e
n
t
er
para
m
_
k
ey:
move f
u
n
c
tions to new file
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-11
Dan Carpe
n
ter
he
l
per: in
t
roduce
g
et_param_ke
y
_from_var_sym()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-11
Dan Carpenter
ret
u
rn_to_pa
r
am: dele
t
e debug code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-11
Dan
Ca
r
penter
return_t
o
_
param:
F
ix retu
r
ned function parsing
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-10
Dan C
a
rpe
n
t
er
f
u
nction_hooks:
c
heck the r
e
turn from t
h
e impl
i
ed_return_hooks
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-10
Dan
C
a
r
penter
functi
o
n_hooks: rename a vari
a
ble
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-04
Dan
C
arpenter
db/kern
e
l
.
i
n
sert: the device_add() function se
t
s th
e
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-04
Dan Carpenter
db/kerne
l
.
inser
t
: Insert some
v
malloc() limi
t
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-01
Dan Carpenter
validation: update locking
t
ests
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-01
Dan Carp
e
nter
Merge gi
t
:
//git
.
kernel
.
org/pub
/
s
cm/dev
e
l/spa
r
se
/
spar
s
e
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-01
Dan Carpenter
helper: export get_param
_
key_from_
s
m
(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-01
Dan Carpen
t
er
loc
k
ing: t
u
rn off locking check for non-
S
MP configs
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-08-14
D
an Carpenter
f
ree_stric
t
/fr
e
es_param: re
-
w
r
ite these checks a b
i
t
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-08-14
Dan Carpenter
f
ree:
fi
x
parsing of paren
t
_is_f
r
ee
_
v
a
r_sym()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-08-14
Dan Ca
r
penter
buf_size: add support fo
r
k
vcalloc()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-08-14
Dan Ca
r
penter
buf_s
i
ze: impro
v
e su
p
port for variable size arrays
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-08-14
Dan C
a
rpe
n
t
er
buf_siz
e
: imp
r
ove
support
for zero size arra
y
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-08-13
Dan Carpenter
c
apped: move binop handling i
n
to a separat
e
funct
i
on
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-08-13
Dan C
a
rpenter
cappe
d
: hard
m
ax
does
not mean cappe
d
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-08-11
Dan
Carpenter
db/sm
d
b
:
port it to py
t
hon3
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-08-11
Dan C
a
r
p
enter
db/
s
mdb: a
d
d USER
_
PTR
types
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-08-06
D
a
n Carpenter
e
q
uiv: dele
t
e
unu
s
ed
r
e
m
ove_from_equiv_expr() fu
n
ction
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-08-05
Da
n
Carpenter
u
se
r
_d
a
ta: cl
e
an up matc
h
_
a
ssig
n
()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-08-05
Dan Carpenter
user_data:
m
ark array_index
_
mask_nos
p
ec as ca
p
p
e
d
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-08-05
Dan Carpenter
poi
n
ts_
t
o_user_da
t
a: reset t
h
e
state t
o
n
o
t user data
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-08-05
Dan
C
arpe
n
ter
d
b
:
don't
stor
e
unreach
a
bl
e
calls
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-08-05
Dan
C
arpenter
dereferenc
e
s
_
param: ma
r
k more parame
t
ers
a
s deref
e
renced
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-08-05
Dan C
a
rpenter
math: array parameters can be NULL
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-08-03
D
a
n
Carpent
e
r
p
o
int
s
_
t
o_use
r
_
data
:
F
i
x a segfault parsin
g
k
ern
e
l
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-07-21
D
an Carpe
n
ter
atomic_in
c
_dec: crea
t
e a new in
c
_dec ta
b
le
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-07-14
D
a
n
C
arpenter
use
r
_da
t
a/po
i
nts_to_user
_
data: re-write user tra
c
k
ing
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-07-14
Dan Ca
r
penter
flow: fix
c
ertain inline funct
i
ons
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-07-14
Dan Carpenter
d
b
: create fa
k
e
assignments for calls
a
nd returns
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-07-14
Dan
Ca
r
pe
n
ter
kernel: improv
e
handli
n
g of kernel parameters
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-07-14
D
an Carpent
e
r
ker
n
e
l
: improve h
a
n
d
l
i
ng for
I
S
_
E
RR()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-07-14
Dan Ca
r
p
enter
us
e
r_data
:
update a
c
omment
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-07-14
Dan Carpe
n
t
e
r
math
:
fix
a
compile issue
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-07-14
Dan
Carpenter
m
ath: assu
m
e pointer ad
d
itions
d
o
n'
t
overflow
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-07-14
Da
n
C
arpenter
b
u
f_size: fake
function assigns are alw
a
ys
unknown
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-07-14
Dan Carpent
e
r
mat
h
: ad
d
support for
__builtin_ffs(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-07-14
D
an Carpenter
alloca
t
i
n
g
_eno
u
gh_
d
ata: silence cont
a
iner_of()
f
a
lse
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-07-14
Dan Carpente
r
Merge gi
t
:
//git
.
kernel
.
org/pub/scm/devel/sp
a
rse/sp
a
rse
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-06-19
Dan Carpenter
type:
mark
foo
.
bar
.
baz a
s
a
local variable
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-06-18
Dan Carpent
e
r
extra: mtag: don
'
t st
o
re un
k
no
w
n
sta
t
es
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-06-08
Dan Carpenter
db: F
i
x buffer overflow i
n
state
_
name_to_pa
r
am_name
(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-26
Dan Car
p
enter
atomic_inc_dec: rem
o
ve an un
u
se
d
parameter
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-26
Dan Car
p
e
n
t
e
r
a
t
omic
_
inc_dec: don'
t
w
a
rn about
impo
s
sible pat
h
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-26
Dan Carpenter
atomic_inc_dec: ignore local static varia
b
les
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
next