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
atomic_inc_dec: unknown values are not failures
2020-05-26
Dan Carpent
e
r
atomic_inc_de
c
:
unknown
v
alues are
not fai
l
ure
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-26
Dan Carpenter
atomic_inc_dec
:
don't
r
ecord increment/
d
ecrem
e
nt i
f
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-26
Dan Carpenter
atomic_inc_dec: recor
d
po
t
ential de
c
rements
as a d
e
creme
n
t
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-26
Dan Carpenter
atomic_in
c
_dec:
don't store information in impossible
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-26
D
a
n Carpenter
atomic
_
inc_dec
:
ad
d
mo
r
e func
t
ion
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-26
Dan Carp
e
nter
atomi
c
_inc_dec: don't d
o
u
ble set states to &inc
/
&dec
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-26
Dan
C
a
r
penter
a
t
omic
_
inc_dec: change how unmatched states are handled
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-26
Da
n
Carp
e
nte
r
a
tom
i
c_inc_dec: rename "
o
rig" to "start
_
st
a
t
e
"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-20
Dan Carpent
e
r
ker
n
e
l
_prin
t
f: print err
o
r
p
o
inters
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-20
D
an Carp
e
nte
r
ke
r
ne
l
_printf: add support
f
or %ls
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-20
Dan Carpen
t
er
k
ernel_printf:
add
_
GNU_SOURCE define
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-19
Dan Carpenter
Documentation/s
m
atch: add a referen
c
e to
the m
a
iling
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-12
John Levon
Check for NULL stmt in check_all_func_returns
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-12
D
a
n
Car
p
ent
e
r
buf_size: igno
r
e certain assignments
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-11
Dan Carpenter
a
t
omic_inc_dec: fi
x
co
m
pi
l
e even harder
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-11
Dan Carpenter
db: spl
i
t possible s
t
at
e
s e
v
en whe
n
they're equal to
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-07
Dan
Carpent
e
r
smatch
:
fix th
e
co
m
pi
l
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-07
Dan Carpenter
shift_to_zero: be even more co
n
se
r
vative (avoid false
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
Da
n
Carpent
e
r
d
e
bug: ad
d
more
d
ebug in
f
o
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
Dan Carpente
r
db: don't
b
other with un
k
nown sizes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
Da
n
Carpente
r
buf_size: update s
o
me
k
e
rnel
func
t
ion
s
: vzall
o
c() and
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
Dan Carpe
n
t
e
r
bits:
Fix handling o
f
|
= and &
=
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
D
an Carpenter
bits: move
is_lo
o
p_iter
a
tor() earlier
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
D
a
n Carpe
n
ter
kernel: preserve
t
he
s
m state when han
d
ling IS_ERR(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
Dan Carpen
t
er
kernel: fix a type bug handling err
_
cast()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
Dan Carpe
n
te
r
kern
e
l: add suppor
t
fo
r
closure_c
a
l
l
()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan Carpenter
buf_
s
ize: check pointer size earlier
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan Carpenter
b
u
f_size: fix handling of unkno
w
n flexible array sizes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan Ca
r
pe
n
ter
buf
_
size:
ignore zero retur
n
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
D
a
n Carpente
r
extra: fix compile
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan Carpent
e
r
extr
a
: de
l
e
t
e some dead
code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan Carpenter
b
u
ild_ke
r
n
e
l_data
.
s
h
:
prin
t
a mes
s
age after the kernel
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan Carpent
e
r
db/kernel
.
r
e
turn_fixes: ww_mutex_l
o
ck() can't re
t
urn
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan Carpent
e
r
c
apped: handle
&
and % slightly d
i
fferent
l
y
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan
Carpenter
d
b
/return_state
s
: fix call_id type
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
D
an Carpenter
db/c
r
eate_db
.
s
h
: silen
c
e warning when -p option isn
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan
Carpenter
mark_function_p
t
r
s
_searchable: mark m
o
re functions
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
cont
a
iner_of
:
fix i
m
portin
g
the mtag data
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpent
e
r
esta
t
e: che
c
k har
d
m
a
x i
n
e
states_equiv()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
estate: a
d
d a ->new flag to track new states
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
hel
p
er: export g
e
t_a
r
ray_expression()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Da
n
Carpenter
impli
e
d
:
fix par
s
ing for PA
R
AM_LIMIT implic
a
t
i
ons
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
implie
d
:
non-merged
s
ta
t
es have no
i
mp
l
i
c
ations
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Da
n
Carpenter
t
ype: improve get_membe
r
_type_from_key()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
D
a
n C
a
rp
e
nter
t
y
pe
_
val:
i
gn
o
r
e "idr_
f
ind"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpente
r
implied: turn
o
n
debug_impl
i
ed when regula
r
de
b
u
g
i
s
set
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
D
an Carp
e
nter
err_ptr: delete dea
d
code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpen
t
er
str
u
ct_assignme
n
t: stri
p
parenthes
e
s r
i
ght
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
atomic_inc_de
c
: pus
h
latest code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-04-07
Dan Carpe
n
ter
real_absolute: upda
t
e real absolute f
o
r faked fresh
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan
C
a
rp
e
n
ter
type
:
crea
t
e type_
f
i
ts() f
u
nction
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan Carpenter
db/kernel
.
return_
f
ixes: misc
updates (locking mostly)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan
Carpente
r
states: ad
d
a w
a
y to watch
o
t
her
c
hecks
se
t
states
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
D
a
n C
a
rpenter
debug: print a special
warning
for user_rl without
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan
Carpent
e
r
fresh_alloc: some th
i
ngs
a
re not
f
r
esh
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan Ca
r
penter
h
elpe
r
: don't cache Tmp expressions
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan Carpenter
e
xpres
s
ions: Rename
"Fake" to
"
Tmp"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan Carpenter
mat
h
: functions c
a
n
r
e
turn fuzzy range li
s
ts
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan Carpenter
return_to_param
:
r
e
move unused
declaration
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Da
n
C
a
rpent
e
r
s
cript
s
/summarize
_
errs
.
sh: wh
i
te s
p
ace fixes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
D
a
n Carpe
n
ter
tokenize: export all
o
c_iden
t
()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
D
a
n
Carpenter
a
l
locati
n
g_e
n
ough_data:
c
larify erro
r
message
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpenter
s
tr
u
ct_as
s
ign
m
ent: Fix
(
*$)-
>
fo
o
ha
n
dling
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan
Carpenter
validat
i
o
n: u
p
d
ate impossible tests
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan
C
arpenter
shi
f
t_t
o
_
z
er
o
: silen
c
e some false positiv
e
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carp
e
n
t
er
mtag: don't double
record
m
tag
d
at
a
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Da
n
C
a
rpenter
smd
b
: add s
o
m
e
more ty
p
e
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpenter
slis
t
: add some debug code
t
o warn about missing set_dy
n
a
mi
c
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpenter
helper: remove no
_
parens
parameter
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan
C
arpe
n
t
er
implied/co
m
parison:
d
elete
unkno
w
n
i
mplications
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Da
n
Carpenter
helper: return
m
ore
s
p
e
c
ific erro
r
co
d
e
s
in get_param
_
num
_
fr
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
D
a
n
Carp
e
n
t
e
r
fu
n
c
t
ion
_
hooks/mtag: set mtag returns
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan
C
arpenter
helpe
r
: small w
h
ite
space cleanup
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpenter
mtag: save the
m
tag alloca
t
o
r
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpenter
d
b
: add supp
o
rt f
o
r (*$)->fo
o
= 1;
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
D
an Carpenter
db: make mta
g
_a
b
out
e
ntries uni
q
u
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
D
a
n
C
arpenter
db:
add
m
ta
g
_
i
nfo table
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carp
e
nter
mtag_
m
ap: re-
a
rrange container map
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Car
p
enter
type: export is
_
struct_ptr()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan C
a
r
p
enter
db
:
d
o
n'
t
bot
h
e
r
s
plitting error paths
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpe
n
ter
db:
store the
f
unction mtag
i
n
t
he call
_
id spac
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpenter
db: don
'
t split ne
g
atives usin
g
null/no
n
_
null
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
D
a
n Carpenter
db
:
a
d
d a n
e
w
callb
a
ck for inserting stuff in
t
o calle
r
_i
n
f
o
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
D
a
n Carpen
t
er
functi
o
n_ptr
s
: delete a s
t
ray s
p
a
c
e chara
c
te
r
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpenter
estate:
p
ointers do
n
't have hard maxes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan
Carpenter
m
t
ag_data: ignore boot_par
a
ms
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpenter
mtag
_
d
a
ta: ignore head->nex
t
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
D
a
n
Carpenter
h
elper: print EX
P
R
_SELECT and EXPR_CONDI
T
I
O
N with ex
p
r_to_str()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpenter
mta
g
_map
:
add a tag_offset field
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpenter
fre
s
h_alloc: NULL is no
t
a fresh al
l
oc
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpenter
debug
:
move
__print_st
a
t
e
s() to
smatch_
s
tate
s
.
c
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpenter
math:
h
a
n
dle unknown maximum
s
in
subtrac
t
operations
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Da
n
Car
p
en
t
e
r
flow: call ASSIGNMEN
T
_
H
OOK_AFT
E
R
for
compl
i
cat
e
d assignme
n
ts
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-28
D
an Carpen
t
er
mtag: update swap_mtag_return()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
Dan Carpenter
fr
e
s
h_allo
c
: mar
k
used d
a
ta a
s
unfresh
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
Dan Carpente
r
fresh_alloc: e
x
p
o
r
t is_fresh_a
l
loc() and
is_fres
h
_
a
l
loc_var_
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
Dan Carpenter
fr
e
sh_alloc:
NULL pointers are no
t
fresh
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
Dan Carpenter
mtag: export str_to_mtag()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
Dan Car
p
enter
t
y
pe
:
improve debug
output for
NULL types
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
Dan C
a
r
p
e
nte
r
slist:
f
ix __print_stree()
d
ebug output
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
next