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
zero_to_err_ptr: don't warn on impossible paths
2019-02-18
Dan Ca
r
p
e
nter
z
e
ro_to_err
_
ptr: do
n
't w
a
rn on imposs
i
ble paths
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-15
Dan Carpenter
estate: del
e
te estate_
f
ilter_range/sva
l
()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-15
Dan
C
arpenter
ker
n
el: fix
t
ype bug
h
andl
e
IS_ERR() and friends
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-13
Dan Carpenter
d
b: don't
p
retend to dereference
inte
g
ers
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-13
Dan Carpenter
test
i
n
g_i
n
dex_after_use: re
m
ove
debug c
o
de
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-12
Dan Carpen
t
e
r
cappe
d
: don
'
t set cap
p
e
d for
know
n
values
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-12
Da
n
C
a
rpenter
extra: tweak hard max in c
o
nd
i
t
i
ons and macr
o
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-12
Dan Carpent
e
r
extra: pass
hard max acr
o
s
s
function
boundaries
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-12
Dan Carpen
t
e
r
db:
s
plit zero a
n
d n
o
n-
z
e
r
o
returns
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-12
Dan Carpenter
implie
d
:
remove
some dead code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-12
Dan Carpe
n
ter
implied: rem
o
ve a nonse
n
s
e limita
t
ion
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-12
Dan C
a
rpenter
te
s
ting_index_after_us
e
: silence some false p
o
sitives
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-12
D
a
n Carpenter
im
p
lied:
r
e
move
the
-
-debug-
i
mpli
e
d option
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-12
Dan Carpenter
stat
e
s: fix a
b
ug handling
neg
a
te
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-12
Dan
Ca
r
p
enter
equiv: upd
a
te
"other" n
a
m
e
s
as well
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-08
Dan Carpenter
buf_comparison:
r
e-w
r
ite
to be more flexible
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-08
Dan C
a
rpen
t
er
db/kernel
.
retu
r
n_fixes: add some more return
f
ixes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-08
Dan Carpenter
db/vim_db: don't co
m
plain when t
h
e
f
i
l
e
is not found
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-08
Dan
Carpenter
db/create_db
.
sh: don't compl
a
in when -p=<proje
c
t> is
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-08
Dan
C
arpenter
d
b
/fixup_
k
ernel
.
sh: fix
up st
u
ff f
r
om the
u
nsigne
d
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-08
Dan Carp
e
nte
r
validation: update a few tests
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-08
Dan Carp
e
nter
t
ype: commi
t
s
ome missin
g
pieces
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-07
Dan
C
a
rpen
t
e
r
ext
r
a
:
small speedup in set
_
param_hard_max()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-07
Dan
C
arpenter
helper
:
f
i
x ex
p
r
_
to_
c
hunk_helper()
f
o
r struct me
m
bers
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-07
Dan
C
a
rpenter
comparison: print a "%s" string
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-07
D
an Carpente
r
con
s
tr
a
i
n
ts:
r
emove d
e
bug
g
ing and use th
e
stripped
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-07
Dan Ca
r
penter
d
b: improve
re
c
ording c
o
mparison
s
to parameters
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-07
Dan
C
a
r
p
enter
implied: remove
s
ome
d
uplicate d
e
bug code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-07
Dan Carpe
n
t
er
r
eal_absolute: don't store d
a
ta for arrays
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-07
Dan C
a
r
penter
s
v
al: remove an extra
spa
c
e
chara
c
ter
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-07
Dan Carpe
n
te
r
type
:
make
pointers
u
nsigne
d
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-07
Dan
C
a
rpenter
extra: tighten ca
n
o
n
ica
l
for loop handling
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-07
D
an Carpenter
extra
:
fix function
c
ompariso
n
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-05
D
an
Carpenter
ranges: improve casting negativ
e
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-05
Dan Carp
e
n
ter
i
m
p
lied
:
don't use incomplete
states
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-05
Dan Carpenter
impl
i
c
a
tion
s
: remove a magic numbe
r
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-04
Dan Carpenter
db
:
show comparison
strings for conditional returns
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-04
Dan Carpenter
d
b
: don
'
t store recursi
v
e
struct
m
em
b
ers
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-04
Dan
C
arpenter
type: handle
p
ointer typ
e
correc
t
ly
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-04
Dan
C
arpente
r
extra/untrack
e
d_pa
r
am:
m
ark lost parameters
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-02-04
Da
n
Carpenter
add
r
ess: return u
n
known
if we can'
t
figure out
t
h
e
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-01-31
Dan Carpenter
im
p
lied: tweak some debug sta
t
eme
n
ts
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-01-28
Dan Ca
r
penter
e
x
pressions:
p
arse
"
$0->foo
.
bar" co
r
r
ectly
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-01-28
Dan Car
p
enter
r
eturn
_
to_p
a
ram
:
u
s
e
i
d
ent->le
n
instead
o
f
str
l
e
n
()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-01-28
Dan Carpente
r
param
_
set: ha
n
dle mtag assign
m
ent
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-01-28
D
a
n Carpe
n
t
e
r
assign
e
d_
e
xpr: make i
t
work f
o
r parameter assignments
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-01-25
Dan C
a
rpenter
e
q
u
i
v: us
e
D
B
informatio
n
to set extra
s
tate in equiv
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-01-23
Dan
Carpe
n
ter
e
x
tra:
improve get_other_name_sy
m
()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-01-23
D
a
n
C
arpen
t
er
extr
a
: futz a
r
ound
w
ith get_o
t
her_n
a
me_sym()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-01-22
Dan Carpenter
helper: impr
o
ve
g
e
t_member_name() fo
r
anonym
o
us
struct
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-01-22
Dan Carpenter
db: escape new
lines in save_cache_data()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-01-22
Dan Ca
r
penter
ranges: constify
c
all_results_t
o
_rl()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-01-22
Dan Carp
e
nter
extr
a
: filter really long unused
p
aram value i
n
formation
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-01-22
Dan Carpe
n
ter
e
x
tra
:
use ident->l
e
n inste
a
d of calling strlen
(
ident
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-01-16
D
an Carpe
n
ter
db:
don't cre
a
te new splits
i
n spl
i
t_positive_from
_
n
egative()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-01-16
Dan
C
a
r
pen
t
er
extra: fix retu
r
n
ed
_
struct_mem
b
ers()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-01-16
Dan Ca
r
p
e
nter
p
aram_used: fix handling of called
f
unctio
n
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-01-16
D
a
n
Carpenter
extra:
e
xport i
n
_war
n
_on_macro()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-01-16
D
an Carpenter
typ
e
:
misc smal
l
cleanups
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-01-16
Da
n
Carpenter
t
y
pe: fix get_member_from_st
r
i
n
g()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-01-16
D
a
n
Carpenter
kpa
t
ch
.
s
h: fix spelling
s
/
a
mmend/amend/
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-01-16
D
an
C
arpenter
t
y
pe:
add a s
h
ort cu
t
i
n
ge
t
_real_base_type
(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-01-14
Dan Carpenter
impli
e
d
:
Pre
s
e
r
ve ->ha
r
d_
m
ax
f
o
r
f
ake history states
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-01-14
D
a
n Carpen
t
er
ext
r
a: preser
v
e ha
r
d_max after comp
a
r
i
s
o
ns to zero
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-01-08
Dan Carpenter
slist:
m
ake s
m
->children a smaller type
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-01-08
Dan Carpen
t
er
slist: rename variab
l
es in
_
_mer
g
e_stree()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-01-08
Dan Carpen
t
er
s
list:
handle the f
a
st path in __merge_stree()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-01-08
Da
n
Carpen
t
er
sl
i
st
:
simplify __me
r
ge_s
t
ree()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2018-12-19
Dan Carpenter
nospec: d
o
n't reco
r
d no
s
p
e
c para
m
eter info which h
a
sn
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2018-12-14
Dan Carpent
e
r
dm
a
_mapping_erro
r
: u
p
d
a
te to only c
o
m
p
la
i
n about legacy
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2018-12-11
John Levon
R
emov
e
-Wempt
y
-character-constan
t
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2018-12-07
Dan Ca
r
p
enter
s
m
a
tc
h
: ad
d
a --succeed opti
o
n
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2018-12-06
John
L
ev
o
n
Add i
l
lumos projec
t
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2018-12-06
Jo
h
n
L
ev
o
n
Convert
some sm
_
m
sg() i
n
to more specific rep
o
rting
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2018-12-06
John L
e
von
C
o
nver
t
sm
_
msg() with an error: pre
f
ix into
sm_error()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2018-12-06
Jo
h
n Lev
o
n
Convert all sm_msg("warn
:
.
.
"
i
nto sm_
w
a
rning()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2018-12-06
John Levon
R
e
gulari
s
e
e
rror
r
e
portin
g
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2018-12-06
Dan Car
p
e
nter
db: make
e
scape_new
l
i
n
es()
t
ake a con
s
t pointe
r
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2018-12-04
Dan Carpe
n
ter
pars
e
.
h:
c
r
eate s
t
m
t_get_parent_stmt()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2018-12-04
Dan
Carpente
r
constrai
n
ts: escape
S
QL statements
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2018-12-04
Dan Carpenter
statement_count: record h
o
w
m
an
y
state
m
ents there ar
e
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2018-11-30
Dan C
a
r
pe
n
ter
e
xtra/db
:
silence an invalid SQL warning
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2018-11-29
Dan Carpenter
buf_size: fi
x
handling of 1 elemen
t
arrays
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2018-11-29
Dan C
a
rpenter
db: sql debug
m
ode was execut
i
ng the
SQL twice
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2018-11-28
Dan Car
p
enter
test
_
bi
t
: a
d
d
t
e
s
t
_
and
_
se
t
_bit()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2018-11-28
D
a
n
C
ar
p
ent
e
r
debug: i
n
trodu
c
e _
_
smatc
h
_
mem(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2018-11-28
D
a
n Carpenter
d
b: don't sa
v
e
struct members for integers
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2018-11-28
Dan Carpenter
implied
:
remove an unne
c
e
s
sa
r
y NU
L
L
c
h
e
c
k
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2018-11-28
Dan C
a
rpenter
nul_term
i
nat
o
r: export
t
h
e is_nul_t
e
rmina
t
ed() funct
i
on
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2018-11-28
Dan Carpenter
kpatch: use g
i
t
instead of trying to crea
t
e di
f
fs by
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2018-11-28
Dan Carpen
t
er
s
t
ruct_assi
g
n
m
ent: handle unions as well
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2018-11-28
Dan Carpenter
m
i
s
s
in
g
_br
e
a
k
:
t
urn i
t
off by defau
l
t
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2018-11-28
Da
n
Car
p
en
t
er
free_strict
:
fix some false positives
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2018-11-28
Dan Carpenter
Revert "Look across the
ent
i
re compile line for sm
a
tch
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2018-11-27
John Le
v
on
Lo
o
k ac
r
oss the en
t
i
re com
p
ile line
f
o
r sm
a
t
c
h arguments
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2018-11-27
John Levon
spar
s
e: add -Wem
p
ty-c
h
aracter-constant
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2018-11-27
J
ohn Levon
s
parse: add
-Wbig-constants
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2018-11-27
J
o
hn Lev
o
n
sparse: add -Wn
o
-non-ansi
-
fun
c
tion-declaratio
n
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2018-11-27
John L
e
vo
n
sparse: correctly handle "-D foo" and "-U f
o
o
"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2018-11-27
Luc Van Oostenryck
fix:
s
paces
in
m
acro
def
i
n
ition
on
the co
m
mand l
i
ne
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
next