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
compare: introduce get_all_comparisons()
2014-10-27
D
an Carpenter
c
o
mpare: introduce get_all_comparison
s
()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-10-27
Dan C
a
r
p
enter
db: add data_info table
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-10-21
Dan C
a
rpent
e
r
auto_copy
:
as
s
i
gnments copies states
a
u
t
omat
i
cally
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-10-20
Dan Carpenter
buf
_
comparison:
l
o
o
k
f
o
r
o
ff by o
n
e erro
r
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-10-17
Dan Ca
r
pen
t
er
Me
r
ge branch 'devel'
commit
|
commitdiff
|
tree
2014-10-16
Dan Carpente
r
e
r
r_ptr
_
dere
f
:
error
m
essage should say "neg
a
t
ive"
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-10-16
Da
n
Carpe
n
t
e
r
f
re
e
: improve cross function trackin
g
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-10-16
Dan Carpenter
shift_to_zero: c
h
eck fo
r
th
i
ngs lik
e
"(foo
&
0xff
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-10-14
Da
n
Carpenter
parse_call_math: handle ma
t
h like "$0->foo + 5"
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-10-13
Dan Carpent
e
r
p
a
rse_call_mat
h
: more format change fallout
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-10-13
Dan Carp
e
nter
p
a
rs
e
_
c
all_math: NULL
terminat
e
buf size recipes
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-10-10
Dan Carpenter
call_math: use
r
a
nge lists i
n
stead of o
n
ly exac
t
va
l
ues
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-10-10
Dan Carp
e
nter
ranges
:
s
tart implementing rl_bi
n
op()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-10-09
Dan C
a
rpent
e
r
com
p
a
r
ison: store general
l
imit
s
in the database
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-10-09
D
a
n
C
arpenter
comp
a
rison: tak
e
original co
m
pariso
n
into accoun
t
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-10-09
Dan Carpenter
v
alidation:
a
d
d a test f
o
r the recen
t
f
u
nction compa
r
e
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-10-08
Dan Ca
r
penter
fun
c
tion_hooks: function co
m
p
a
r
i
sons
can imp
l
y a parameter
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-10-08
Dan Carpenter
f
i
xup
_
kernel
.
sh:
sev
e
r
a
l i
m
portant updates (
b
u
gfixes)
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-10-07
Da
n
C
arpent
e
r
c
o
mparison: ren
a
me falsify_op
(
) to negate_comparison
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-10-07
Dan Carpenter
rang
e
s: re
n
ame
f
ilter_by_c
o
mp
a
riso
n
() to som
e
thing
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-10-07
Dan Carpe
n
ter
cgcc: revert p
a
rt of the -W
e
rror
check
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-10-07
Da
n
Carpente
r
com
p
ari
s
on: ren
a
me flip
_
op() to flip_comparison() and
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-10-03
D
a
n
C
a
r
pen
t
er
M
erge
g
it:/
/
g
it
.
kernel
.
org/pub/
s
cm/devel/sparse/chrisl
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-10-02
D
a
n
C
arpenter
smdb
.
py: add some
help text
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-10-02
Dan Carpenter
bui
l
d_kernel_data
.
sh
:
er
r
o
r out if the
r
ight package
s
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-29
Dan Carpenter
co
m
parison
:
don't sto
r
e compa
r
iso
n
s t
o
o
n
e
's self
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-29
Da
n
Carpenter
comp
a
rison: add a co
m
men
t
for
u
pdate_
t
f_li
n
ks
(
)
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-29
Dan Carpenter
compa
r
is
o
n:
g
et rid of the chunk_vs
l
_eq() function
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-29
Dan Carpe
n
ter
c
o
mparison: pass the filtered false state
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-29
Dan Carpenter
comparison: cleanu
p
update
_
tf
_
d
ata()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-27
Dan Carpenter
db
:
f
i
x handling o
f
nested
c
alls
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-26
Dan Carpenter
states: add an assert
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-26
Dan Ca
r
penter
buf_size: hand
l
e strlen() a bit better
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-26
D
a
n
C
arpenter
locking: add ffs_mutex_lock
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-26
Dan
Carpenter
flow: the
_
_
i
n_
p
re
_
conditi
o
n variab
l
e needs t
o
be set
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-26
Dan Carpe
n
t
e
r
smatch
.
h: s
t
ore some dummy
database t
y
pes tempora
r
ily
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-26
D
a
n C
a
rp
e
nter
d
b
: ex
p
o
s
e
t
h
e
data
parame
t
er so we can use
data in
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-26
Dan
Carp
e
nter
p
a
rse_cal
l
_math: change API to us
e
ran
g
e lis
t
s (mos
t
l
y
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-26
Dan Carpent
e
r
ran
g
e
s
:
fix
p
arsing tha
t
I b
r
oke this aft
e
r
noon
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-26
Dan Carpenter
compar
i
so
n
: f
i
x up filter_compariso
n
()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-26
Dan
Carpent
e
r
range
s
: use t
h
e ranges st
o
red in the d
a
tabase properly
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-26
D
an Carpent
e
r
rang
e
s: fix crashing bug
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-26
Dan C
a
rp
e
n
ter
ranges:
simplif
y
and robustif
y
str_t
o
_rl_hel
p
e
r() a bit
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-26
Dan Carp
e
nter
para
m
_limit
:
sav
e
the comp
a
riso
n
to
the arguments
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-26
Dan
C
arpenter
fun
c
tion_hooks:
f
ix ho
w
database
c
o
mparisons are done
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-26
Dan Carpenter
comparison: pass t
h
e
ignor
e
f
ield t
o
rang
e
_comp
a
rison_to_par
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-26
Dan
C
arpent
e
r
comp
a
r
ison: take previous co
m
parison
s
i
n
t
o
ac
c
oun
t
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-25
Dan Carpente
r
db: pr
e
fer
l
itera
l
s to pa
r
ameter math
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-25
D
an Car
p
en
t
er
db: re
-
add
some missing [] chara
c
te
r
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-24
Dan Ca
r
penter
a
s
signed_
e
xpr: undefine o
n
modification
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-24
Dan Carpenter
db: fix how parameter math works
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-24
Dan Carp
e
nter
assigned_exp
r
:
add
reverse lin
k
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-24
Dan Carpenter
links:
creat
e
a s
m
a
tch_links
.
c file with functions
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-22
Dan Carpenter
parse_call_math: fi
x
lef
t
overs fr
o
m the f
o
rmat change
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-22
D
a
n Carpe
n
ter
param_set: write st
r
u
c
t members
i
n terms of parameter
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-22
Dan Carpente
r
e
x
t
r
a: writ
e
certa
i
n returned
str
u
ct members in ter
m
s
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-22
Dan
Carp
e
nter
d
b: pas
s
the return expre
s
sion
to th
e
r
e
t
urned_member_cal
l
back
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-22
Da
n
Carpenter
e
xt
r
a: save r
e
t
ur
n
values in t
e
rm
s
of
parame
t
er
math
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-22
Dan Carpenter
db
:
unify h
o
w p
a
rameter descriptions a
r
e saved
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-22
Dan Carpenter
c
o
m
parison: add a
n
ig
n
ore
parameter to
ex
p
r_equal_to_param()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-17
Da
n
Carpenter
unreacha
b
l
e: ignore the
unre
a
chable(
)
macro
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-17
Dan Carpenter
e
r
r_ptr
_
deref: pas
s
ing an ERR_PT
R
to kfree() is a bug
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-17
Dan Carpente
r
extra: han
d
l
e
mer
g
i
n
g NULL pointer
s
better
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-16
Dan
C
arpen
t
er
e
x
t
r
a: addresses of array
s
are non-NULL
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-15
D
an Carpenter
db: remove bogus
parameter inf
o
rma
t
i
o
n from hook type
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-15
Dan Ca
r
penter
d
b
: add a new
table which
h
old parameter ty
p
es
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-11
Da
n
Ca
r
penter
typ
e
:
int
r
o
duce
t
y
pe_to_str()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-09
Dan Carpenter
locking: remove some duplicate "sometime
s
lo
c
ked" war
n
ings
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-04
Dan
C
a
rpente
r
g
ene
r
isize
.
pl:
filter some
mor
e
stuff
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-04
Dan Carpenter
g
e
neresize
.
pl: cleanup indentation
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-09-04
Dan
Carpent
e
r
ranges:
a point
e
r to an arra
y
i
s
j
u
st a
p
ointer
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-08-29
Dan Carpenter
extra: rec
o
rd
g
lobal declar
a
ti
o
ns
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-08-29
Dan Carpenter
conditions: updat
e
some debug output
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-08-29
Dan Carp
e
nte
r
c
o
mparison: introduce possible_co
m
pariso
n
()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-08-29
Dan C
a
rpen
t
er
e
xtr
a
: update a debug statement
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-08-29
Dan Carpenter
f
u
nction_ptrs: track fun
c
t
ions which return a function
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-08-29
Dan Car
p
enter
s
h
ow_errs
.
sh: q
u
ote some strings p
r
operly
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-08-29
Da
n
C
arpent
e
r
sl
i
st:
put
get_sm
_
state
_
stre
e
_stack() in the
.
h f
i
le
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-08-29
Dan Carpenter
states: change the
deb
u
g
output format
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-08-29
Dan Car
p
enter
str
u
c
t_as
s
ig
n
m
ent: handle kzal
l
oc()
better
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-08-29
Dan Carpent
e
r
slist: a
d
d the filen
a
me to some
d
ebug
output
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-08-29
D
a
n
C
arpenter
flow: parse global v
a
r
i
a
bles before par
s
ing f
u
nctions
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-08-29
Dan C
a
rpe
n
ter
slis
t
:
export the set_state_s
t
re
e
_pe
r
m
() f
u
nction to
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-08-29
D
a
n Carpente
r
comparison: a variable is alwa
y
s e
q
ual to it
s
elf
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-08-25
Dan C
a
rpenter
re
m
ove null tests for arrays
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-08-25
Dan Car
p
enter
Makefile: allow CC to be defined out
s
id
e
the makefi
l
e
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-08-25
Dan
C
arpent
e
r
silence non-AN
S
I warnings
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-08-05
Dan
Carpe
n
ter
h
el
p
e
r: prevent segfault
i
n expr_to
_
var()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-07-25
D
a
n
C
arpent
e
r
extra: im
p
rove handlin
g
of "if (x *
4
> 12) {"
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-07-18
D
an Carpenter
missi
n
g_b
r
eak
:
make a fun
c
tio
n
static
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-07-14
Dan Carpen
t
er
db: f
i
x runtime breakage
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-07-11
D
an Ca
r
p
e
n
t
e
r
deref
e
rences_
p
aram: add mor
e
derefere
n
c
e
d var
i
ab
l
es
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-06-20
Dan Carpenter
ran
g
es: remove unnee
d
ed NULL check
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-06-20
Dan
Carpe
n
ter
typ
e
_val:
s
tore fake assignme
n
ts in a slightly different
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-06-20
D
a
n Car
p
enter
param_set/filter: d
o
n'
t
print less useless
i
nfor
m
a
t
ion
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-06-19
Dan Carp
e
n
t
er
d
b
: fixup a
f
ter call_implies cha
n
ges
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-06-19
Dan
Ca
r
p
enter
param_clea
r
e
d: handl
e
direct assi
g
nments
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-06-19
D
a
n Carp
e
nter
db: ma
k
e call_implies match caller_info
w
ith a key
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-06-18
Dan Carpenter
smdb
.
py:
f
i
x t
e
st fo
r
if a dat
a
t
y
pe
i
s known
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2014-06-12
Dan Carpenter
assigned_express
i
on: g
e
t the assi
g
ned
e
xpre
s
s
ion
usin
g
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
next