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
db/smdb: add USER_PTR types
2020-08-11
Dan Carpent
e
r
db/s
m
db: add US
E
R_PTR
ty
p
es
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-08-06
Dan Carpenter
equiv: delete unu
s
ed remove_f
r
om_equiv_expr() f
u
nct
i
on
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-08-05
D
an Carpenter
u
ser
_
data
:
clean up match_assign()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-08-05
Dan Ca
r
penter
user_data:
m
ar
k
arr
a
y_index_mask_nospec as
ca
p
ped
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-08-05
Dan Carp
e
nter
po
i
n
t
s_to_user_data: rese
t
the state to n
o
t us
e
r data
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-08-05
Dan
Carpenter
db: don't sto
r
e unreachab
l
e
c
alls
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-08-05
D
a
n Carpenter
dereferences_param: mark more par
a
meters as der
e
ference
d
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-08-05
Dan Carpenter
m
a
th
:
a
r
ray parameters can be
N
ULL
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-08-03
Da
n
Ca
r
p
e
nter
p
oints_
t
o_user_data: Fix
a
segfault parsin
g
k
e
rnel
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-07-21
Dan C
a
r
p
e
nter
atomic_inc_dec: create a new inc_dec table
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-07-14
Dan Carpenter
user_data/points_
t
o_user_data: re-wri
t
e user tracking
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-07-14
Dan Carp
e
nter
flow:
fix certain inline
f
unctions
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-07-14
D
a
n Carpente
r
db: create fake assign
m
ents
f
or cal
l
s
and returns
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-07-14
Dan Carpente
r
kernel:
improve handling of kern
e
l parameters
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-07-14
Dan Car
p
ent
e
r
k
e
rnel: impr
o
ve handling for
IS_ERR()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-07-14
D
a
n
Carpenter
user
_
data:
upda
t
e a comment
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-07-14
D
a
n Carpenter
math: fix a
c
omp
i
le is
s
ue
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-07-14
D
a
n Ca
r
penter
m
a
th: ass
u
me pointer additions
don't ov
e
rflow
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-07-14
Dan
Ca
r
pente
r
bu
f
_size: fake f
u
nction
a
ssigns are
alwa
y
s
unknown
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-07-14
Dan Carpenter
m
ath
:
add support
fo
r
__bu
i
l
tin_ffs()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-07-14
Da
n
Car
p
enter
allocating_enough
_
data: sil
e
nce container
_
of(
)
false
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-07-14
Dan Carpenter
Merg
e
git://git
.
kernel
.
org/pub/scm/devel/spa
r
se/sparse
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-06-19
Dan Carpent
e
r
type: mark
foo
.
bar
.
baz as
a local var
i
able
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-06-18
D
a
n
C
arpenter
e
x
t
ra: mtag: don't
s
t
ore un
k
n
o
wn sta
t
e
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-06-08
Dan Carpenter
db:
Fix
b
uffer overf
l
ow in sta
t
e_name
_
to_param_n
a
me()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-26
Dan Carpenter
a
tomi
c
_inc_dec: remove an unuse
d
p
arameter
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-26
Dan Carpenter
atomic_inc_dec: don't warn abo
u
t impossible paths
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-26
Dan Ca
r
p
e
nter
atomic_
i
nc_de
c
:
ignore local static va
r
iabl
e
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-26
Dan Carpe
n
t
er
atomic_inc_dec: unknow
n
v
a
l
ues are not fai
l
u
r
es
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-26
D
a
n
Ca
r
penter
atom
i
c
_
inc_d
e
c:
d
on't
record in
c
rement/d
e
crement if
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-26
Dan Carpenter
atomic_inc_de
c
: record
p
otent
i
al de
c
rements
a
s a
d
ecremen
t
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-26
D
an Ca
r
pent
e
r
atomi
c
_inc_de
c
: don't store inf
o
r
m
ati
o
n
in impossib
l
e
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-26
Dan Ca
r
penter
a
tomic_inc_dec: add
m
ore
functions
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-26
Da
n
C
arpenter
atomic_inc_dec:
don't double set states to &
i
nc/&d
e
c
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-26
Dan
Carpe
n
te
r
atomic_i
n
c_dec: chan
g
e
h
ow unmatched state
s
are handled
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-26
Dan Carpenter
a
t
o
m
ic_inc_dec: rena
m
e "or
i
g" to "start_state"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-20
Dan Carpent
e
r
k
ernel_printf: pr
i
nt err
o
r poi
n
t
e
rs
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-20
Dan Car
p
ente
r
k
e
rnel_p
r
i
ntf: add s
u
pport for
%
ls
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-20
D
an Car
p
enter
kernel_prin
t
f:
add _GNU_S
O
URCE define
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-19
Dan Carpenter
Documen
t
ation
/
smatch
:
a
d
d a refe
r
e
nce to the mail
i
ng
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-12
Da
n
Carpente
r
b
u
f
_
s
ize
:
ignore certai
n
assignments
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-11
Dan
Carpenter
atomic_inc_dec: fix compile
e
v
en har
d
er
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-11
Dan Carpenter
db: split possible
s
tat
e
s
e
ve
n
when
they're
e
qua
l
t
o
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-07
Dan Carpenter
smatch: fix
t
h
e compil
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-07
Dan
C
arpenter
sh
i
ft_to_zero: be even more conservative (avoid fa
l
se
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
Dan C
a
rpenter
debug: add more debug inf
o
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
Dan
C
ar
p
ent
e
r
db: don't both
e
r with
unkno
w
n size
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
Dan Carpenter
buf_size: update som
e
k
e
rn
e
l fun
c
ti
o
n
s:
v
zalloc(
)
and
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
D
a
n
Carpenter
bits
:
Fix handling of |= and &=
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
Dan Car
p
e
nter
bits: mo
v
e is_loop_iter
a
t
o
r(
)
e
arlier
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
Dan Carpenter
kernel:
preserve the
s
m state when handling IS_
E
RR()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
Dan Ca
r
pente
r
ke
r
nel: fix a ty
p
e bug handling err_cast(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
D
an C
a
rpenter
ker
n
e
l
:
add su
p
port for closure_call()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan Carpenter
buf_size: check poi
n
ter siz
e
earlier
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan Car
p
ent
e
r
b
uf_siz
e
: fix handling of
unknown flexible array s
i
zes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan Carpenter
buf
_
size
:
ignore zero re
t
urn
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan Carpenter
ex
t
r
a: fix compile
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan Carpenter
extra: d
e
lete some dead co
d
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
D
a
n
C
arpenter
build_kernel_dat
a
.
sh: print a message after t
h
e k
e
rnel
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan Carp
e
nter
d
b
/kernel
.
r
eturn_fixes
:
ww_m
u
tex_lock() can't
r
eturn
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
D
an Carpent
e
r
capp
e
d: handle
&
an
d
% slight
l
y
diffe
r
ent
l
y
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
d
b/r
e
turn_state
s
: fix call_id typ
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan
Ca
r
pen
t
er
db/c
r
eate_db
.
sh: s
i
lenc
e
w
a
rning when -p
option isn
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpente
r
mark_function_p
t
rs_s
e
arc
h
able: mark more functions
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
D
an Carp
e
nter
container_of: fix importing the mtag data
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
D
a
n Carpen
t
er
es
t
a
t
e: check
ha
r
d max in est
a
t
e
s_equiv(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
esta
t
e: add a ->new
f
l
a
g to
tr
a
ck new st
a
tes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
helpe
r
: export
get_array_
e
xpr
e
s
s
ion
(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Da
n
C
arpente
r
i
mplied:
fix parsing
f
o
r PARAM_LIMIT
impl
i
cations
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
im
p
lied: n
o
n-m
e
rged states have n
o
im
p
lications
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan C
a
rpenter
type: improve get_member_type_from_k
e
y()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpen
t
er
type_val: ign
o
re "idr_find"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
implied: t
u
r
n o
n
d
e
b
u
g
_implied when reg
u
lar d
e
bug
i
s
se
t
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carp
e
nter
err
_
ptr: delete dead cod
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carp
e
n
ter
s
t
ruct_
a
ssign
m
e
nt:
strip pare
n
thes
e
s
right
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Da
n
Carpen
t
er
a
t
omic_inc_d
e
c
: push l
a
t
est code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-04-07
Dan
C
arpenter
real_absolute
:
update r
e
al
a
bsolute
f
o
r
faked fresh
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Da
n
Carpe
n
ter
t
y
pe: create
type_fits() f
u
nctio
n
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan C
a
rpen
t
er
db/
k
ernel
.
r
eturn_fixes:
m
isc update
s
(locking m
o
stly
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan C
a
rpenter
states: add a way to wat
c
h other checks set state
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
D
a
n Carpenter
d
e
bug: print a special warning for user_rl with
o
ut
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan Carpenter
fres
h
_alloc
:
some
t
hings are not
f
resh
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan
Carpenter
he
l
per
:
don't c
a
che Tm
p
e
x
pre
s
sions
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
D
a
n Ca
r
penter
expressions: Rename
"Fake" t
o
"T
m
p
"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
D
a
n Carp
e
nter
math: functions
can return
f
u
zzy range lists
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan C
a
rpenter
ret
u
rn_to_param: remove
u
nu
s
ed declaration
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan Carpen
t
er
script
s
/
s
ummar
i
ze_errs
.
sh: white spa
c
e fixes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan Carpenter
t
o
keniz
e
: export alloc_
i
dent()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan C
a
rpenter
al
l
ocating_enou
g
h_dat
a
:
c
lar
i
fy err
o
r messa
g
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Car
p
enter
struct_assignment: Fix (*$)->foo handli
n
g
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan C
a
r
p
en
t
er
va
l
i
dation: up
d
ate imp
o
s
sible tests
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Da
n
Carp
e
n
t
e
r
shift_
t
o
_
ze
r
o
: silence som
e
false positives
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Da
n
Carpen
t
er
mtag: don't doubl
e
recor
d
mtag dat
a
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpente
r
s
mdb
:
add some more types
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpenter
slist: add some debug code to warn ab
o
ut m
i
ssing set_dynamic
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpenter
helper:
remov
e
no_parens parameter
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Car
p
enter
implied/comparison: delete unknown i
m
plications
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpenter
helper: return more
s
pe
c
ific err
o
r
c
ode
s
in get_param_num_fr
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpenter
function_h
o
oks/mt
a
g
:
set
m
tag retu
r
ns
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan
Ca
r
pen
t
er
help
e
r: small white
s
pace cleanup
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
next