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
bits: Fix handling of |= and &=
2020-05-06
D
a
n Carpe
n
ter
b
i
ts:
F
ix handling
o
f |= and &=
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
Dan Carpen
t
er
b
i
ts: move is_loop_iterator() earlier
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
Dan Car
p
enter
k
er
n
el: preserv
e
the sm state whe
n
h
andling IS_
E
RR()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
Da
n
Carpente
r
kernel: fix a type bug handling err_cast()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-06
Dan C
a
rpenter
kernel: ad
d
supp
o
rt for
c
losure
_
call()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan Carpenter
buf_siz
e
: check pointe
r
size e
a
r
l
i
er
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan Carpenter
buf_size:
f
ix handling of
u
nkno
w
n flex
i
ble array sizes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
D
a
n Carpen
t
er
buf_size: ign
o
re zero
r
eturns
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan Carpent
e
r
e
x
tra: f
i
x compile
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan Ca
r
penter
extra: delete
s
ome dead code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan Carpenter
build_ker
n
el_data
.
s
h
:
print
a
m
e
s
sage
a
fter the kernel
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Da
n
Carpenter
d
b/k
e
rnel
.
return_f
i
xes:
ww_mutex_lock
(
) ca
n
't return
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-05
Dan Carpenter
c
app
e
d: handle &
and % sligh
t
ly diffe
r
ently
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
D
an
C
a
rpenter
db/retu
r
n_states: fix
call
_
id type
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
d
b
/cr
e
ate_db
.
sh:
sil
e
nce warning whe
n
-p
option isn
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
mark_f
u
n
c
tion_ptrs_
s
earc
h
abl
e
: mark
m
ore functions
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
container_o
f
: fix imp
o
r
ting t
h
e mtag d
a
ta
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Da
n
C
arpe
n
ter
esta
t
e: ch
e
c
k
hard max in est
a
tes_e
q
uiv()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan
C
arpenter
es
t
ate:
a
d
d a ->n
e
w
f
l
a
g t
o
t
rack
new states
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan
C
ar
p
ente
r
helper
:
export get_array_expr
e
ssion
(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan C
a
r
p
enter
implied: fix parsing fo
r
PARA
M
_
LIMIT im
p
lic
a
ti
o
ns
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
implied: n
o
n
-merged states have no implica
t
ions
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
typ
e
: imp
r
ove get_member_type_fro
m
_key
(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan
C
a
r
p
enter
type
_
val: ig
n
ore "id
r
_find"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan C
a
rpenter
implied
:
turn
on debug_
i
mplied when
regular de
b
ug is se
t
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
D
a
n Carpenter
e
r
r_p
t
r: delet
e
d
ead code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
struct_assi
g
n
me
n
t: strip parentheses
righ
t
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-05-04
Dan Carpenter
at
o
mic_inc_dec: push l
a
test code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-04-07
D
a
n Carpenter
re
a
l_abs
o
lute: update real abs
o
lute
f
or faked fre
s
h
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan
C
arpente
r
type: create type_fits() function
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan Carpen
t
er
db/kernel
.
r
e
t
u
rn
_
fixes: m
i
sc up
d
a
tes (l
o
ck
i
ng mostly)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Da
n
Carpenter
states: add a way to watch other checks set
states
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan
C
arp
e
nt
e
r
de
b
ug: print a s
p
ecial warning for u
s
er_rl wi
t
hou
t
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan
Ca
r
pen
t
er
fresh_alloc
:
some things ar
e
no
t
fr
e
sh
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan Carpente
r
help
e
r: don't cache Tmp express
i
o
n
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
D
an
Carpenter
expres
s
ions: Ren
a
me "Fa
k
e"
t
o
"
Tmp
"
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
D
a
n Carpen
t
er
m
a
th:
functi
o
ns
c
an re
t
urn
fuzzy range l
i
sts
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
D
a
n
Carpenter
return_to
_
param: remove unu
s
ed declaration
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan Carpe
n
ter
s
c
r
i
pts/summarize_errs
.
sh:
w
hit
e
sp
a
c
e
fixes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan
C
arpente
r
tokenize: export alloc_i
d
e
nt
(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-03-10
Dan Carpenter
alloc
a
t
ing_en
o
u
gh_data: clari
f
y e
r
ro
r
m
e
ssage
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Ca
r
penter
struct_ass
i
gnm
e
n
t
: Fix (*$)->foo handli
n
g
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan C
a
rpent
e
r
validation:
u
pdate imp
o
ssible te
s
ts
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpe
n
ter
shift_to_zero: silence some f
a
lse positi
v
es
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpenter
mtag:
d
on't
d
oub
l
e re
c
ord mtag data
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
D
an Carpenter
smdb: add
s
ome more type
s
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpent
e
r
slist: add
so
m
e
d
e
b
ug code to warn
a
bout
missing set_dynami
c
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Ca
r
penter
helper: remove no
_
parens
p
aramet
e
r
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carp
e
n
ter
implied
/
comparis
o
n: de
l
e
te unknown implicati
o
ns
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carp
e
nter
helper:
r
eturn more specifi
c
e
rror codes
i
n get_param
_
num_fr
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpenter
f
u
ncti
o
n_hoo
k
s/mtag:
s
et mta
g
r
eturns
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
D
a
n Ca
r
penter
he
l
p
er: smal
l
white s
p
a
ce
c
leanup
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan
C
a
r
penter
mta
g
: save the mtag a
l
locato
r
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carpen
t
er
db: add suppor
t
for (*$)->
f
oo = 1;
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan Carp
e
n
ter
db: make mtag_about entries un
i
que
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
D
an Carpenter
db
:
a
d
d mtag_info table
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan
Carp
e
nter
m
tag_m
a
p: re-ar
r
ange conta
i
ner map
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-18
Dan
C
ar
p
enter
type: export
i
s_stru
c
t_ptr()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
D
an Carpenter
db: don
'
t
b
other
s
plitting erro
r
paths
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpenter
db: store
t
he fu
n
ction
m
tag in the ca
l
l_id spac
e
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
D
a
n Carpenter
db: don't split ne
g
atives
u
sin
g
null
/
n
o
n_nu
l
l
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpen
t
er
db: add a new ca
l
lb
a
c
k
for i
n
serting stuff into c
a
l
l
er_inf
o
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpe
n
ter
function_ptrs: delete a stray space
c
haracter
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Car
p
enter
est
a
t
e
: pointers
don
'
t have
hard maxes
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpenter
mtag_dat
a
:
ig
n
ore boot_params
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
D
a
n
Carpente
r
mtag_data
:
ignor
e
head->next
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Ca
r
penter
helper: print EXPR_SELECT and EXPR_CO
N
DITION
wit
h
expr_to_str()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Car
p
en
t
er
m
t
ag
_
map:
a
dd a tag_off
s
et
f
ield
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpenter
fresh
_
alloc: NULL is
not a fresh alloc
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
D
a
n
C
a
r
p
enter
debu
g
: move __print_states(
)
t
o
sma
t
ch_s
t
ate
s
.
c
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Dan Carpenter
ma
t
h: h
a
ndle unknow
n
maximums in subtr
a
ct operations
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-02-11
Da
n
Car
p
en
t
e
r
fl
o
w: call ASSIGNM
E
NT_HOOK_AFTER fo
r
complicated a
s
signments
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-28
Dan Carpent
e
r
m
ta
g
: update swap_mtag_re
t
urn()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
Dan Carpenter
fres
h
_
alloc: mark use
d
data as unfresh
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
Dan C
a
rpenter
fresh_al
l
oc: expor
t
is_fr
e
sh_
a
l
loc()
a
n
d
is
_
f
r
esh_allo
c
_var_
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
D
a
n
C
a
rpenter
fresh_alloc: NULL poin
t
er
s
are not fresh
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
Dan Carpente
r
mtag
:
export
s
t
r
_to_mtag()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
Da
n
Carpenter
type
:
improve
d
ebug output
f
o
r NULL types
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-27
Dan
Carpent
e
r
s
l
ist
:
f
ix __print
_
stree() debu
g
output
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-22
D
an Carpent
e
r
db: delete mor
e
dead code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-22
Dan
C
arpenter
d
b
:
remove
D
B
rem
o
ve some dead code
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-14
Dan
C
arpenter
fresh_
a
lloc: fix
c
omp
i
li
n
g (mis
s
ing chunk of commit)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-10
Dan Carp
e
n
t
er
contai
n
er: impr
o
ve how assi
g
n
me
n
ts
a
r
e
handl
e
d
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-09
Dan Car
p
en
t
er
lo
c
king: wa
r
n wh
e
n t
h
e
re
i
s
a m
i
s
sing irq_restore
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-09
Dan Ca
r
p
ente
r
validation
:
update locking v
a
lidatio
n
tests
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-08
Dan Carpenter
lo
c
king: remove
w
ine locking check
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-06
Dan Ca
r
pen
t
e
r
fresh_a
l
loc: track which
a
l
loca
t
ion
s
a
r
e fr
e
s
h
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-06
D
a
n Carpe
n
ter
math/ranges/helper: impr
o
ve floati
n
g poin
t
s
upport
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2020-01-06
Da
n
Carpenter
smatch
.
h: add
the
decl
a
rati
o
n to
s
m_to_arg_name
(
)
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-12-12
Dan Ca
r
p
e
n
te
r
helper: introduc
e
get_param_sym_from_num()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-12-12
Dan Carpenter
sval:
init
i
al
f
loating
p
o
i
nt
s
upport
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-12-12
Dan C
a
rpenter
db:
i
mprov
e
split_
s
uccess_fail
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-12-12
Dan Carpenter
db: fix split_p
o
sitive_from_negative()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-12-12
Dan
C
arpenter
con
t
ainer_of: a func
t
ion i
s
not
a conta
i
ner of
i
t
se
l
f
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-12-12
Dan Carp
e
n
t
er
cont
a
iner_of: fix how
container
o
f star inf
o
rmation
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-12-12
Dan Carpen
t
e
r
container_of: m
o
ve s
t
rip_expr()
earli
e
r
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-12-12
D
an Carpenter
db: re
n
ame ha
s
_possible_zero_null() to h
a
s_separ
a
te_zero_null()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-12-12
Dan C
a
r
pe
n
ter
db: add a sh
o
r
t
c
ut in has_
p
o
s
sible_negati
v
e()
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-12-12
D
a
n
Carpenter
rosenberg: don't leak u
n
i
nit
i
aliz
e
d structs to malicious
.
.
.
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
2019-12-12
Dan Ca
r
pe
n
ter
comparison: split unknown com
p
arisons int
o
fake comparisons
Signed-off-by:
Dan Carpenter
<dan.carpenter@oracle.com>
commit
|
commitdiff
|
tree
next