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
kernel: preserve the sm state when handling IS_ERR()
2020-05-06
Dan Carpenter
k
ernel
:
pr
e
serve
the
s
m
state when handling IS_ERR(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
Dan Carpenter
kernel: fix a type bug han
d
ling err_cast
(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
Da
n
Ca
r
penter
kernel: a
d
d support for c
l
osure_
c
all()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
D
a
n
C
arpenter
buf_si
z
e: ch
e
ck
p
ointer s
i
ze earlier
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan Car
p
enter
b
uf_size: fix handling
o
f
unk
n
o
wn flexible array
sizes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
D
an Carpe
n
t
er
buf_si
z
e: ignore zero
retu
r
ns
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Da
n
Carpe
n
ter
e
x
tra: fix compile
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan Car
p
enter
ex
t
ra: delete some dea
d
code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan Carpen
t
er
build_kernel_data
.
sh: prin
t
a message after the ker
n
el
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan
C
arpenter
db
/
kernel
.
re
t
urn_fixes: ww_mutex_l
o
ck() can't return
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan Carpenter
c
a
pped:
handle & and % slig
h
tly
differentl
y
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpente
r
d
b
/r
e
turn_states: fix call
_
id t
y
pe
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
db/
c
r
eate_db
.
sh: silen
c
e warning
w
hen -p opt
i
on isn
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Car
p
enter
ma
r
k_function_ptrs_searchable:
m
ark more functions
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan
C
arpente
r
cont
a
ine
r
_of
:
f
i
x importi
n
g the mtag data
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
e
s
tate:
c
heck h
a
rd max in estates
_
equ
i
v()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
estate: ad
d
a
->n
e
w flag to track
n
ew states
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpen
t
e
r
helper: expo
r
t ge
t
_arr
a
y_expression()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
implied:
f
ix parsi
n
g f
o
r PARAM_
L
IMIT implications
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
implied: non-merged st
a
tes have no implic
a
t
ions
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpente
r
type: im
p
rove get_member_type_
f
rom_key()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Ca
r
p
enter
t
ype_v
a
l: i
g
nore
"idr
_
fi
n
d"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Ca
r
penter
impl
i
ed: turn on debug_imp
l
ie
d
wh
e
n
regular debug is
s
et
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
err_ptr: de
l
ete de
a
d code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Car
p
enter
stru
c
t
_
assignment
:
s
tri
p
parentheses rig
h
t
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
at
o
mic_inc
_
d
e
c
:
push latest code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-04-07
Dan Carpente
r
real_absolute: update
r
e
al absolute for fake
d
fresh
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan Ca
r
penter
type: c
r
eate
t
ype_fits() fun
c
tion
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
D
a
n Carpenter
db/kernel
.
return_fixes: misc upd
a
te
s
(loc
k
ing
mo
s
tly)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan
C
arp
e
nter
stat
e
s
: ad
d
a
way to
watch o
t
her checks set
s
t
a
tes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan Carpente
r
d
e
bug: print a sp
e
cial warning fo
r
user_rl without
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan Car
p
enter
fresh_all
o
c: some t
h
in
g
s are n
o
t fre
s
h
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan
C
arpenter
helpe
r
:
do
n
't cache Tmp expressions
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan
Carpen
t
er
expressions:
R
e
name
"
Fake"
to "Tmp"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan Carpenter
math: funct
i
ons
c
a
n
return fuz
z
y rang
e
lists
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Da
n
Ca
r
penter
retu
r
n_to_param
:
remove unused d
e
clarat
i
on
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
D
a
n Carpent
e
r
scripts/summarize_errs
.
s
h
: w
h
ite
s
pace fixes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan C
a
rpenter
toke
n
i
z
e: expo
r
t alloc_ident()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan Carp
e
nte
r
allocating_e
n
ou
g
h_data:
c
larify
error
m
e
s
sage
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpenter
s
t
r
u
ct_assignment:
Fix
(
*$)->foo handling
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpenter
validatio
n
: update
impo
s
sible
t
e
s
ts
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan C
a
rpenter
shift_to_ze
r
o: s
i
len
c
e some false positives
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Car
p
e
nter
mtag: don't
d
ouble recor
d
m
tag
d
a
ta
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan
Car
p
ent
e
r
smd
b
: add some more typ
e
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
D
a
n C
a
r
p
ente
r
slist: a
d
d some
debug co
d
e to warn abou
t
m
i
ssing
s
et_d
y
namic
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan
Carpenter
helper: remove no_parens
p
arameter
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
D
an Ca
r
penter
implied/comparison
:
delete unkn
o
wn implications
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpent
e
r
h
e
l
p
er: re
t
urn mo
r
e specific error codes in get_param_
n
um_fr
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
D
an Carpent
e
r
function_hooks/m
t
ag: set mtag ret
u
r
ns
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpenter
helper: small w
h
ite sp
a
ce c
l
eanup
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan
C
arpenter
mtag: save the mtag allocator
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Da
n
C
a
r
p
enter
d
b:
a
dd support
for (*$)-
>
foo
=
1;
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Da
n
Carpenter
d
b: make
mtag_about e
n
tr
i
e
s
unique
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
D
a
n
Carpent
e
r
d
b: add mta
g
_info table
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
D
an
C
a
rpenter
m
t
ag_map: re-arran
g
e
c
on
t
ain
e
r map
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
D
a
n C
a
rpente
r
type: exp
o
rt
i
s_struct_ptr()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan
C
arpenter
db:
d
on't bothe
r
splitting
e
rror paths
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Ca
r
pe
n
te
r
db: store the function mtag in the call_
i
d s
p
ace
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpen
t
er
db: don
'
t
s
p
lit negatives using
n
u
ll/no
n
_null
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpenter
db: add a
n
e
w callback
f
or ins
e
rting stuff
into caller_info
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpenter
function_ptrs:
dele
t
e a stra
y
space charact
e
r
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpenter
estate: pointers don't ha
v
e har
d
maxes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
D
an Carpenter
mtag_data: ignore
b
oot
_
params
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpente
r
mtag_
d
ata: ignor
e
h
e
ad->next
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Da
n
Carpenter
helper: print E
X
PR_SE
L
ECT
and
E
XPR_CON
D
I
TION with expr_to_s
t
r()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carp
e
nter
mtag_m
a
p: add a t
a
g_offset field
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
D
an Carpe
n
ter
f
re
s
h_all
o
c: NULL
is not a fresh al
l
oc
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan
C
arpenter
debug: move __pr
i
nt
_
s
tates() t
o
smatch_states
.
c
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpenter
math: hand
l
e unknown m
a
ximums
i
n subtrac
t
operatio
n
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan
Carp
e
nt
e
r
flo
w
: call ASSIGN
M
E
NT_HOOK
_
A
FTER for complicated assignm
e
n
ts
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-28
D
an Carpenter
mtag:
u
p
da
t
e swap_m
t
ag_return()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
Dan C
a
rpenter
f
r
e
sh_al
l
oc: mark
u
s
e
d data as u
n
fresh
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
Da
n
Ca
r
penter
fresh_alloc: expo
r
t
i
s
_
f
resh
_
al
l
oc(
)
and is_fresh_alloc
_
var_
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
Dan Carpenter
fresh
_
alloc
:
NUL
L
point
e
rs
a
re not fresh
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
D
an
C
arpenter
mt
a
g: export st
r
_to_mtag()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
D
a
n Carpenter
type: impro
v
e debug output for NULL types
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
Dan Carp
e
nter
slis
t
:
f
ix __prin
t
_stree(
)
debug output
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-22
Dan
Carpenter
db: de
l
ete more dea
d
co
d
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-22
Dan Carpenter
db
:
remove
DB remove some dead code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-14
Dan C
a
rp
e
nter
fresh_alloc: fix compi
l
ing
(
missing
c
hunk of commit)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-10
D
an C
a
rpente
r
container:
improve
how as
s
ignments
a
re ha
n
dled
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-09
Dan
Ca
r
penter
locki
n
g: warn when there is
a
missing
irq_restore
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-09
Dan C
a
r
penter
v
alidation: updat
e
lock
i
ng validat
i
on
tests
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-08
Dan Carpent
e
r
locking: remove wine locking
che
c
k
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-06
Dan Carpenter
f
re
s
h
_
alloc: track whi
c
h al
l
ocations
a
r
e fr
e
sh
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-06
D
an Carpenter
mat
h
/ranges/he
l
p
e
r: imp
r
ove floa
t
ing point support
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-06
D
an Carpenter
smatch
.
h
:
a
d
d the
d
eclarati
o
n to sm_to_arg_name()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-12-12
Dan Ca
r
penter
h
elper
:
introduce get_param_sym_from_num()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-12-12
Dan Carpenter
sv
a
l:
i
nitial floating p
o
in
t
s
u
pport
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-12-12
Dan Ca
r
pente
r
d
b: improve split_success_fail
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-12-12
Dan Carpen
t
er
db: fix
s
plit
_
positiv
e
_
from_n
e
gative()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-12-12
Da
n
Carpenter
con
t
ainer_of: a
func
t
ion
is not
a
container of its
e
lf
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-12-12
D
an
Carpenter
conta
i
n
e
r_of: fix how container of
star i
n
format
i
on
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-12-12
Dan Carpenter
co
n
tainer_of:
move strip_ex
p
r
(
)
e
arlier
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-12-12
Dan C
a
rpent
e
r
d
b
: r
e
name has_possible_z
e
r
o
_null() to has_sepa
r
ate_zero_null()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-12-12
Dan Carpen
t
e
r
db:
add a short cut in h
a
s_possible_nega
t
ive()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-12-12
Dan
Carpenter
rosenberg: don'
t
leak
uninitialized
stru
c
t
s
t
o
ma
l
icious
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-12-12
Dan Carpenter
comparison
:
sp
l
it
unknown co
m
paris
o
ns into fake comparisons
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-12-12
Dan Carpenter
c
o
nta
i
n
er_of: handle "f
o
o
.
fn(&
f
oo);"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-12-12
Dan
C
arpenter
co
n
tainer
_
of: st
o
re li
n
ks
t
o cont
a
iner_of wh
e
n passi
n
g
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
next