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
D
a
n Carpenter
db
/
smdb: add USER_PTR
t
y
p
e
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-08-06
Dan
Carpenter
equiv: dele
t
e unused remove_
f
rom_equ
i
v_expr() f
u
nction
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-08-05
Dan Carpe
n
te
r
user
_
data:
clean up match_a
s
sign()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-08-05
Dan Carpenter
user_d
a
ta: m
a
rk arra
y
_
index
_
m
ask_no
s
pec as capped
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-08-05
D
an Carpenter
poi
n
ts_to_
u
ser_data: reset the state to not user
d
a
ta
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-08-05
Dan Carpenter
db: don'
t
sto
r
e unreachable calls
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-08-05
Dan Carpenter
dereferences_par
a
m: mark more pa
r
am
e
ters as deref
e
renced
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-08-05
Dan Carpenter
math: array paramete
r
s can be NU
L
L
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-08-03
Da
n
Carpen
t
er
points_to_us
e
r
_
d
ata
:
Fix
a
s
egfaul
t
parsing ke
r
nel
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-07-21
Dan Car
p
enter
atomic_inc_dec: create a new
i
nc_dec tabl
e
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-07-14
Dan C
a
rpenter
use
r
_data/poi
n
t
s_to
_
user_data: re-wri
t
e user tr
a
cki
n
g
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-07-14
Dan
C
arpenter
flow
:
f
i
x certain inline functions
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-07-14
Dan Car
p
ent
e
r
d
b
: create fake assi
g
nments
f
or calls an
d
r
eturns
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-07-14
Dan Ca
r
p
e
nte
r
kernel: i
m
prove handling of kernel parameters
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-07-14
D
an Car
p
enter
kernel: im
p
rove handlin
g
for IS_ERR()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-07-14
Dan C
a
rpenter
user_d
a
ta:
u
pda
t
e a co
m
ment
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-07-14
Dan
Carpe
n
ter
math: fix a compile is
s
ue
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-07-14
Dan Car
p
enter
math:
a
ssume poi
n
ter
additions
d
on't overflow
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-07-14
D
an Carpenter
buf_
s
ize: fake function assigns
ar
e
a
lways unknown
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-07-14
Dan Car
p
enter
math: add support for __bu
i
ltin_ffs()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-07-14
Dan Carpenter
alloc
a
ting_enou
g
h_data: silence containe
r
_of
(
) f
a
l
se
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-07-14
Dan Carpenter
Merg
e
git://git
.
k
ernel
.
o
r
g/
p
ub/s
c
m
/
d
evel/spa
r
se/
s
pars
e
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-06-19
Dan Carpente
r
ty
p
e: mark foo
.
bar
.
baz as a local variable
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-06-18
D
a
n Ca
r
p
e
nter
extra: mtag
:
don't
store unkno
w
n s
t
ate
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-06-08
Dan Carpenter
db:
F
ix buffer over
f
low in state_na
m
e_to_param_nam
e
()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-26
Da
n
Carp
e
nter
atomic
_
inc_de
c
: remove
a
n unused
p
a
rameter
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-26
Dan
C
arpen
t
er
atom
i
c_inc_dec:
d
o
n
't
w
a
r
n about im
p
o
s
sible p
a
ths
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-26
Dan Carpente
r
atomic
_
i
nc_dec:
i
gnore local
static variab
l
e
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-26
Dan Carpenter
atomic_inc
_
dec: unknown values are not failures
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-26
Dan
C
arpenter
atomic
_
inc_
d
ec: don't record
i
n
c
rement/decrement if
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-26
Dan Carpent
e
r
atomic_inc_
d
ec: record potent
i
al decrem
e
nts a
s
a dec
r
ement
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-26
D
a
n
Ca
r
pente
r
atomic_inc_dec: don't sto
r
e inf
o
r
m
ation in impossib
l
e
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-26
Dan Carpe
n
ter
atomic_in
c
_dec: a
d
d more functions
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-26
Da
n
Ca
r
pente
r
atomic_
i
nc_
d
e
c: don't doub
l
e set states to &inc/&dec
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-26
Dan Carpenter
atomic_inc_dec: ch
a
n
g
e how unmatched states
a
re
h
andled
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-26
Dan Carpenter
a
tomic_inc_
d
ec: rename "orig" to "start_state
"
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-20
Dan Carp
e
nter
kernel_printf: print error pointers
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-20
Dan
C
arpenter
kern
e
l_printf
:
add support fo
r
%ls
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-20
D
a
n Ca
r
penter
k
ernel_p
r
intf: add
_
G
NU_S
O
UR
C
E define
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-19
Dan Carpe
n
t
e
r
Docu
m
e
n
tatio
n
/smatch: add a re
f
eren
c
e to t
h
e mailing
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-12
Da
n
Carpenter
buf_siz
e
:
i
g
nore
cert
a
in assign
m
ents
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-11
D
an Car
p
e
nter
atomic_inc_dec: fix compile eve
n
h
arder
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-11
Da
n
C
arpent
e
r
db: split possible states even wh
e
n t
h
ey'r
e
eq
u
al to
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-07
Dan Carpen
t
er
smat
c
h:
fix the compile
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-07
Da
n
Carp
e
nt
e
r
sh
i
f
t
_to_zero: b
e
e
v
en more conserv
a
t
ive (avo
i
d
false
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-06
Dan Car
p
enter
deb
u
g: add more d
e
bug
info
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-06
Dan
C
arpenter
db
:
don't bother with unknown sizes
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-06
Dan Ca
r
p
enter
buf_size:
u
pdate s
o
m
e
k
e
rnel
f
u
nctio
n
s: vzal
l
o
c() and
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-06
Da
n
Carp
e
nter
bits: Fix
h
a
nd
l
ing
of |= a
n
d
&
=
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-06
D
an Carpenter
bits:
m
ove is_loop_iterator() e
a
rlie
r
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-06
Dan Carpe
n
ter
kernel: pre
s
erve the sm stat
e
when handling IS_ERR()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-06
Dan Carpenter
kernel: fix a ty
p
e
bug
handling err_cast(
)
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-06
Dan Carpen
t
er
kernel: add support fo
r
closure_
c
all()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-05
Dan
C
arpenter
b
uf_s
i
ze
:
check poin
t
er siz
e
e
arlier
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-05
Dan Carpenter
buf
_
si
z
e: fix han
d
lin
g
of
u
nknown
f
lexibl
e
array siz
e
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-05
Dan Carpenter
b
u
f_
s
ize:
i
gnore zero retu
r
n
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-05
Dan Car
p
enter
extr
a
: fix
comp
i
le
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-05
Dan Carpenter
extra
:
delete
s
ome dead c
o
de
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-05
Dan Carpe
n
ter
b
u
i
l
d_kernel_d
a
ta
.
sh
:
print
a mess
a
g
e
after
the k
e
rnel
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-05
Da
n
Ca
r
penter
d
b
/kernel
.
return
_
fixes: ww_mutex
_
lo
c
k() can't ret
u
r
n
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-05
D
an Car
p
enter
ca
p
ped: han
d
le & and % slight
l
y
differen
t
ly
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
db/retur
n
_s
t
ates:
f
ix call
_
id type
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-04
D
a
n
Carpenter
d
b/create_db
.
sh: silence
warning when -p option isn
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carp
e
nter
mark_
f
u
nct
i
on_ptrs_searchable: mark
more
f
unctions
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpe
n
t
e
r
c
o
ntainer_o
f
: fix
i
m
p
orting the mtag
d
a
ta
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-04
D
a
n
C
arpenter
estate: check hard ma
x
i
n
estate
s
_equiv()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
estate: add
a
->new flag to track new s
t
ates
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-04
Dan
C
arpe
n
t
e
r
helper
:
export get_array
_
expressi
o
n()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-04
Dan Car
p
enter
implied: fix parsing for PARAM_LI
M
IT i
m
plicat
i
ons
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-04
Da
n
C
a
r
penter
i
m
pl
i
ed: non-m
e
r
g
ed states have no implicatio
n
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-04
Da
n
Carpenter
type: impr
o
v
e
get_mem
b
er_type_from_key()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carp
e
nte
r
type
_
val:
ignor
e
"i
d
r
_
find"
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-04
Dan
C
arpenter
im
p
li
e
d: turn on debug_implied w
h
en regu
l
a
r
debug
i
s
se
t
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-04
Dan Car
p
e
nter
err_ptr: del
e
te dea
d
code
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-04
D
a
n Carp
e
n
t
e
r
s
t
r
uct_a
s
si
g
nment: s
t
rip pa
r
entheses ri
g
ht
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-05-04
Dan C
a
rpenter
atomi
c
_inc_de
c
: push latest
code
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-04-07
D
a
n Car
p
enter
real_absolute: update real absolute for f
a
k
e
d
fresh
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-03-10
D
an Carpent
e
r
typ
e
: create
type_fits() function
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-03-10
Dan
Carpe
n
ter
db/kerne
l
.
return
_
fixes: mis
c
upd
a
te
s
(l
o
cking mos
t
ly
)
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-03-10
Dan Carp
e
nter
states:
a
dd a way to wa
t
ch o
t
he
r
che
c
ks
set
s
tates
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-03-10
D
a
n
Carpenter
debug:
p
rint
a
s
pecia
l
w
a
r
ning for user_rl without
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-03-10
Dan
C
arp
e
n
t
er
fres
h
_alloc
:
some
t
hings are not fresh
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-03-10
Dan Carp
e
nter
h
e
l
p
er: don
'
t cac
h
e T
m
p exp
r
essions
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-03-10
Dan Carpenter
expressi
o
ns:
Rename "Fak
e
" t
o
"T
m
p"
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-03-10
Dan Ca
r
pe
n
ter
math: functi
o
n
s can retur
n
fuzzy ra
n
ge
list
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-03-10
Dan Carp
e
nt
e
r
return_to_param: remove unused decl
a
ration
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-03-10
Dan Carpenter
scr
i
pts/s
u
mmarize_errs
.
s
h: white space fixes
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-03-10
Dan C
a
rpenter
t
okenize:
e
xport allo
c
_ident()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-03-10
D
a
n
Carpenter
allocat
i
ng_en
o
ugh_data:
c
la
r
if
y
error
message
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpenter
struct_assignment: Fix
(
*$)
-
>foo handling
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpenter
validation: update impossible test
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-02-18
Dan Car
p
enter
sh
i
ft
_
to_zero
:
sil
e
nce some false
p
ositives
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-02-18
D
a
n
Carpe
n
t
er
m
tag: don't do
u
b
l
e record
m
ta
g
data
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpent
e
r
s
mdb: ad
d
some
m
o
re typ
e
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-02-18
D
an C
a
rp
e
nter
slist: add some deb
u
g code to warn
a
b
out m
i
ssing set_dynam
i
c
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-02-18
D
a
n C
a
rpent
e
r
h
e
l
per: remove no
_
parens p
a
ramete
r
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-02-18
Dan
C
arpent
e
r
implie
d
/comparison:
delete
u
n
k
nown im
p
li
c
a
t
ions
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-02-18
Dan
C
arpente
r
helper: ret
u
rn more
s
p
e
cifi
c
error codes in
g
et_p
a
ram_num_fr
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-02-18
Dan
C
arpenter
function
_
h
o
oks/mtag: se
t
m
t
a
g ret
u
rns
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2020-02-18
Da
n
Car
p
ent
e
r
he
l
p
e
r: s
m
all
w
hite spac
e
clean
u
p
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
next