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
kernel: handle find_next_bit()
2013-03-12
Dan Ca
r
penter
ke
r
nel: handle find_
n
ex
t
_bit()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-03-12
D
an Carpen
t
e
r
db_info:
sa
v
e return value
s
in in-memo
r
y
d
atabase
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-03-08
D
an Carpenter
check_kernel: pre
s
erve ERR_PTR va
l
ues passed to I
S
_ERR_OR
_
NULL()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-03-08
Dan Carpenter
check_kernel: renam
e
n
onnull to va
l
id_ptr
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-03-08
Dan Carpenter
Revert "
k
ernel: re
m
ov
e
some
unneeded code"
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-03-08
D
an Ca
r
pente
r
sizeo
f
_param: fix
f
alse pos
i
tive
s
w
i
th s
t
rlcpy
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-03-07
Dan Carp
e
nter
compa
r
e: handle some as
s
i
gnments
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-03-06
Dan
C
arpenter
extra: shuffle mat
c
h_assign
a
bit
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-03-06
Dan Carpenter
e
xtra: onl
y
get the
types on
e
time in mat
c
h_assig
n
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-03-06
Dan Car
p
enter
fun
c
tion_
p
t
r: move g
e
t_fnptr_name() t
o
smatch_fun
c
tion_ptr
.
c
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-03-06
Da
n
Carpente
r
d
b: fixup_kernel
.
sh: discard caller_info
f
rom
->no
t
ifi
e
r_call
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-03-06
D
a
n Carpenter
db: f
i
x
u
p_kernel
.
sh: only tra
c
k
t
h
e
main re
a
d/writ
e
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-03-06
Dan Car
p
enter
user_data
:
t
r
a
c
k user
d
ata across as
s
ignments
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-03-06
Dan Carpenter
smatch_cap
p
e
d
: get
_
implied_max
(
) does not im
p
lied cappe
d
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-03-06
Dan Carpenter
b
u
f_s
i
ze: export
get_real_array_size()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-03-06
Dan Carpenter
extra: handl
e
M
O
D_ASSIGN better
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-03-06
Dan
C
arpenter
db: don't pri
n
t
i
n
f
ormation
c
al
l
e
r information for
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-03-06
Dan
C
arpenter
function_pt
r
s
: track
p
a
r
a
m
eters
as we
l
l
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-03-06
Dan
Carpenter
function_ptrs
:
separate into its own
f
ile
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-03-01
D
a
n C
a
rpenter
data: add sn
p
ri
n
tf t
o
ker
n
el
.
sizeof_param
.
remo
v
e
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-28
Dan Carpen
t
er
buf_size:
fix
a
NULL
d
ere
f
e
rence
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-28
Dan Carpenter
kernel:
rem
o
ve some unn
e
eded co
d
e
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-26
Dan
Carpenter
b
uf_size
:
h
a
n
dle e
m
p
ty
arrays on
the end of
s
t
r
ucts
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-26
Dan
C
arpenter
buf
_
s
ize: remove some d
e
ad
c
ode
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-26
Dan Carpenter
local_v
a
lues: store poss
i
ble values of
s
t
a
t
ic
dat
a
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-26
D
an Ca
r
pent
e
r
flo
w
:
mo
r
e inline fall out
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-22
Dan Carpenter
db:
e
xport mem_
s
ql() so c
h
ecks can
use it
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-22
Dan
Carpenter
n
o_return: another pr
o
b
l
em with inline functions
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-22
Dan
Carpenter
ran
g
es: fix ca
s
ting of inv
a
lid range
lists
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-22
Dan Ca
r
pente
r
e
xtra, fu
n
ction_hoo
k
s:
f
ix handli
n
g of casted function
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-21
Dan Ca
r
pent
e
r
Revert "
d
b
: don't create
u
n
used tables
i
n th
e
in-memo
r
y
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-21
Dan Carpenter
db:
don
'
t use fun
c
tion
p
oin
t
e
r
s for caller info on
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-21
Dan Carpenter
db: use "distinct" to avoid duplicat
e
func
t
i
o
n poin
t
ers
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-21
Dan Carp
e
nter
d
b
: load global fu
n
c
t
ion poi
n
ters into
t
h
e db
prop
e
r
ly
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-21
D
an Carpent
e
r
db:
r
emove
d
upli
c
ate s
t
ru
c
t pointer
s
to f
u
nctions
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-21
Dan Carp
e
n
t
er
db: fix call_i
m
p
l
i
es for
the in-memory database
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-21
Dan Carpenter
db, function_ho
o
ks: query the db
after proc
e
ssing the
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-21
Dan
Ca
r
penter
db: st
o
r
e
the value of "x" when you call frob(&x);
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-21
Dan Carpenter
d
b:
p
ass pointe
d
at value
s
to called functions
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-21
D
an Carpenter
d
b
: reset
th
e
in-memory database after every func
t
i
o
n
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-21
Dan
C
a
rpenter
db: ad
d
some debug statements for inserts into th
e
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-21
Dan Carpenter
db: use c
a
ll_id for t
h
e in-
m
e
m
o
r
y
d
atab
a
se
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-21
Dan C
a
rpenter
db: add call_id to call
_
impl
i
es, ret
u
rn
_
states and
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-21
Dan Ca
r
penter
db
:
rename func
t
i
on_id in the call
e
r_
i
nfo
t
a
ble
t
o
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-21
Dan Carpenter
d
b
: don't create unu
s
ed
t
ables in the in-memory d
a
tabase
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-21
D
a
n Ca
r
pe
n
ter
d
b: don't
p
rin
t
c
aller info fo
r
__builtin function
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-21
Da
n
Carpenter
d
b: use correct variab
l
e in mem
_
sql()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-20
Da
n
C
a
rpente
r
extra
:
improv
e
unsigned
compa
r
isons
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-20
Dan
C
arpenter
ranges: don't
d
o un
n
eeded alloca
t
i
o
ns in
c
ast_r
l
(
)
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-20
Dan
Carpenter
ranges: int
r
oduce
r
l_type()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-20
D
an Car
p
e
n
ter
db:
u
se in-memo
r
y databas
e
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-20
Dan Carpenter
db: move an opti
o
n_n
o
_db check to r
u
n_sql()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-20
Dan Carpent
e
r
flow, db: rename should
_
inl
i
n
e
() to inl
i
nable()
a
nd
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-20
Dan Carpenter
retu
r
ns: add a
c
heck for _
_
inl
i
ne_fn
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-20
D
a
n Carpen
t
e
r
db, flow:
make __inline_fn a pointer to th
e
fun
c
tion
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-19
Dan
C
a
rp
e
nter
d
b
: SQL
formatting bug
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-19
D
a
n Ca
r
pen
t
er
db
:
save caller_info for inline
f
unction properly
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-19
D
a
n
C
arpenter
d
b
: silence a compile w
a
rning on
3
2 bit (u
s
e %zd for
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-19
Dan Carpenter
db: intr
o
duce sql_select_ca
l
l_implies()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-19
Dan Carpenter
db
:
only allow fu
n
cti
o
ns to b
e
saved to
one fu
n
ct
i
on
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-19
Dan
C
arpente
r
db: introd
u
ce sql_select_caller_inf
o
()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-19
Dan
C
a
r
penter
db: introduce sql_select_r
e
tur
n
_val
u
es
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-19
Dan Carpenter
db: introduce
sql_
s
elect_re
t
urn_s
t
ates(
)
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-18
D
a
n Carpe
n
ter
ranges: fix "troub
l
e
par
s
ing empty"
m
essages
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-18
Dan Carpenter
param_limit, param_filt
e
r: silence
s
ome debug output
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-18
Dan Carpen
t
er
sma
t
ch: fix sm_d
e
bug() to al
w
ays
prin
t
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-18
Dan C
a
rpenter
db, flow: parse
inline
s
tatements, load stuff into
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-18
Dan
Ca
r
p
e
nter
st
a
tes: introduc
e
helpe
r
functions to
p
re
s
erve a
n
d
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-16
D
a
n
C
arpent
e
r
validation: fix bogus tests so they d
o
n't
cause
s
e
g
fau
l
t
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-16
Dan
C
arpenter
parse_call_math: fix segfault
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-16
Dan C
a
r
pen
t
er
db: make sql_
i
nse
r
t_caller_in
f
o() ta
k
e
th
e
cal
l
expression
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-16
Dan Car
p
e
n
t
e
r
db:
initia
l
i
ze
In-Memo
r
y dat
a
ba
s
e
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-16
D
an Carpenter
db: move db stuff
f
rom smatch_scr
i
pts/d
b
/ to smatch_data/db/
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-16
Dan Carpent
e
r
db: everyone must h
a
ve libsqlite3
installed
(
not optional)
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-16
Da
n
C
a
rpenter
f
i
les: m
a
ke
open
_
data_file() exported
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-14
Dan C
a
rpente
r
f
l
ow: delete unused
code
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-14
Da
n
Car
p
enter
helper
:
handle a
s
signments in expr_to_str()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-14
Dan Carpent
e
r
*new*
check_struct_type:
i
f
we al
l
ocate
an unexpected
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-14
D
a
n Ca
r
pen
t
er
rosenberg: fix c
r
a
s
h p
a
rsing di
f
ferent functions with
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-14
Dan Carpenter
db: move c
a
ller_info as
c
lose as p
o
ssi
b
le to ra
w
SQL
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-14
Dan Carpent
e
r
db: make member_inf
o
callback
s
t
a
ke 1
o
r
0 instead
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-14
Dan Carpe
n
ter
db:
move type_siz
e
to u
s
e
r
aw SQL
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-14
Da
n
Carpenter
db: move call
_
implies
to use
r
aw
SQL
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-14
Dan Ca
r
penter
d
b:
move return_values to us
e
r
a
w SQL
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-14
Da
n
Car
p
ente
r
db: d
e
lete un
u
sed no_side_effec
t
s
t
a
ble (for now)
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-14
Dan Carpenter
db: move
f
u
nction_ptr to raw SQL
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-14
Dan Carpenter
db:
m
ov
e
ret
u
r
n_states t
o
raw SQL
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-14
Da
n
Carpenter
d
b:
tools for printing
raw
S
QL in
s
tead of human
r
eadable
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-08
Dan Carp
e
n
t
er
si
l
ence
b
ogus "un
r
e
a
cha
b
le
c
o
d
e" warning
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-07
Dan
C
arpe
n
ter
param_limit: ha
n
dl
e
f
u
nc
t
ions wh
e
re
t
h
e parameter
i
s
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-07
Da
n
Carpenter
d
b
: take
st
a
tic vs glob
a
l i
n
to consi
d
eration
w
it f
u
nction
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-07
Dan Ca
r
pen
t
er
math: handle MOD
operation better
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-06
Dan
C
arpenter
*delete* bool_implication
s
: this file is unused
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-06
Dan Carpenter
p
a
ram_(filter
|
limi
t
|set):
add some
c
omment
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-06
Dan Carpent
e
r
buf_size: don't
cr
a
sh on
i
nvalid code
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-06
Dan Carp
e
nter
parse_call_math: s
i
l
e
nce "interna
l
bug:
p
o
p_val popping
.
.
.
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-06
Bart Van Assche
Av
o
id trig
g
eri
n
g
a
d
i
v
ision
b
y
zero
in
t
he ove
r
f
l
o
w
.
.
.
commit
|
commitdiff
|
tree
2013-02-06
Dan
C
arpente
r
pro
p
agate: fall ou
t
f
r
o
m
get_implied_min()
c
ha
n
ges
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-06
Dan Ca
r
p
enter
extra: type bu
g
handling empty st
a
te
s
in reset_struct
_
member
s
()
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
2013-02-06
Da
n
Carpent
e
r
r
a
nges:
d
on't allow
i
nver
t
ed rang
e
s
Signed-off-by: Dan Carpenter <
dan.carpenter@oracle.com
>
commit
|
commitdiff
|
tree
next