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
return_to_param: fix a crashing bug
2018-03-06
Dan Carpenter
return_to_
p
aram: fix a
crashing b
u
g
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-03-06
Dan Carpenter
struct_assig
n
ment/as
s
igned_expression: save so
m
e m
o
re
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-03-06
Dan
Carpe
n
te
r
expressions
:
free
allocated expressions a
f
ter the
end
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-03-05
Dan C
a
rpenter
rosen
b
erg:
c
heck the correct alignment
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-03-01
Dan Carpenter
Merge
g
i
t://git
.
kernel
.
org/pub/scm/
d
eve
l
/sparse/sparse
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-02-27
Dan Ca
r
p
en
t
er
mtag: fix build error
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-02-22
Dan Carpenter
h
e
lper: fix
segfault parsing
invalid co
d
e
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-02-21
Dan
C
ar
p
enter
type_
v
al: dev_get_d
r
v
d
ata()
d
oesn't set
the ty
p
es
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-02-21
Dan
Carpenter
or_vs_and:
white spa
c
e
c
leanup
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-02-21
Dan Carpe
n
ter
con
d
iti
o
ns: p
a
s
s S
E
L
E
CT_HOO
K
f
or sele
c
t assignments
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-02-21
D
an Carpenter
estate: wh
i
te spac
e
c
l
ean up
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-02-21
Dan
Ca
r
pent
e
r
c
o
nst
r
aints: allow binop constrain
t
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-02-21
Dan Carpenter
sm
a
tch_com
p
arison:
f
ix a cra
s
hing
b
u
g
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-02-21
Da
n
Carpenter
c
h
e
c
k_kernel:
h
andle fls()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-02-21
D
a
n Car
p
enter
ext
r
a: tight parameter val
u
e
s
a bit
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-02-21
D
an Ca
r
penter
extra:
handle "if (foo & 0x1
)
{"
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-02-21
Dan
Carpenter
extra: don't set
t
rue/false s
t
a
tes if it's the same
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-02-21
D
a
n
Carpe
n
t
er
implied: use as
s
ume()
e
ven if the
r
e are no
i
mplications
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-02-21
Dan Carp
e
nter
math: sile
n
ce hard
max false p
o
sitives
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-02-21
Dan Carpenter
slist
:
don't pass stuff t
o
pre_merge_hook
s
that isn
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-02-21
Dan Carpe
n
t
er
mtag
:
kill an endless
loop i
n
u
p coming code
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-02-21
Dan Carp
e
nter
ca
l
l_math: initi
a
lize some strings
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-02-21
Dan
C
arpenter
fn_a
r
g_li
n
k: fix an endle
s
s loop
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-02-20
Dan
C
arpenter
db:
fix a segfaul
t
parsing
invalid code
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-02-19
Dan Carpenter
c
omparison
:
improve handling o
f
"if (
f
o
o +
1
>
l
i
m
it) "
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-02-16
Dan
C
a
rpenter
db/co
m
parison:
Use mask info
r
mation to get compariso
n
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-02-16
D
a
n Carpenter
c
o
mparison
:
handle
_
_smatch_comp
a
re(
f
oo, bar
-
1)
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-02-16
Dan
Carpenter
extra:
c
leanup
h
andle_AND_op()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-02-16
Dan Carpen
t
er
extr
a
: cleanup handli
n
g "if (foo & 0x1) {"
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-02-13
Dan Ca
r
pe
n
t
e
r
u
s
e
r_data: silence some fa
l
se positives
with divi
d
es
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-02-13
Dan Carpenter
u
s
er_data2: si
l
ence some false positiv
e
s handling ntohl
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-02-13
D
an Carpente
r
conditio
n
s: hack a
r
ound "if (foo | bar) {
"
(bitwise OR)
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-02-09
D
a
n Carpenter
d
a
ta
/
kernel
.
igno
r
e
_macro_inden
t
ing:
i
gnore t
c
p_skb_tsort
e
d_r
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-25
Dan Carpen
t
er
db/smdb
.
py: change some
f
ormatt
i
ng
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-25
Dan C
a
rpenter
db/smdb
.
py: fix the PARAM_COMP
A
RE/LIM
I
T
types
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-25
Dan Carpenter
rosenberg: fix a crashing
b
ug
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-25
Dan Carpenter
user_data2: do a hack around
in the
pre_m
e
rge_
h
ook()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-25
D
an Carpenter
cons
t
raints
:
handle conditions like "if
(8 < x) {"
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-25
Da
n
C
arpenter
expr
_
to_chunk_helper: set *sym when there is only one
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-25
D
a
n Carpenter
slist: al
l
ow show_sm() to a
c
cept NULL
pointers
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-25
Dan Carpenter
f
l
ow: d
o
n't fake an imp
o
ssib
l
e defau
l
t
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-25
Dan Carpenter
type_val: record fewer "unknown" assignment
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-25
Dan Carpenter
flow: set
loop_count to zero
w
hen pa
r
sing inline fun
c
t
i
ons
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-25
Dan
Carpenter
core: silence
som
e
false positive
s
fro
m
parsing i
n
valid
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-19
Dan Carpe
n
t
er
impl
i
ed: use a time based t
i
meout instead of counting
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-19
Dan Carpenter
extra: h
a
ndle
l
oops like: w
h
ile (--i >= 0) {
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-18
Dan Carpenter
func
t
ion
_
ho
o
ks:
fa
k
e a
n
a
ss
i
gnment when function
s
return
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-18
D
a
n
C
arpen
t
er
ch
e
ck_f
r
e
e_strict:
New stricter cr
o
ss function us
e
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-17
Dan Carpenter
chec
k
_
atomic_i
n
c_
d
ec: track atomic_inc() and atomic_
d
e
c()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-17
D
a
n
C
arpenter
a
s
signed_expr
:
hand
l
e f
a
ke
assignments bette
r
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-17
Da
n
Carpent
e
r
assigned_expr:
r
emo
v
e
debug
cod
e
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-16
D
a
n Carpent
e
r
kernel_pri
n
tf: %px
is valid
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-16
Dan Carpente
r
stree: debug
g
ing: print the
number of states in _
_
pri
n
t_stree()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-12
D
a
n Carpente
r
mtag: co
m
mit a
l
l mtag r
e
lated
c
ode
to date
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-12
D
a
n
Carpenter
smdb
.
py: fix some crashing bu
g
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-12
Dan Car
p
enter
conta
i
ner_of: handle
f
unct
i
on c
a
lls
l
i
ke f
o
o->
b
a
r
(f
o
o
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-12
Dan Carpenter
s
match:
g
e
t the smatc
h
bin
d
ir
co
r
rectly wh
e
n it
'
s
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-11
Dan Carpenter
user
_
data2: empty sta
t
e
s
a
r
e
n
ot
u
ser d
a
ta
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-11
Dan
C
arpe
n
ter
constr
a
i
n
ts_req
u
ired: imp
r
ove handling of assigned
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-11
D
a
n
C
arpenter
d
b
:
d
on'
t
split by NULL
vs non-NULL when there are
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-11
Dan Carpe
n
ter
flow: s
t
ore
a
backup of the start ti
m
e when parsing
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-11
Dan
C
arpenter
helper: c
h
a
n
ge some nonsense
v
alues to other nonsense
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-11
D
an Carpent
e
r
DB: introduce a timeo
u
t handling cal
l
e
r
i
n
fo
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-11
Dan
C
arpenter
add
r
ess: fi
x
h
a
ndling
o
f
&
f
o
o
->bar
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-11
Dan Carpenter
con
t
s
t
rai
n
ts: use c
a
ller info
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-11
D
a
n Carpenter
co
n
straints:
mov
e
print_return_implies_constra
i
ned()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-11
Dan
C
a
rp
e
n
ter
constraints: cleanu
p
unmet_constraint()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-11
D
an Ca
r
penter
cons
t
r
a
ints:
fi
x
a
d
d_const
r
a
int()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-09
Dan Carpenter
m
tag: introduce crea
t
e_mtag_
a
l
i
a
s
()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-08
Dan
Carpenter
mtag:
f
ix get_m
t
ag() for recor
d
ed
states and for arrays
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-08
Da
n
Car
p
e
n
ter
links: no need to recor
d
l
i
nks outside a function call
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-08
Dan Car
p
en
t
e
r
type_val: cache DB info as a speed up
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2018-01-08
Dan
Carpenter
string_list: prevent a u
s
e after free
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2017-12-14
Dan Carpente
r
mt
a
g: rename from mta
g
s plural
t
o mtag singular
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2017-12-07
Dan Carpenter
helper
:
keep a
small cache
o
f recent
l
y
u
sed v
a
riab
l
e
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2017-12-07
Dan C
a
rpenter
extr
a
: pas
s
expression pointer t
o
m
o
d
/nomod hooks
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2017-12-07
Dan Carpenter
extra: wr
i
te infrastructure to pass expr to no_mod
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2017-12-07
Dan
C
arpenter
db/b
u
ild_early_ind
e
x
.
s
h: set up m
o
re mta
g
i
ndex
e
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2017-12-07
Da
n
Carp
e
nter
expressio
n
s: initializ
e
->mem
b
e
r
_offs
e
t() in m
e
mbe
r
_expression()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2017-12-07
Dan Carpenter
function_hooks
:
s
et path impossible if we cull everything
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2017-12-07
D
an
C
arpenter
m
tags:
r
emove the & p
r
e-
o
p
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2017-12-07
Dan
Carpenter
scri
p
t
s/gen_al
l
ocation_list
.
sh:
add __a
l
l
oc_skb(
)
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2017-12-07
Dan Carpenter
db/fi
x
up_ker
n
el
.
sh: snprintf() retu
r
n
s
are
n
't really
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2017-12-07
D
an
C
arp
e
n
t
er
extra: pass the modif
i
ed expre
s
s
ion to e
x
tra_mod
_
hoo
k
s
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2017-12-07
Dan
C
a
rpen
t
er
ext
r
a: store values
for ex
p
r
e
s
sions li
k
e
"
f
o
o
[3
]
.
bar"
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2017-12-07
Dan Carpent
e
r
addres
s
:
don't se
g
fault parsing invalid co
d
e
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2017-12-06
Da
n
Carpe
n
t
e
r
ignore
:
re-write
a
n
d
a
dd _exp
r
() versi
o
ns of functions
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2017-12-06
Dan Carpenter
param_set/filter: PAR
A
M_SET i
n
stea
d
of PARAM
_
A
D
D
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2017-12-06
D
a
n Carpent
e
r
parse_c
a
ll
_
m
a
th: u
s
e
as
s
igned values
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2017-12-06
Dan Ca
r
penter
sval: imp
r
ov
e
s
v
al
_
bin
o
p_ove
r
flows()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2017-12-06
Dan Carpenter
ex
t
ra: don't modify const parameters
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2017-12-06
Dan
Carpenter
address/ty
p
e
: make some function parameters const
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2017-12-06
D
a
n
Carpenter
struct_assig
n
ment: remo
v
e a
n
duplicate NULL
check
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2017-12-06
Dan
C
a
rpe
n
ter
st
r
uct_assignment: don
'
t double par
s
e
u
l
o
n
g assignments
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2017-12-06
Dan Carpenter
st
r
uct
_
assignment: fix a
NUL
L
d
e
r
ef
e
rence
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2017-12-04
Dan Carpenter
db/
m
tags:
a
dd
m
tag_data and mt
a
g_map tables
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2017-12-04
Dan Carpenter
db/fn_ptr_da
t
a_link:
d
on't store
duplicate re
c
ords
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2017-12-04
Dan
C
a
rpe
n
ter
db: allow SQL stat
e
ments t
o
be ru
n
later
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2017-12-04
D
a
n
Carp
e
nter
db: introduce get_
m
tag_
n
a
m
e
_expr
(
)
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2017-12-04
Dan
Carpenter
struct_ass
i
gnment
:
h
andle non struct, p
o
inter assi
g
nments
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
next