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
extra: don't set true false states if they are the same on both sides
2015-03-30
Dan Carp
e
nter
extra:
don't set true false stat
e
s if th
e
y are
the
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-30
Dan Carpenter
function_hooks: add a
ha
c
k aroun
d
in compare_db
_
return_
s
t
ate
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-30
Da
n
Carpen
t
er
list:
a
dd a comment about regi
s
ter_impl
i
cations
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-30
Dan Car
p
e
nter
param_limit:
h
andle st
r
uct members
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-30
D
an Carpente
r
st
a
t
e
s: whi
t
e
s
pace f
i
x
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-30
Dan Carpent
e
r
conditions: ignore kno
w
n/implie
d
con
d
i
t
i
ons
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-30
D
an Carpenter
s
t
r
ings: r
e
c
o
rd string assi
g
nment
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-30
Dan Car
p
ente
r
struct_assign
m
ent:
s
ave
a lot more
i
nformation
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-30
Dan Carpenter
par
a
m_l
i
mit/f
i
lter:
f
ix a t
y
pe bug
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-30
Si
l
van
J
egen
db: Av
o
id
dereferencing null poi
n
ter
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-26
Dan Carpen
t
er
comparison:
h
andle c
a
no
n
ical for loops with v
a
riable
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-26
Da
n
Ca
r
penter
comparison:
u
nsigned
c
an
n
ot be
l
ess than ze
r
o
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-26
Dan Ca
r
pente
r
flow
:
set
__
c
u
r
_stmt and _
_
prev_stm
t
insi
d
e
f
o
r
loops
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-26
Dan
C
arpenter
comparison: merging equiva
l
ent
s
tates
i
s
not undefined
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-26
Dan
C
arp
e
nter
comparison: fix an indent
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-20
Dan Carp
e
nte
r
functi
o
n_hooks: fix
u
p db_compa
r
e_c
a
llback()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-20
Da
n
Carpe
n
ter
f
unction_hooks, debug:
print impossible retur
n
s if
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-20
Dan Car
p
en
t
e
r
helper
:
don't strip c
a
st
i
ng in
g
et_array_offset()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-20
Dan Ca
r
p
e
n
ter
links: expor
t
me
r
ge_lin
k
_states()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-20
Dan Carpen
t
e
r
helper:
make
expr_to_
s
tr() print force
d
casts
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-20
Dan Carpenter
type: m
a
ke type_to_str
(
) re
t
urn a sname()
b
uf
f
er
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-20
Dan Carpenter
mo
d
i
f
ic
a
tion_hooks: set
a
v
ariable as mo
d
i
f
ied when
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-20
Dan Carpe
n
ter
user_data2: ta
g
it if
a
fun
c
tion sets param
e
te
r
s to
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-20
Dan Carpenter
stack: c
l
e
anup a function prototype
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-20
Dan Carpenter
dere
f
_
check: ignore arrays
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-18
Dan
Carpe
n
ter
type:
m
a
k
e sval_type_max() defa
u
l
t
t
o "l
o
ng long"
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-18
Dan Carpent
e
r
typ
e
: don't
r
eturn SYM_NODE ty
p
es from ge
t
_rea
l
_
b
ase
_
type(
)
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-15
Dan Carpen
t
er
side_effect
s
: the iterate_all
_
kinds() macro has side
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-15
D
a
n Carp
e
nter
unreachable: don't complain about iterate_all_
k
in
d
s()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-13
Dan Carp
e
n
t
er
flow: f
i
x "foo += !bar
;
" assign
m
en
t
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-11
Dan Carpenter
lib: h
a
ndl
e
-fu
n
signed-c
h
ar opt
i
o
n
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-10
Dan Carpenter
kernel
.
ign
o
re_side_effects: add
so
m
e macros
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-10
Dan Carpenter
indenting
:
all
o
w "break; cas
e
XXX:"
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-05
D
an
C
a
r
penter
us
e
r_data2: mark sscanf()
outpu
t
as user data
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-05
D
an Carpenter
m
a
th
,
rl: fix ha
n
ding division involvi
n
g negati
v
e n
u
mbers
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-05
Dan Ca
r
penter
sval: fix sval_bin
o
p_overflo
w
s()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-05
Dan Carpen
t
er
prece
d
enc
e
: complain about "foo << bar - baz"
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-04
D
an Carpenter
flo
w
: handle stru
c
t initialization
b
etter
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-03
Da
n
Carpenter
e
s
t
a
te: add a NU
L
L che
c
k
in estates_equiv(
)
commit
|
commitdiff
|
tree
2015-03-03
Dan Carpenter
par
a
m
_
used:
store when
a
parame
t
e
r
is us
e
d
s
o
w
e don
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-02
Dan Carpenter
extra:
i
g
n
ore more __in_fake_
a
ssign
d
ata
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-02
Dan Carpe
n
te
r
compari
s
on: fix
a crash
i
ng bug
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-03-02
Dan Carpen
t
er
t
ype: add
a
n
expr_signed() function
t
hat matches expr_u
n
sig
n
ed()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-26
D
an Carpe
n
ter
smdb
.
py: add functions
to sh
o
w funct
i
ons implementing
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-26
Dan Carpenter
extra:
h
andle temporary sho
r
t
h
and poi
n
ter
s
better
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-26
Dan Carpenter
der
e
f
eren
c
e
s
_param:
l
ook for pointer
s
u
s
ed as an a
r
ray
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-26
Dan Carpe
n
ter
check
_
inde
n
ting: war
n
about m
i
ssing curly braces a
n
d
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-24
Dan Carpent
e
r
param
_
c
l
e
a
r
ed
:
add a
c
omment
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-24
Dan
C
arpen
t
er
val
i
datio
n
: c
o
r
r
ec
t
some o
u
tp
u
t
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-24
A
a
r
o
Koskinen
build: allow use
o
f
PKG_C
O
NFI
G
to override pkg-c
o
nfig
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-23
D
an
Carpent
e
r
db:
b
u
i
l
d inde
x
es
f
aster
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-23
Dan
Carpenter
sl
i
s
t: fix c
o
mpile
b
r
eakage
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-23
Dan Carpenter
kernel_printf: silence some false p
o
sitives
u
sing smatch_str
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-23
Dan
Carpe
n
ter
strings: record w
h
ich strings
a
re being used
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-19
Dan Carpenter
u
s
er_data2: turn on s
k
b->
d
a
ta
taggi
n
g
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-19
Dan
Carpenter
d
b
: ren
a
me F
I
LTER_VALUE,
LIMITE
D
_VALUE, and ADD
E
D_VALU
E
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-19
Dan Carp
e
nte
r
ke
r
nel
_
printf: s
i
lence
some "struct soc
k
addr " false
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-19
D
an
Carpe
n
ter
type
:
add unions to type_to_s
t
r()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-18
Dan Carpenter
type_value:
s
peed up loading the
d
a
tabase
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-18
Dan Carpenter
*new* retu
r
n_cast:
compl
a
in
a
bout return -EIN
V
AL
i
n
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-17
Dan
Carpenter
f
ormat
_
string:
d
e
lete this because check
_
k
e
rnel_pri
n
t
f
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-17
Dan Carpenter
functi
o
n_ho
o
ks: add some d
e
bug o
u
tput
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-17
D
a
n
C
a
rpenter
e
xtra: clea
n
up db_param_add
_
s
e
t()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-17
Dan Carpenter
extra: separate PARAM_L
I
MIT
a
nd
P
ARAM_FILTER
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-17
Dan
C
ar
p
enter
function_hoo
k
s: don
'
t ta
k
e a s
h
ort
c
u
t
fo
r
"nee
d
less
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-17
Dan Carpenter
helper: in
t
roduce alloc_state
_
str(
)
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-17
D
an Carpenter
math
:
handl
e
"i
f
(likely
(
1)) {"
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-17
Dan Ca
r
p
enter
math:
f
i
x/cleanup do_c
o
mparis
o
n
(
)
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-17
Dan
C
a
r
penter
capped: d
o
n't
record
s
ingle
values as capped
i
n the
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-17
Dan Carpente
r
db: export get_s
t
atic_f
i
lter()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-17
Dan Ca
r
penter
u
s
er_data2: wro
n
g pa
r
a
meter tagg
e
d as
user data in
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-17
Dan Carpenter
rosenberg: dele
t
e some cod
e
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-17
Dan Carpenter
rosenb
e
rg: strip away s
o
me
c
ast
i
n
g (eliminates a false
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-17
D
a
n Carpenter
r
osenb
e
rg:
do
n
't save un
n
eeded states
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-17
Dan Carp
e
nter
buf_s
i
ze: don't save useless in
f
o
rm
a
ti
o
n in the da
t
abase
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-17
D
a
n
Carpenter
s
truct_a
s
signment:
ignore more
f
ake assig
n
men
t
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-17
D
an C
a
rpen
t
e
r
s
li
s
t: fix debug
g
ing
o
utput
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-16
Dan
C
arpenter
param_cle
a
red, rosenberg:
a
dd underscored memset/cp
y
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-16
Dan Carpenter
p
a
ram_filter/set: don't r
e
cord fake
a
ssignments
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-16
Da
n
Carpe
n
ter
slist, debugging
:
don
'
t print ->pos
s
ible list if there
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-16
Dan
C
arpenter
type_val:
a
dd
m
ore stuff to ignor
e
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-16
Dan Carpente
r
db/reload_
p
artial
.
s
h
: chang
e
database info for one
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-16
Sil
v
an
J
e
gen
Do
c
umen
t
at
i
on f
i
x
es
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-13
Dan Carp
e
nter
kernel_printf: put lots o
f
single quotes
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-13
Dan
C
ar
p
enter
Me
r
ge branch 'devel3'
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-12
Rasm
u
s
V
illemoes
check_ker
n
el_printf
.
c: Allow con
s
t char[]
f
ormat arguments
commit
|
commitdiff
|
tree
2015-02-12
Rasmus Villemoes
check_k
e
rne
l
_printf
.
c: Handle 'fmt
? : "defa
u
lt"'
commit
|
commitdiff
|
tree
2015-02-12
R
asmus Vi
l
lemoes
check_kernel_p
r
intf
.
c
:
Simplify recursive call
i
ng
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-12
Dan Ca
r
penter
check_
k
e
r
n
e
l_prin
t
f
.
c: Simplif
y
recu
r
s
i
v
e
c
alling
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-12
Dan Carpent
e
r
kernel_printf:
a
l
lo
w
'\b' if it's the
first chara
c
ter
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-12
Dan
Carpenter
validation
/
sm_rosenberg
.
c:
don't pass an uninitialized
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-12
Dan
C
a
r
p
enter
k
e
r
nel_printf: add some m
o
re
q
uotes
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-12
D
an Ca
r
pente
r
kern
e
l_
p
r
i
n
tf:
m
ove
a warning under the --sp
a
mmy flag
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-12
Da
n
Carpenter
kernel_
p
rintf: a
d
d some q
u
otes around the
functi
o
n
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-12
Dan C
a
r
p
ent
e
r
ke
r
ne_printf:
'%pb' is v
a
lid
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2015-02-11
Rasmus V
i
llemoes
check_
k
erne
l
_
p
r
intf
.
c:
F
ix brai
n
o
commit
|
commitdiff
|
tree
2015-02-11
Rasmus Vi
l
lemo
e
s
check_kerne
l
_print
f
.
c: Strip pa
r
enthes
e
s
commit
|
commitdiff
|
tree
2015-02-11
Rasmus Villem
o
es
check_kerne
l
_
pri
n
t
f
.
c:
H
andle conditionals
commit
|
commitdiff
|
tree
2015-02-11
R
a
smus Villemoe
s
sma
t
ch: Check the
k
ernel
'
s
%
p
fo
r
m
a
t
e
x
ten
s
ions
commit
|
commitdiff
|
tree
2015-02-11
Rasm
u
s
Villemoes
s
m
atch: Add --en
a
b
le option
commit
|
commitdiff
|
tree
next