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: fix some error pointer handling
2020-11-19
Dan Carpente
r
e
xtra:
fix some error p
o
inter handling
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-11-19
Dan
Ca
r
penter
extra: don't save needless DB records
when we return
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-11-19
D
an
C
arpenter
extra: i
n
troduce parent_is_error_or_null_var_sym()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-11-19
D
a
n Carpenter
fu
n
ction_ho
o
ks
/
unwind: introd
u
c
e
return_
i
mplies
_
exact()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-11-19
Dan Carpenter
u
nwind: simpli
f
y
t
h
e
way retu
r
n
s
are categorized
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-11-19
D
a
n Carpenter
unwind: co
m
mit missing parts
f
r
om the
ignor
e
path
patc
h
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-11-19
Dan Car
p
e
nter
unwind: path
s
where t
h
e parent is gone are counted
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-11-19
Dan Carpenter
u
n
wind: ignor
e
paths were devm_add_action_o
r
_
r
eset
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-11-19
Da
n
C
arpenter
u
n
wind: remove p
c
i
_iomap() functions
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-11-19
Dan Carpenter
annotate: fix ho
w
snprint
f
() i
s
handled
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-11-19
Dan Car
p
en
t
e
r
assigned_expr
:
intro
d
uce get_assigned_expr_r
e
cur
s
e()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-11-19
D
an C
a
r
p
en
t
er
comparison: don't st
o
re pointl
e
s
s fake a
s
signments
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-11-19
D
a
n C
a
rpenter
c
omparison: remove any "+- 0" operations
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-11-17
Da
n
Carpenter
extra: ch
e
ck the original state
f
irst for fake parameter
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-11-17
D
a
n C
a
rpent
e
r
flow
:
do
a fake cast f
o
r
A
RRAYS
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-11-17
Dan Carpenter
para
m
_set: handl
e
c
e
rtain struct assig
n
ments
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-11-17
D
an Carpenter
db:
on
l
y do t
h
e
r
eturn_info stu
f
f if
i
t's going to
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-11-17
Dan Ca
r
penter
param_used: ignore some sta
t
e
s
u
sed to
f
i
ll th
e
DB
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-11-17
Dan C
a
rpen
t
e
r
use
r
_data:
d
e
lete debug code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-11-13
Da
n
Carpenter
lo
c
king: save held loc
k
s in calle
r
_
i
n
fo tabl
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-11-12
Dan Carpen
t
er
db
/
inser
t
_manual_states: don't in
s
ert duplicate
stat
e
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-11-12
Dan Carp
e
nter
d
b
/insert_ma
n
ual
_
stat
e
s: preserve the call_id
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-11-10
D
a
n
Carpenter
p
ar
s
e_call_
m
ath: fix a segfault
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-11-02
Dan
C
arpenter
b
uf_size: fix what caller_info to pass and what
i
s
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-11-02
Dan
C
arpent
e
r
d
b/smd
b
: improve
h
ow se
a
rching for function pointer
s
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-11-02
Dan Carpenter
db:
d
on't call
c
a
l
l
_info ca
l
l ba
c
ks unl
e
ss
it
i
s
an
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-11-02
Dan Carpenter
extra: do a small clea
n
up
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-11-02
Dan Carpenter
functio
n
_hooks
:
add helpers
to
r
e
g
ister all th
e
func
t
ions
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-11-02
Dan
Carpenter
modifica
t
ion
_
ho
o
ks: potential speed u
p
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-11-02
Dan Carp
e
nter
kernel,math: han
d
le the __ffs() function
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-11-02
D
a
n Carpenter
kernel
:
ignore more mu
t
ex intern
a
ls
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-11-02
Dan Carpenter
k
e
rnel: don't
p
ar
s
e TRACE_EVENT
(
)
f
u
nctions
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-11-02
Dan Carpenter
p
a
ra
m
_key: fix an ord
e
ring b
u
g
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-11-02
Dan
Carpenter
param_key: enab
l
e f
o
r non-kernel proje
c
ts
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-10-28
Dan Carpe
n
ter
modification
_
hooks: speed
u
p
ca
l
ling m
o
difica
t
ion hooks
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-10-23
Dan Ca
r
penter
sign
e
d: don't warn about u64
compariso
n
s
with ULONG
_
MAX
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-10-23
D
a
n Carpenter
f
l
ow: don't
p
a
r
s
e
inlines aga
i
n if they
t
ake a
l
o
ng
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-10-23
Dan Ca
r
pe
n
te
r
p
aram_limit
:
move r
e
gi
s
trat
i
on before par
a
m_set
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-10-23
Dan Carp
e
n
t
er
states: int
r
oduce
h
as_states(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-10-23
Dan
C
arpenter
math: don
'
t
use
t
ype_value
fo
r
get_imp
l
ied_
r
l()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-10-23
Dan Car
p
ent
e
r
leaks: small
w
hite space clean
u
p
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-10-23
Da
n
Carp
e
nter
math: remove
a
s
t
ray space characte
r
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-10-23
Dan Carpenter
param_limit/f
i
lter/set: use param_key
code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-10-23
Dan Ca
r
penter
param_key
:
exp
o
rt some fu
n
cti
o
ns and intr
o
d
uce map_t
o
_
p
aram()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-10-23
Dan Car
p
ent
e
r
smatch: save less stuff,
run faster
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-10-23
D
a
n Carpenter
t
ype_val: speed up type_val cache
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-10-23
Dan Carpente
r
flow: clear
o
u
t
f
ake assignments af
t
er they're not
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-10-23
Dan Carpen
t
er
math
:
store all constant EXPR_BINOP results
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-10-15
Dan Carp
e
n
t
e
r
db:
han
d
le exter
n
inline functi
o
ns
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-10-14
Dan Carpen
t
e
r
d
e
r
e
f:
avoid the big_statement_
s
tack
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-10-14
Dan Carpenter
param_used: always assume "$" and "*$
"
are use
d
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-10-13
D
a
n
C
arp
e
nter
smatch
:
a
dd
a [smatch
.
check_na
m
e] to the output
w
it
h
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-30
Dan Carpenter
smatch_scripts/new_bugs
.
pl: to
t
al re-write
o
f
t
he
script
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-30
Dan
Carpenter
d
b
/
create_db: don't use corru
p
ted D
B
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-29
D
an Car
p
enter
p
a
r
a
m_limit:
u
se
t
h
e shared copy of st
a
rt
s
tates
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-29
Dan C
a
rpenter
p
a
r
am_fil
t
er:
de
l
ete unused co
d
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-28
Dan
Carpent
e
r
f
l
ow
:
fake a para
m
eter a
s
sig
n
ment
f
or
literals
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-25
Dan C
a
rpenter
pa
r
am_key
:
remove bogus
c
onsts
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-25
Da
n
Carpenter
p
a
ram_key:
d
on't export stat
e
_name_to_param_name()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-25
Da
n
Carpenter
capped:
convert retur
n
info to modern co
d
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-25
Dan Carpenter
assigned_expr:
c
l
ean up old ancient code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-25
D
a
n
C
arpenter
locki
n
g: fix com
p
ile (broken by
a
dd
_
functio
n
_
d
at
a
())
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-25
Dan Carpenter
capped: change
h
ow binops are handled
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-25
Dan
Carpenter
capped: c
h
ange += assignmen
t
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-25
Dan C
a
rpenter
kern
e
l:
a
dd suppor
t
for array_size()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-25
Dan C
a
rpenter
kernel
:
fix
i
mplied_err
_
ca
s
t_return()
return
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-25
Dan
Carpenter
frees_para
m
_
s
t
rict
:
use get_param_k
e
y_from_sm()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-25
Da
n
Carp
e
n
ter
a
tomic_inc
_
de
c
: ad
d
som
e
more inc_dec f
u
nc
t
ions
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-25
Dan Ca
r
pent
e
r
implied: add a comment in
p
o
ssi
b
le_false_helper
(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-25
Dan Ca
r
penter
p
a
r
am
_
key: use get_name_s
y
m_from_key() instead of return_sta
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-25
Dan Ca
r
penter
f
l
ow
:
Use add_funct
i
o
n
_
d
ata(
)
to clean up
t
he code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-25
Dan C
a
rpe
n
ter
db/
p
ara
m
_key: move some key relate
d
functions
fro
m
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-22
Dan C
a
r
p
enter
unwind: add some more functions
that need to be
freed
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-22
Dan
Carpenter
math
:
improve AND h
a
ndl
i
n
g
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-22
Dan Carpen
t
er
fu
n
ction
_
ptrs: don't store no
n
se
n
se fake pointers
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-22
Dan Carpent
e
r
unw
i
nd
:
handle free
i
ng in other functions better
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-22
Da
n
Car
p
enter
f
l
o
w
: i
n
troduc
e
funct
i
on data
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-22
Dan Carpen
t
er
par
a
m_key: preserve p
a
ramet
e
r a
s
signments
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-16
Dan
Carpe
n
t
er
c
h
eck
_
unw
i
n
d
: remove req
u
est_resource()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-16
Dan Carpente
r
d
b: fi
x
db_incomplete
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-16
Dan C
a
rpenter
unwind: fix a spell
i
n
g mistake "ballance" --> "balance"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-16
Dan Carpen
t
er
db: re
c
ord i
f
the DB is missing information
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-16
Dan Carpenter
unwind: fi
x
reque
s
t_res
o
urce
(
) c
h
ecking
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-16
Dan Car
p
e
n
t
er
db: s
p
l
i
t ranged
implicatio
n
hoo
k
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-15
Dan C
a
rpenter
param_
k
ey: i
n
t
r
oduce get_name_sym_from_key(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-15
D
a
n C
a
rpenter
r
a
nges: add is_
e
rr_or
_
null()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-15
Dan Carpenter
unwi
n
d: re-write the ch
e
ck
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-15
Dan Car
p
enter
param_key
:
move functions to n
e
w
file
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-11
D
an Ca
r
p
e
nter
he
l
pe
r
: intro
d
uce g
e
t_pa
r
am_
k
ey_from_var_s
y
m
(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-11
Dan Carpente
r
re
t
urn_to_pa
r
am: delete debug code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-11
Dan Ca
r
penter
return_
t
o_pa
r
a
m
: Fix returned function p
a
rsing
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-10
Dan
Carp
e
nter
f
un
c
tio
n
_hooks:
ch
e
c
k
the return from the imp
l
ied_return_hooks
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-10
Dan Carpenter
function_hooks:
r
en
a
me a variable
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-04
Dan Carpenter
db/ker
n
el
.
insert: the d
e
vice_add() f
u
nction sets the
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-04
Dan Carpenter
db/kern
e
l
.
insert: Insert some vmall
o
c() limits
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-01
Dan C
a
rpe
n
ter
vali
d
ation:
u
pdate lock
i
ng tests
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-01
Dan Carpenter
Merge git://git
.
kern
e
l
.
or
g
/pub/scm/devel/sp
a
rse/s
p
arse
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-01
Dan Carpenter
helpe
r
: export get_param_key_from_sm()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-09-01
Dan
C
ar
p
enter
lock
i
ng: turn off l
o
ckin
g
check for non-SMP configs
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-08-14
Dan Ca
r
p
enter
free_strict/frees_param: re-
w
r
i
t
e th
e
s
e
che
c
ks a bi
t
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
next