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: don't bother with unknown sizes
2020-05-06
Dan Ca
r
pe
n
ter
db: don't bother with
u
n
k
nown
size
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
D
a
n Carpenter
buf_s
i
z
e
:
u
pdat
e
some kernel
f
un
c
tions: vz
a
lloc() and
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
Dan Carpenter
bits: Fix
han
d
ling
of
|= and &=
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
Dan Carp
e
n
t
e
r
bit
s
: move is_loop_iterat
o
r
(
) earli
e
r
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
Dan Carpenter
kernel: preserv
e
the sm state when handling IS_E
R
R
(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
Dan
C
arpent
e
r
kern
e
l: fix a type bug han
d
ling err_cast()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
Dan Carpen
t
er
kernel: add
s
upport f
o
r
c
l
osure_call()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
D
a
n
Carpent
e
r
b
uf_size: che
c
k p
o
inter size earlier
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan Ca
r
penter
buf_size: fi
x
hand
l
ing of
unknown flexibl
e
array sizes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan Carp
e
nter
buf_siz
e
: ignore z
e
ro returns
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan C
a
rp
e
nt
e
r
ex
t
ra: fix c
o
mpile
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan Carpen
t
er
extra:
d
ele
t
e some dead
c
ode
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan Carpen
t
e
r
build_kernel_data
.
sh: print a message a
f
ter the k
e
rnel
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan Carpe
n
te
r
db/kern
e
l
.
return_
f
i
xes: ww_mutex
_
lock(
)
c
a
n't retu
r
n
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan
C
arpenter
capped: han
d
le & an
d
% sli
g
htly diff
e
rently
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Da
n
Carpent
e
r
db/return_states: fix
c
all_id type
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
D
a
n Carpenter
db/create_d
b
.
sh: silen
c
e warning w
h
en -p opt
i
on
i
sn
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan
C
arpenter
mark_fun
c
tion_p
t
rs_searchable: ma
r
k
more functions
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
contain
e
r_of
:
f
i
x importing t
h
e mtag data
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
estate: c
h
eck hard max
i
n estates
_
eq
u
iv()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
D
a
n Carpent
e
r
estate: add a ->new flag to
t
rack new states
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan
Ca
r
penter
helper:
e
x
port get_array_
e
xpression()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carp
e
nter
implied: fi
x
parsing for PARAM_
L
I
M
IT
im
p
lic
a
t
ions
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan
Carpenter
i
mplied: non-merged stat
e
s
ha
v
e no implications
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carp
e
nter
type: i
m
pro
v
e get_member_t
y
pe_from_k
e
y()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carp
e
n
t
er
t
y
pe_va
l
: ignore "idr_f
i
nd"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpent
e
r
imp
l
ied: turn on debug_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 Carpenter
er
r
_ptr: delete dead cod
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
struct_assignment: strip paren
t
h
eses
r
ight
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Car
p
ente
r
a
t
omic_inc
_
dec: pus
h
late
s
t cod
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-04-07
Dan Carp
e
nter
re
a
l_absolute: update re
a
l ab
s
olute for fake
d
fresh
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan Car
p
ent
e
r
type: cr
e
ate type_fits() func
t
ion
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan
Ca
r
penter
d
b/ker
n
el
.
return_
f
ixes: misc
u
pdate
s
(locking mostly)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
D
an Carpenter
states: add a
w
ay
to watch other chec
k
s set states
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan
C
arpe
n
ter
d
ebug: print
a
spe
c
ial w
a
rnin
g
f
o
r user_
r
l without
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan Carpenter
fresh_alloc: some
things
a
re not f
r
e
sh
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Da
n
C
arpenter
hel
p
er
:
d
o
n't
c
ache Tmp
e
xpres
s
ions
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
D
a
n C
a
r
penter
expressions
:
R
ename "Fake" to "Tmp"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
D
a
n
Carpen
t
er
mat
h
: fun
c
tions can return fuzzy
ran
g
e
lis
t
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
D
a
n C
a
r
penter
r
e
t
u
rn_to_para
m
:
remove
unused declar
a
ti
o
n
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan Ca
r
pente
r
s
c
ripts/summariz
e
_errs
.
sh
:
w
h
it
e
space fixes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan Carpenter
tokenize: export alloc_ident()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan Ca
r
penter
a
llocating_enough_
d
ata: clarify error me
s
s
a
g
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Car
p
enter
struct_assig
n
ment:
Fi
x
(
*
$)->foo handl
i
ng
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
D
an Carpen
t
e
r
v
alidation:
upda
t
e impossi
b
le
t
ests
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carp
e
n
t
e
r
shift_to
_
zero: silence some false
p
osit
i
ves
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Car
p
enter
mtag:
don't do
u
ble recor
d
mtag data
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpenter
s
md
b
: add some m
o
re ty
p
es
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpe
n
ter
slist: add some debug code to warn about
m
issing set
_
dynam
i
c
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
D
an Carpenter
helper: remove
n
o_parens parameter
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan
C
arpenter
i
mplied/compari
s
on: dele
t
e unknown implica
t
i
o
ns
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carp
e
n
t
er
helper: return
more specific e
r
ror
c
o
des in get_param_n
u
m_
f
r
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpenter
function_hook
s
/mtag: set mtag return
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan
C
arp
e
nter
help
e
r: small white space cleanup
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpent
e
r
mtag:
s
av
e
the mtag allo
c
at
o
r
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpe
n
t
er
d
b: add s
u
pport fo
r
(*
$
)->fo
o
= 1;
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpenter
db: m
a
ke mta
g
_about entrie
s
unique
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan C
a
rp
e
nter
db: add
mta
g
_info table
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpenter
mtag_map:
r
e-arrange contai
n
er map
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpenter
type: ex
p
ort is_str
u
ct_ptr()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpenter
db:
d
on't bother spli
t
ting error pat
h
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpe
n
ter
db: store the func
t
i
on mtag in the call_id space
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
D
an
Carp
e
nter
d
b
: don't
s
plit negatives usi
n
g
n
ull/n
o
n_nul
l
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Da
n
Carpenter
db:
a
dd a new c
a
llba
c
k for inserting stuff
i
nto c
a
ller_info
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpenter
function_
p
trs: delete a stray
s
pace character
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Da
n
Carpent
e
r
estate: pointers don't
h
ave hard ma
x
e
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
D
an Carpenter
mtag_data: ignore boot_params
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpenter
m
t
ag_data:
i
g
nore head-
>
next
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpente
r
helper: print EXP
R
_SELECT a
n
d
E
XPR_CONDITI
O
N wit
h
exp
r
_
t
o_str()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpe
n
te
r
mt
a
g
_
map: add a tag_offs
e
t field
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Ca
r
pen
t
er
fresh_allo
c
: NULL
i
s not a f
r
esh al
l
oc
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpenter
debu
g
: mov
e
__print_states() to sma
t
c
h
_states
.
c
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
D
a
n Carpenter
math: handle
u
nknown maxi
m
ums
in subtrac
t
operations
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Car
p
enter
f
low: ca
l
l ASSIGNMENT_HOOK_AFTER for co
m
plic
a
ted assignments
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-28
D
a
n C
a
rpenter
m
tag: update swap_m
t
ag_r
e
turn()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
Dan Ca
r
p
en
t
er
fresh_al
l
oc: m
a
r
k
u
sed data as unfresh
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
Dan Carpente
r
f
r
esh_all
o
c: export
i
s_fresh_
a
llo
c
() and is_fresh_alloc_va
r
_
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
Dan Carpent
e
r
f
r
e
sh_all
o
c
: NU
L
L pointers a
r
e not
f
resh
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
Dan Carpenter
mtag:
exp
o
rt str_to_mtag()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
Dan Ca
r
p
e
nter
t
ype: impr
o
ve deb
u
g output for NULL t
y
p
e
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
Dan
Carpe
n
ter
sli
s
t:
fix __p
r
in
t
_str
e
e() debug output
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-22
Dan Carpenter
db:
d
elete
mo
r
e dead code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-22
D
a
n Carpenter
db: remove DB r
e
mo
v
e
some
dead code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-14
D
a
n Carpenter
fresh_alloc: fix com
p
iling (mis
s
i
ng chunk of commit)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-10
D
an Carpenter
contai
n
er:
i
mprove h
o
w assignmen
t
s are
h
andled
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-09
Dan
C
ar
p
ente
r
locking:
warn when there is a
missi
n
g irq_restore
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-09
Dan Carpenter
val
i
da
t
i
o
n:
u
pdat
e
locki
n
g
va
l
idation tests
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-08
Dan Ca
r
pente
r
lockin
g
: remove
win
e
lock
i
ng chec
k
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-06
D
a
n Carpenter
fr
e
sh_alloc: track which all
o
c
ations
a
r
e fresh
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-06
D
a
n C
a
rpent
e
r
math/ranges
/
helper
:
i
mp
r
ove floating point support
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-06
Dan Carpenter
smatch
.
h
:
ad
d
the declaration to sm_to_arg_name()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-12-12
D
a
n
Carpenter
he
l
per:
i
n
t
r
o
du
c
e
g
e
t_param_sym_from_num()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-12-12
D
an
C
a
rpenter
sval: initial
f
loat
i
n
g
point support
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-12-12
Dan
C
arpe
n
ter
db:
impro
v
e sp
l
it
_
success_fail
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-12-12
Dan Carpen
t
er
db
:
fix split
_
p
ositive_from_negative()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-12-12
Da
n
Car
p
e
nt
e
r
c
o
ntain
e
r_of: a function
is not a con
t
ainer of
itself
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-12-12
Dan
Carpenter
container_o
f
: fix h
o
w conta
i
n
er of sta
r
i
n
f
ormation
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-12-12
Dan Carpenter
cont
a
iner_of: move strip_expr(
)
earlier
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-12-12
Dan Carpenter
db: ren
a
me has_possible_
z
ero_null()
t
o has_separate
_
zero_null()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-12-12
Dan Carpenter
db: add a short
cut in has_possible_n
e
gativ
e
()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
next