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
db: pass &foo type parameter information to called functions
2011-12-08
D
a
n
Carpenter
db: pa
s
s
&f
o
o type p
a
r
amete
r
information
to c
a
l
l
e
d
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-12-08
D
an
Ca
r
penter
m
at
h
: do math f
o
r get_implied_m
i
n
/
max()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-12-08
D
a
n Carpenter
help
e
r: wh
e
n displa
y
ing sizeof() information use bytes
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-12-08
D
a
n
Carpenter
capped: track capped v
a
riabl
e
s across fun
c
tion boundaries
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-12-08
Dan C
a
rpenter
debug: add __sm
a
tch_i
m
pli
e
d
_
mi
n
/max
(
)
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-12-01
Dan Carpente
r
mat
h
:
wh
i
te
spa
c
e cha
n
ges
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-11-25
Dan Carpenter
d
b: save function po
i
nters saved
in arrays of structs
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-11-22
Dan Carpent
e
r
db/functi
o
n_pt
r
: clear
t
he correct table
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-11-22
Dan Carpenter
db: r
e
m
o
ve untrusted table
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-11-21
Dan Carpent
e
r
ext
r
a: unops
d
on't norm
a
ll
y
change
the value of a
v
ariable
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-11-17
Dan Carp
e
nter
tiny
w
hi
t
e
sp
a
ce fixes
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-11-17
Dan Carpenter
u
n
capped_all
o
c:
d
el
e
te this check
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-11-17
Da
n
C
a
rpenter
helper: remove bogus pare
n
s
from get_v
a
ria
b
le_from_
e
x
pr
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-11-16
Dan Carpenter
up
d
a
te smatch_
d
a
ta for 3
.
2-rc
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-11-01
Dan Carpenter
A
llow check_debug
.
h to be inc
l
ude
d
m
ore than once
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-30
D
an Ca
r
p
enter
c
o
r
e
: add --f
i
l
e-o
u
tput v
a
riable for mak
e
-j8
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-30
Dan Carpenter
s
mat
c
h
_
extra: clear o
u
t struct members if
a
the
pointer
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-28
Dan Carpenter
extra: fix
crashi
n
g bug from la
s
t
c
ommit
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-22
Dan Carpent
e
r
extra: express
i
ons are equivalent eve
n
if
they are
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-22
D
a
n Carpenter
user_data: u
s
e
is
_
capped(
)
fun
c
tion
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-22
Dan
Ca
r
penter
us
e
r
_
data: handle binops
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-22
Dan Carpen
t
er
*new* smatch_capped: in
t
r
odu
c
e
is_capped()
f
unction
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-18
Dan Carpenter
*new* check_use
r
_
d
ata: re
c
ord a
l
l the use
r
data (and
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-13
Dan Carpenter
buf_si
z
e: there wa
s
a mis
t
ake in
handlin
g
ca
l
ls to
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-13
D
a
n Ca
r
penter
buf_siz
e
: record t
h
e size
o
f s
t
ruct me
m
be
r
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-13
Dan
Carpenter
ext
r
a: cleanup: use my_i
d
instead of SMAT
C
H_
E
XTRA
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-13
Dan Carpente
r
db
:
wrong param
e
ter number in s
t
r
u
c
t
member
c
a
llbac
k
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-13
Dan Carpente
r
ex
t
r
a
:
don't prin
t
an
e
x
t
ra $$
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-13
Dan Carpe
n
t
e
r
db:
l
imit th
e
number of function pointer calls we check
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-13
Dan Carpenter
db, ex
t
ra
:
introduce add_mem
b
er_info_callback()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-12
Dan
Car
p
ente
r
ex
t
ra, db: record
a
dummy output for e
v
ery
function
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-12
Da
n
Carpenter
db:
use opti
o
n_no
_
db
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-12
Dan Ca
r
penter
extra, db: mo
v
e som
e
db fu
n
c
t
i
o
n
s
fro
m
sma
t
ch_extra
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-12
Dan
Carpente
r
buf_size: handle function p
o
inters
as well
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-11
Dan C
a
rpenter
d
b
: follow
c
all
s
to functions pointers as well as normal
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-11
D
an
Carpenter
fl
o
w
:
set po
s
ition
for
gl
o
b
a
l variables
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-10
Dan
C
arpen
t
e
r
s
i
g
ned:
a
llow checks like: if (
f
o
o < 0 || f
o
o
>
x
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-10
Dan Carpenter
overflow: g
e
t
rid of "buffer o
v
erfl
o
w callin
g
%
s
.
param
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-10
Dan Carpente
r
get ri
d
of --print_returns option
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-09
D
an Ca
r
p
enter
extra, db: we have to re
c
o
r
d
every function call in
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-09
Dan Car
p
enter
ranges: in
v
alid ranges
d
efault to the whole ra
n
ge
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-08
D
a
n Carpenter
signed: don
'
t warn
about unsigned
c
o
m
parisons to ma
c
ros
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-08
Dan
C
arpenter
extra, db: recor
d
th
e
str
u
ct m
e
mber values in
t
h
e
database
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-08
Dan Carpenter
extra: fix par
s
ing of values
f
r
om db
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-07
Da
n
Carpen
t
er
fill_db_untrusted: follow unt
r
usted data do
w
n the call
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-07
Dan Car
p
enter
extra:
don't print
i
f
the min-
m
ax as t
h
e value
p
asse
d
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-07
Dan Car
p
enter
ranges: in
t
rodu
c
e is_whole_range_rl() and
f
ix is_whol
e
_
range
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-07
Dan C
a
r
pen
t
er
db: use
t
h
e
f
un
c
tion_id corre
c
tly
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-07
Dan Ca
r
pente
r
fill
_
d
b
_cal
l
er_info: calculate function_i
d
correctly
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-07
Dan Carpenter
d
ebug: add a __smatch
_
pos
s
ible
(
"varia
b
le") fu
n
ction
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-04
Dan C
a
rpenter
uncapped
_
al
l
oc: use _co
m
p
l
ex() v
e
rsion of
get_variable_fr
o
m_
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-04
Dan Carpe
n
ter
extra
:
d
b
:
p
ut single
quo
t
e
s around the function name
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-04
D
a
n Carpenter
*new* smatch_
s
cripts/fol
l
o
w
_params
.
pl
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-04
Dan Carpe
n
ter
hooks: remov
e
some c
o
mmented ou
t
code
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-04
D
a
n Carpenter
sql: snprintf()
n
ul termina
t
es i
t
s
s
trings
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-04
Dan
Carpenter
db: move buf_si
z
e t
o
the new add
_
definition_db_callback()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-04
Dan Ca
r
penter
d
b
:
i
n
t
ro
d
uce add_definit
i
o
n
_db_ca
l
lback()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-04
D
a
n Carpent
e
r
db: store the val
u
e
s of parameters
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-10-04
Dan Carpenter
db: make database code usa
b
le
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-09-27
Dan Carpenter
*
n
ew* min_t()
c
asti
n
g that
t
runc
a
tes the v
a
lu
e
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-09-23
Dan Carpenter
*new* rosen
b
erg: c
h
eck
for information leaks f
r
o
m
the
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-09-22
D
an Carpenter
flow:
t
weak the
-
>
pos settin
g
for fake
a
ssignments
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-09-22
Dan Carpenter
flow: whitespace changes
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-09-22
Dan Ca
r
penter
flow: pass condition assignment
s
to clients wi
t
h AS
S
IGNMENT_HOOK
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2011-09-22
Dan
Carpenter
no_eff
e
ct: add some more tests
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree