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
type: mark foo.bar.baz as a local variable
2020-06-19
Dan
C
arpenter
t
y
p
e
: mark f
o
o
.
bar
.
baz as a local
variable
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-06-18
Da
n
Carpenter
extra: mt
a
g
: don
'
t store
u
nknown states
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-06-08
Da
n
Car
p
enter
db:
F
ix buffer overflow in state
_
name
_
to_param_name()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-26
Dan
C
a
rpenter
atomic_inc_dec: remove a
n
unus
e
d p
a
ram
e
ter
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-26
Da
n
C
a
rpent
e
r
atom
i
c_i
n
c
_
dec: don't warn abo
u
t
impossible paths
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-26
Da
n
Car
p
enter
ato
m
ic
_
inc
_
de
c
: ignore local static variables
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-26
Dan Carpenter
atomic_inc_dec:
unknown value
s
are not
fail
u
res
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-26
D
a
n Carpen
t
er
atomic_inc_dec: don't record increm
e
n
t
/
decrement
i
f
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-26
D
a
n
Carpent
e
r
atomic_inc
_
dec: record poten
t
ial decre
m
e
nts as a
dec
r
e
m
ent
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-26
Dan Ca
r
pent
e
r
atomic_inc_dec: don't
s
tore information in impossible
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-26
Dan Carpenter
atomic_in
c
_dec: a
d
d more functio
n
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-26
Dan Carpenter
a
tomic_inc_dec: don't
d
oub
l
e
s
e
t
sta
t
es
to &inc/&dec
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-26
Dan Carpent
e
r
at
o
m
ic_inc_dec: ch
a
nge
how
unmatc
h
ed state
s
are handled
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-26
Dan
Carpen
t
er
atomic_inc_dec: rename "orig" to "
s
tart_state"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-20
Dan C
a
rpenter
k
ernel_p
r
intf: print error pointers
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-20
Da
n
C
a
rpent
e
r
k
er
n
el
_
pri
n
t
f
: a
d
d
s
upp
o
rt for %ls
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-20
Dan Carpenter
kernel_printf: add
_G
N
U_SO
U
RCE define
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-19
Dan Carpenter
D
ocumentation/sm
a
t
ch: add a refe
r
ence
to th
e
ma
i
ling
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-12
Dan Carpen
t
er
buf_size: ignore
c
er
t
a
i
n assignments
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-11
Dan C
a
rp
e
nter
atomic_
i
nc_dec: fix compile ev
e
n harder
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-11
Dan Ca
r
penter
db
:
split possible states eve
n
whe
n
they
'
re equal to
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-07
Dan
Ca
r
penter
sma
t
ch:
fix t
h
e compile
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-07
Dan
C
a
rpe
n
ter
shif
t
_
t
o
_zero:
be even more conser
v
a
tive (av
o
id fal
s
e
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
D
a
n C
a
r
p
enter
debug: add more deb
u
g i
n
fo
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
Dan
C
arpenter
db:
don't b
o
ther
w
ith unknow
n
sizes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
Dan Carpenter
buf_size: up
d
ate some ke
r
nel
funct
i
ons:
vza
l
loc() and
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
Dan Car
p
enter
bits: Fix
h
andling of |= and &=
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
D
a
n Carpenter
bits
:
mov
e
is_
l
oop_it
e
rator() earlier
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
D
a
n Carpenter
kern
e
l
:
preserve the
sm s
t
ate when handling IS_ERR()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
Dan Carpenter
k
e
r
nel
:
fix
a
type
b
ug handling err_cast()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
Dan
Carpenter
kernel: add su
p
port f
o
r closure_call
(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan Carpe
n
t
e
r
bu
f
_
size
:
check pointer si
z
e
e
arli
e
r
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
D
a
n Carpenter
buf
_
si
z
e: fix
h
andling of un
k
n
o
wn fle
x
ible array
sizes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Da
n
C
a
rpenter
buf_s
i
ze: ignor
e
zero returns
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan
C
arpenter
ext
r
a: fix compile
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan Carp
e
nter
extr
a
: delete
some
d
e
ad co
d
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
D
an Ca
r
penter
b
u
i
ld_kerne
l
_data
.
sh: print
a
message af
t
er the kern
e
l
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan Carpenter
db/kernel
.
return_fixe
s
:
ww_mutex_lock()
can't re
t
urn
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan
Carpenter
capp
e
d:
handle & and % slightly differentl
y
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan
C
arpenter
db/r
e
t
u
rn_states: fix call_id type
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
db/crea
t
e
_
db
.
sh: silence
w
ar
n
ing
w
hen -p option isn
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
D
a
n Carpenter
mark_function_ptrs_searchable
:
mark
mo
r
e functions
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Ca
r
penter
con
t
ainer
_
of
:
fix importing the mtag data
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Da
n
Car
p
enter
estate: che
c
k
h
a
rd
m
a
x in
e
s
tates_equiv()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
D
a
n C
a
rpenter
estate: add a -
>
new fla
g
to track new
states
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpent
e
r
helper:
export g
e
t_a
r
r
a
y_ex
p
ression()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan
C
arpenter
implied: fi
x
parsing for PARAM_LIMIT implications
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Da
n
Carpe
n
ter
i
m
p
lied:
n
on-merged states h
a
ve no im
p
l
i
cations
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpent
e
r
t
y
p
e: impro
v
e get
_
m
ember_
t
y
pe_f
r
o
m_key()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
type_val: ignore
"
idr_find"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
implied: turn on debug_im
p
lied whe
n
regular debug i
s
set
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan
C
arpenter
err_
p
tr:
d
e
lete dead co
d
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Da
n
Carp
e
nter
struct_assignment: strip
p
a
renthes
e
s right
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Car
p
e
n
t
er
a
t
omic
_
inc_de
c
:
p
ush la
t
es
t
code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-04-07
Dan Car
p
enter
real_abso
l
ute: update re
a
l
absolute for faked fresh
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan Carpenter
t
y
pe: crea
t
e
typ
e
_fits() function
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Da
n
Carpenter
db/kernel
.
r
et
u
rn_
f
ix
e
s: misc upda
t
es (
l
ocking
m
o
s
tly)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan Car
p
enter
states
:
add a way to watch oth
e
r chec
k
s
s
et states
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
D
a
n Ca
r
penter
debug: print a spe
c
ial
w
arning for use
r
_rl wit
h
out
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan Car
p
e
n
ter
fresh_alloc:
some
things are not f
r
e
s
h
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan Carpenter
hel
p
er: don't cache Tmp expre
s
sions
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan Carpent
e
r
e
xp
r
essions: Rename "Fa
k
e" to "
T
mp
"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
D
an Carp
e
nter
math:
functions can r
e
turn fuz
z
y r
a
nge lists
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan Carp
e
nter
retu
r
n_to_param:
remove unus
e
d dec
l
aration
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan Ca
r
pente
r
script
s
/summarize_errs
.
sh: white sp
a
c
e fi
x
es
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan
Carpenter
tok
e
nize: expo
r
t alloc_iden
t
()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Da
n
Ca
r
pent
e
r
allocating_eno
u
gh
_
data: clarify error
m
essag
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpenter
s
t
ruct_assignment: F
i
x (*$)->f
o
o
h
andling
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
D
an
C
arpenter
v
a
lidation: up
d
ate
i
mpossible tests
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Da
n
Carpenter
shift_t
o
_zero: si
l
ence some
f
alse positives
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpenter
mtag: do
n
't double
r
e
cord
mta
g
data
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpenter
smdb: a
d
d
s
om
e
more types
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
D
an Carpen
t
er
slist
:
a
dd s
o
m
e debug cod
e
to warn
a
bout missi
n
g set_dynamic
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpe
n
ter
help
e
r: re
m
ove no_paren
s
parameter
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Ca
r
penter
implied/comparis
o
n: del
e
t
e
un
k
nown impli
c
a
t
i
ons
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpenter
h
e
lper: r
e
t
urn
more
s
pecific e
r
ror codes i
n
ge
t
_p
a
ram_num_fr
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpenter
function_hooks/m
t
ag: set mtag r
e
turns
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan
Carpenter
helper: small whi
t
e space clea
n
up
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpenter
mta
g
:
save the
m
tag allocator
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpenter
db:
a
dd
suppor
t
fo
r
(*$)-
>
foo
=
1;
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpente
r
db: make mta
g
_
about
e
ntries unique
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan
C
arpenter
db: add mtag
_
in
f
o tabl
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Da
n
Carpenter
mtag_map: re
-
arrange con
t
ainer map
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpent
e
r
type: expo
r
t is_stru
c
t_ptr()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan
C
a
rpenter
db: don
'
t bother splitting error
p
aths
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
D
a
n Carpenter
db: store the function mtag in the
c
all_id sp
a
ce
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
D
a
n
C
arpenter
d
b
:
don't split negatives using null/non_null
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpente
r
d
b: add a n
e
w callback for inserti
n
g stuff in
t
o call
e
r_info
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan
C
a
rpenter
function_ptrs:
del
e
t
e
a stray space cha
r
acter
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpenter
estate:
p
ointers don't have ha
r
d max
e
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Car
p
e
n
ter
mtag_dat
a
: ig
n
or
e
boot_
p
arams
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpente
r
mtag_d
a
t
a
:
ig
n
ore hea
d
->next
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpent
e
r
h
e
lper: print
E
XPR_SE
L
ECT and
E
XPR_CONDI
T
ION with
e
xpr_to_str()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpenter
mtag
_
m
a
p:
a
dd a tag_offset fiel
d
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
D
an
Carpent
e
r
f
r
esh
_
alloc:
NU
L
L is not
a
f
resh
a
ll
o
c
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpenter
d
ebug: move __pr
i
n
t
_states()
to smatch_states
.
c
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
D
a
n
C
arpe
n
t
e
r
ma
t
h:
hand
l
e un
k
now
n
ma
x
imums in su
b
t
r
act
o
pe
r
a
tions
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Da
n
C
a
r
penter
flow:
call AS
S
I
G
N
ME
N
T_
H
O
O
K_AFTER for complicated
as
s
ignments
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-28
Dan Carpent
e
r
mt
a
g: updat
e
swap_m
t
ag_retur
n
(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
Dan Carpente
r
fresh_alloc: mark used data as unfres
h
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
next