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
check_memory: only load kernel.frees_argument when checking the kernel
2010-01-30
Dan
Carpenter
check_memory: only load
kernel
.
f
r
ees_argument
w
he
n
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-29
D
a
n Carpe
n
ter
Create: sma
t
ch
_
project
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-29
Dan C
a
rpenter
bail if things
a
r
e
t
aking t
o
o
long
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-29
Dan Carpe
n
ter
add
s
m
a
t
ch_script
s
/filter
_
kernel_deref_chec
k
.
sh
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-29
Dan Ca
r
p
enter
check_deref_check: do not c
o
mpl
a
in in lo
o
p p
r
e
c
o
n
ditions
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-28
Dan
Carpenter
tweak
u
nr
e
ach
a
b
l
e code messages
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-27
Dan Carpenter
check_signed: handle
s
igned 1 bit values
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-27
Dan
Carpente
r
check_s
i
g
ne
d
: don't co
m
pl
a
in a
b
ou
t
unsig
n
ed int x
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-27
Dan Carpenter
new
function:
t
yp
e
_unsign
e
d()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-26
Dan
C
ar
p
e
n
ter
part
l
y replace check_null_d
e
ref
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-25
D
an Ca
r
penter
modific
a
tio
n
hook
s
:
only allo
w
one h
o
o
k
p
er variable
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-25
D
a
n Carpe
n
ter
intr
o
duce: set_def
a
ult_modification_hook
(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-25
Dan
C
a
rpenter
cleanup:
g
et
rid of
sma
t
ch_
c
ontainers
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-25
Dan
C
arp
e
n
ter
c
h
eck_n
u
ll_deref: only
t
he kern
e
l cares about
faile
d
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-23
Dan Carpenter
Fix OpenBSD compi
l
e
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-23
Dan Ca
r
penter
check_signed: clean ups
.
a
dd c
h
eck f
o
r impossibly
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-22
Dan
C
arpenter
make
e
verything us
e
s
match_function_hash
t
able
.
h
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-22
Dan Carpenter
add
s
ma
t
ch_fu
n
ction_hashtable
.
h
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-22
D
a
n Carpenter
Mo
v
e
everything to the new cw
c
has
h
h
ash table
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-22
Dan Ca
r
penter
a
d
d c
w
cha
s
h hash ta
b
le implementation
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-21
Dan C
a
rpe
n
ter
f
u
n
ction_impli
e
s_hook: f
i
x bug
w
hen a function has
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-21
Dan C
a
rpenter
c
h
eck_signed: warn on a
s
sign
i
ng negative to
u
nsigned
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-20
Dan Carpenter
Make smatch
work again
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-20
D
a
n
C
a
r
pe
n
ter
Merge
g
it://g
i
t
.
kernel
.
o
r
g/pub/
s
cm/d
e
vel/spar
s
e/chr
i
sl
.
.
.
commit
|
commitdiff
|
tree
2010-01-20
D
an
C
arpenter
Move
t
he c
h
e
c
k
s ou
t
of s
m
atch
.
c into che
c
k_list
.
h
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-20
Dan Carpente
r
silence some sparse warnings:
(
) => (vo
i
d)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-20
Dan Carp
e
nter
introd
u
ce: type_min() and
t
ype_max()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-20
Dan Carpenter
wine WtoA
:
f
i
x cras
h
in
g
b
ug
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-19
Dan Carpente
r
new
f
i
l
e: smatch_s
c
ri
p
ts/g
e
n
_
d
ma_funcs
.
sh
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-19
Dan C
a
rpenter
show_ifs
.
sh:
Add t
h
e -C option
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-19
Dan C
a
rpenter
c
heck_me
m
o
r
y
:
eliminate
s
ome false positives
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-19
Dan
C
arpenter
g
e
t_v
a
lue(
)
: the return
value was getting cut
off
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-19
D
an Carpente
r
check_s
i
gned:
c
l
arify er
r
or messag
e
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-19
Da
n
C
arpen
t
er
wine_filehandle
s
: if the
file handle g
e
ts reassigned
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-19
Dan Carpenter
Help k
c
hecker a
n
d wine_check
e
r
.
sh fin
d
the
s
match bina
r
y
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-19
Dan Carpenter
get_varia
b
l
e
_from_
e
xpr(): fi
x
array
d
isp
l
ay (
e
v
en
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-18
Dan Carpenter
delete_s
t
a
t
e():
fix a
b
u
g
calling delete state
ins
i
de
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-18
Dan Carp
e
n
t
e
r
get_va
r
iabl
e
_from_expr(): use
[] for a
r
rays
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-18
Dan
Carpe
n
t
e
r
fix
"
m
ake install"
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-17
Dan
Carpenter
fix
bu
g
in printing file names
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-17
Dan Carpenter
get
_
a
r
r
a
y
_name(): r
e
turn the
s
t
r
ipped
v
alue
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-17
D
an
Carpe
n
ter
wine:
p
p_interna
l
_
e
r
r
or() doesn't r
e
turn
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-16
Dan C
a
rpenter
unused return
:
warning: =>
w
arn:
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-16
Dan Carpente
r
precedenc
e
:
make test stricter
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-16
Dan Carpen
t
er
__USE_ISOC
9
9
:
silence a gcc w
a
rning
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-16
Dan Car
p
e
nter
che
c
k_dev_queue_xmit: make
v
ali
d
_use() static
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-15
Dan
Carpenter
c
h
eck_
s
i
gned: change some erro
r
:
m
essages to warn:
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-15
Dan
C
arpenter
check_signe
d
:
f
ix and turn on by def
a
u
l
t
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-15
Dan Carpen
t
er
get_type(): fix cast hand
l
ing
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-15
Da
n
Carpent
e
r
get_valu
e
(): add
i
nitia
l
support fo
r
h
a
ndling
c
asts
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-15
Dan Carpenter
whitespace
:
"switch("
=> "switch ("
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-15
Dan
C
arpenter
get_type(): d
o
n't ign
o
re ca
s
t
s
!
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-15
Dan Carpenter
eliminate
all the "
x
can'
t
fit into
0" false positiv
e
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-14
Dan Carpenter
fi
x
gett
i
n
g_addres
s
(
) f
u
nct
i
ons vs pare
n
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-14
D
a
n Car
p
enter
add check_dev_queue_xmit
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-14
D
a
n C
a
rpenter
add
--rar
e
o
ption for rare bugs
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-14
Dan Carpenter
introduce
:
a
d
d_modification_
h
ook_expr()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-13
Dan Carpenter
impli
e
d clean
u
p: mo
v
e pool_in_pools()
a
nd is_
c
hecked
(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-13
Dan C
a
rpenter
implied
c
leanup
:
r
e
name: get_eq
_
neq(
)
=> separate_and_filter()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-13
D
an Carpente
r
i
m
p
l
ied cleanup: separate do_comp
a
re in
t
o
its own
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-13
Dan Carpenter
i
mplied cleanu
p
: move
g
e
t_implic
a
t
ions() lo
w
e
r
in t
h
e
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-13
Dan C
a
r
penter
impl
i
ed cl
e
anup: 1
=
> LEFT
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-13
Dan Carpenter
implied cleanup:
c
lea
n
handle_comparis
o
n()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-13
Dan Carpenter
imp
l
ie
d
cleanup: rename stat
e
=> sm
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-13
Dan Carpenter
implied cleanup:
m
o
ve
chec
k
fo
r
!is_merged()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-13
Dan
C
arpenter
implied cleanup: ren
a
me le
f
t => l
r
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-13
Da
n
Carpenter
impli
e
d
clea
n
up: rename some sm_states: state => sm
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-13
Da
n
Carpente
r
impl
i
ed c
l
e
a
n
up: move
some functions around
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-13
Dan Carpe
n
t
e
r
implied cle
a
nup: comme
n
ts
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-13
Da
n
Carpente
r
i
m
plied cleanup
:
creat
e
print
_
once()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-13
Dan
C
arpenter
implied cleanup:
g
e
t
r
id o
f
some
c
urly braces
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-13
Dan Carpenter
implied cl
e
a
nup
:
move v
a
riable declarations
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-13
Dan Ca
r
penter
A
dd valida
t
i
o
n/sm_array_o
v
erf
l
ow
.
c
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-12
Dan Carpe
n
ter
cleanup rem
o
ve
fal
s
e_o
n
ly_stack
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-12
D
a
n Carpenter
Fix bug in h
a
nd
l
in
g
f
or loops
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-10
Dan
C
arpenter
foo(&bar) m
e
ans bar is modi
f
ied
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-09
Dan Carp
e
nter
che
c
k_memo
r
y
:
add_
m
odification_hook is
f
ree => unfree
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-09
Dan Carpente
r
move modificati
o
n hook to th
e
f
ront
of
the
hook list
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-09
Da
n
Carpen
t
er
clea
n
u
p: move ev
e
rything to get_dinfo()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-08
Dan Carpenter
introduce:
get_dinfo()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-08
Dan Carpenter
check_overflow: handle add
r
esses differ
e
ntly
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-08
Dan Ca
r
p
enter
smat
c
h_extra: clean up
.
s
t
a
t
e can n
e
ver
b
e
&
merged
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-08
Dan Carpenter
c
heck_o
v
erfl
o
w
: ignore the last memb
e
r of struc
t
s
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-08
Da
n
Carpenter
sm
a
t
c
h
_extra:
I
d
o
n't l
i
k
e empty ranges
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-08
Dan Carpent
e
r
a
d
d smat
c
h
_
scr
i
pts/ge
n
_
array_bound
s
.
s
h
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-08
Dan Carpente
r
sm
a
tch
_
data/kernel
.
arra
y
_bou
n
ds
.
remove
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-08
Dan Carpenter
che
c
k_ov
e
rflow:
a
n an "
e
rror: " pr
e
fix to a p
r
intf
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-07
Dan
Carpe
n
ter
smatch_scripts/show_
u
nr
e
ac
h
a
b
le
.
sh
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-07
D
an Carpente
r
new s
c
ript: show_
i
fs
.
sh
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-07
Dan Carpent
e
r
introduce gettin
g
_
addre
s
s
(
)
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-07
Dan C
a
r
penter
updat
e
s
match_scri
p
t
s/ because of --
i
nfo format changes
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-07
Dan
Carp
e
nter
check
offset after use: ignore
f
oo = &arr
a
y[bar
]
;
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-07
D
an Carpenter
c
h
eck_overfl
o
w: move some
m
ore st
u
ff under the --info
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-07
Dan Car
p
enter
clean up outp
u
t
: warni
n
g:
=> wa
r
n:
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-07
D
an Carpenter
modifica
t
io
n
_hook: -- and ++ are mo
d
ifications
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-06
Dan
C
a
r
penter
It
m
ak
e
s se
n
s
e
to ch
e
ck an
arr
a
y offset
if it h
a
s be
e
n
.
.
.
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-05
Dan
Carpe
n
ter
c
h
eck_
o
ver
f
low: separate the
two types of
s
tates
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-05
Dan Carpenter
Fix precedence/c
r
ashing bug check_over
f
l
o
w
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-03
Dan Car
p
en
t
er
check_o
v
erflow: c
h
eck for limiting offset afte
r
using i
t
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
2010-01-03
Dan Carp
e
nter
intr
o
duce alloc_sta
t
e
_
num()
Signed-off-by: Dan Carpenter <
error27@gmail.com
>
commit
|
commitdiff
|
tree
next