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: save function pointers saved in arrays of structs
2011-11-25
Da
n
Carpen
t
er
d
b
: save fun
c
tion p
o
inters
saved in arrays of struct
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-11-22
Dan
C
arpenter
db/function_ptr: clear the cor
r
ect tabl
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-11-22
Dan C
a
r
p
enter
db: remove
untr
u
sted table
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-11-21
Dan Carpenter
ex
t
r
a
: unops don't normally
c
hang
e
the valu
e
of a v
a
r
iable
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-11-17
Dan Carpent
e
r
tiny wh
i
te space fi
x
es
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-11-17
Dan
C
arpenter
uncapped_alloc: delete this check
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-11-17
D
an C
a
r
penter
helpe
r
: remove bogus parens from get_variab
l
e_from_e
x
p
r
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-11-16
Dan Carpent
e
r
update smatch_data for 3
.
2-r
c
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-11-01
Dan Carpe
n
ter
Allo
w
chec
k
_debug
.
h to be includ
e
d mo
r
e th
a
n once
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-30
Dan Carpenter
core: add
--file-outpu
t
v
a
r
i
able
f
o
r mak
e
-j8
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-30
Dan Carpenter
sm
a
tch_extr
a
: c
l
e
a
r out struct member
s
if a the po
i
nter
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-28
D
an Carpent
e
r
extra: fix
cr
a
shing bug from last commit
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-22
Dan
C
a
rpenter
e
x
tra: expr
e
ssions are equivalent even if they are
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-22
Dan C
a
rpenter
u
s
er_dat
a
: use is_capped() f
u
nction
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-22
D
an Carpenter
us
e
r_
d
a
t
a:
h
andle binops
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-22
Dan Carpente
r
*new* smatch_capp
e
d: introduce is_c
a
pped()
f
unc
t
ion
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-18
Da
n
C
a
rpenter
*new*
c
h
e
ck_user_d
a
ta: record all the user data (and
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-13
Dan Ca
r
pente
r
buf_size: there was a
m
istake in handling calls to
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-13
Dan Carpenter
b
u
f
_
s
i
z
e
: record the size
o
f
stru
c
t member
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-13
D
an Carp
e
nter
e
xtra: cleanup
:
u
se my_i
d
instead o
f
S
MATCH
_
EXTRA
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-13
Dan Carpenter
db
:
wro
n
g para
m
e
ter number in struct member callb
a
c
k
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-13
Dan Carpen
t
er
e
x
tra: don'
t
p
rin
t
an extra $$
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-13
D
a
n C
a
r
penter
db:
limit
t
h
e
number of fun
c
tion
pointer
c
al
l
s we check
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-13
Dan Carpenter
db, extra
:
introduce add
_
m
ember_
i
nfo_callbac
k
()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-12
Da
n
C
a
rpenter
extra, db: record a du
m
my output f
o
r every
f
un
c
t
i
on
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-12
Da
n
Carpe
n
t
e
r
d
b: use
option_no_db
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-12
Dan Carpenter
extra
,
db: move
s
ome db functions from smatch_
e
xtra
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-12
D
a
n Carpenter
b
u
f_size: handl
e
f
u
nct
i
on pointer
s
as well
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-11
Dan Carpe
n
t
e
r
db: fol
l
ow calls
to
f
unctions pointers as w
e
l
l
as normal
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-11
Dan Carpenter
flow
:
set posit
i
on for global variables
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-10
Dan C
a
r
p
e
n
ter
signed: allo
w
checks like:
i
f
(foo
<
0 || foo >
x
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-10
Dan
C
arpen
t
er
overflo
w
: get rid of "buffe
r
overflo
w
c
alling %s
.
param
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-10
Dan Carpenter
get
r
id o
f
-
-
p
rint_retur
n
s
o
ption
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-09
Dan Carpenter
extra, db: we h
a
ve to record every fu
n
ction call in
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-09
Da
n
Carpenter
ranges: in
v
alid
r
anges d
e
fault to t
h
e w
h
ole r
a
n
ge
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-08
Dan Car
p
enter
s
i
g
ned: don
'
t warn about unsi
g
ned comparisons
t
o ma
c
ros
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-08
D
a
n
C
arpente
r
extra, db
:
re
c
o
r
d the
s
t
ruct member values in
t
he database
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-08
Dan Carpenter
extr
a
:
fix pa
r
s
ing of
v
alues from db
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-07
Dan Carpent
e
r
fill_db_untrusted: follo
w
un
t
rusted data down the call
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-07
Dan Carpen
t
er
e
x
tra:
d
o
n
't print if th
e
min-max as the val
u
e passe
d
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-07
D
an Carpenter
ranges: introdu
c
e is_w
h
ole_range_rl()
a
nd
fix is_w
h
ol
e
_r
a
nge
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-07
Dan Car
p
enter
d
b
:
u
s
e t
h
e function_id correctl
y
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-07
Dan Carpenter
fill_db_caller_info: calculate function_
i
d correctly
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-07
Dan Carp
e
nter
debug:
ad
d
a
_
_
s
match_pos
s
ibl
e
("vari
a
ble")
function
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-04
Dan Carp
e
nter
uncapped_alloc:
u
se _c
o
mpl
e
x(
)
version of get_variable_from_
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-04
Dan
C
arpe
n
ter
extra: db: p
u
t
s
i
ngl
e
quotes
around the f
u
nction name
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-04
Dan Carpenter
*
n
ew* smatch_scrip
t
s/fol
l
o
w_params
.
pl
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-04
Dan Carp
e
nter
h
o
ok
s
: remove some c
o
mme
n
te
d
out code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-04
Dan Ca
r
penter
sql: snprint
f
() nul
t
e
rminates its
strings
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-04
D
a
n
Carpenter
db: move buf_siz
e
t
o
t
h
e new add_defin
i
tion_db_callback
(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-04
Dan Carpenter
db: introduce add_def
i
nition_db_callback(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-04
Dan Car
p
en
t
er
db:
s
tore t
h
e values of pa
r
am
e
ters
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-10-04
Dan Carpenter
d
b: m
a
ke
database code usable
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-09-27
Dan Carpent
e
r
*new* min_t() casting
t
hat
t
run
c
ates t
h
e
values
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-09-23
Dan Carpenter
*new* rosenberg
:
check for
info
r
mat
i
on leaks f
r
om the
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-09-22
Da
n
Car
p
e
n
te
r
flow:
tweak the ->pos se
t
ting for fa
k
e assignments
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-09-22
Dan Carpenter
f
low: whitespac
e
c
hanges
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-09-22
Dan Carpenter
flow: pass
c
ondition as
s
i
gnmen
t
s t
o
c
l
i
ents with A
S
SIG
N
MENT_HOOK
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-09-22
Da
n
Carp
e
nter
no_effect:
add some more
tests
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-09-14
Dan Carpenter
d
eref
_
check: che
c
k_
d
e
ref:
print both line numbers
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2011-09-13
Dan C
a
rpent
e
r
core:
s
e
t posi
t
ion earlier in smat
c
h_flow
.
c
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-09-12
K
a
rel Zak
smatch: add --data=<di
r
>
opti
o
n
commit
|
commitdiff
|
tree
2011-09-12
D
a
n Carpenter
slis
t
: p
r
eserve the ->line value correctly
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-09-12
Dan Carpenter
overflo
w
: pri
n
t mor
e
hel
p
ful inf
o
when the data file
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-09-12
D
a
n
C
a
rpen
t
er
gen_array_bounds: filter out bog
u
s line
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-08-30
Dan
C
arpent
e
r
buf_size: sile
n
ce a gc
c
false
positive
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-08-30
Da
n
C
a
rp
e
n
ter
use PTR_
I
NT() and INT_PT
R
()
to silence ca
s
t warnings
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-08-25
Dan Carpenter
s
lis
t
: make alloc_sm_st
a
te() s
t
at
i
c
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-08-25
Dan Carpenter
slist: remove some
d
ead co
d
e
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-08-25
D
a
n Ca
r
pen
t
er
core:
c
l
o
n
g
_sm() should preserve the ->lin
e
valu
e
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-08-25
Dan Car
p
enter
up
d
at
e
smatch_data/ for lin
u
x-3
.
1
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-08-04
Dan
C
arpe
n
ter
*ne
w
*
bogus_loops: warn o
n
bogus for loops
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-07-29
D
a
n Carpente
r
extr
a
: use get_implie
d
_value() instead of ge
t
_value
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-07-26
D
an Carpe
n
ter
implie
d
: ha
n
d
l
e assignments inside cond
i
tions
b
etter
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-17
Dan
C
arp
e
nter
overf
l
o
w
: che
c
k sprint
f
() and s
n
printf()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-17
Dan
C
a
rpenter
smatc
h
_flow: fix compile err
o
r
caused by
u
p
s
t
r
eam chan
g
es
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-17
Diego Elio P
e
t
tenò
Fix
build with GCC 4
.
6 series
.
commit
|
commitdiff
|
tree
2011-06-17
Dan Car
p
enter
overflow:
cut down on false positives
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-13
Da
n
Car
p
enter
smatch_
d
ata:
u
pd
a
te fo
r
3
.
0 ke
r
nel
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-13
D
a
n
Car
p
e
nter
gen_n
o
_return_funcs: al
w
ays keep the default no ret
u
rn
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-13
Dan Carp
e
nter
In a
c
oupl
e
pl
a
c
e
the o
r
ig
i
nal ch
e
cked for --spammy
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-09
D
an Carpenter
f
low
:
ha
n
dle known s
w
itch statem
e
n
t
s
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-09
D
a
n Carpenter
*new* r
e
turn_negativ
e
_var: returning
p
osi
t
ive
va
l
ues
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-09
D
a
n
Ca
r
penter
*new* memset: check f
o
r memse
t
(
x, y
,
0
)
; t
y
pos
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-06-03
Dan
Carpenter
Sup
p
o
r
t __builtin_unreachabl
e
()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-05-23
Tetsuo Hand
a
F
i
x bu
i
ld error with o
l
der
p
ackage
.
commit
|
commitdiff
|
tree
2011-05-23
Randy
M
acLeod
F
ix grammatical errors i
n
R
EADME-sm
a
t
c
h
commit
|
commitdiff
|
tree
2011-01-26
D
an Carpe
n
ter
overflow: format_strings: put
some ve
r
b
o
se messages
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-01-18
Dan Carpenter
b
u
f_
s
iz
e
: put some guesses behind -
-
spammy
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-01-11
Dan Car
p
enter
extra:
handle c
o
unt down for
loops
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2011-01-11
D
a
n Ca
r
penter
a
d
d R
A
W_ASSIG
N
MENT_HOOK
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-21
D
a
n Carpenter
Merge
g
it://git
.
kernel
.
o
r
g/pub
/
scm/
d
evel/sparse/chris
l
.
.
.
commit
|
commitdiff
|
tree
2010-12-21
Dan Carpenter
sign
e
d: don't complain about putting 0xff into a signed
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-20
Dan Carpent
e
r
locki
n
g: add _raw_spin_
l
ock
_
nested()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-17
D
an
Carpent
e
r
i
ntroduce
SE
L
E
C
T_HOOK
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-17
D
an Carpenter
*
n
ew* c
h
eck_select:
r
et
u
rn ret <
0 ?: 0;
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-16
Dan Carpenter
*n
e
w* in
p
ut_free
_
d
e
vice: don't call this after inpu
t
_unregis
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-16
Dan C
a
rpente
r
*new* check_c
o
nt
a
i
n
e
r
_
of
:
c
o
n
t
a
i
ner_of() d
o
esn't return
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-16
Dan
C
a
rpente
r
create check_li
s
t_loc
a
l
.
h which is for untracked
local
.
.
.
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
2010-12-16
Dan Carpenter
l
oc
k
ing: _at
o
mic_dec_and_lock() i
s
a spi
n
lock()
Signed-off-by:
Dan Carpenter
<error27@gmail.com>
commit
|
commitdiff
|
tree
next