OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:InsnFlags
(Results
1 - 6
of
6
) sorted by null
/dalvik/vm/analysis/
VerifySubs.h
24
*
InsnFlags
is a 32-bit integer with the following layout:
33
typedef u4
InsnFlags
;
42
/* add opcode widths to
InsnFlags
*/
43
bool dvmComputeCodeWidths(const Method* meth,
InsnFlags
*
insnFlags
,
47
bool dvmSetTryFlags(const Method* meth,
InsnFlags
*
insnFlags
);
50
bool dvmCheckSwitchTargets(const Method* meth,
InsnFlags
*
insnFlags
,
54
bool dvmCheckBranchTarget(const Method* meth,
InsnFlags
* insnFlags
[
all
...]
CodeVerify.h
149
InsnFlags
*
insnFlags
;
175
INLINE bool dvmInsnIsOpcode(const
InsnFlags
*
insnFlags
, int addr) {
176
return (
insnFlags
[addr] & kInsnFlagWidthMask) != 0;
182
INLINE int dvmInsnGetWidth(const
InsnFlags
*
insnFlags
, int addr) {
183
return
insnFlags
[addr] & kInsnFlagWidthMask;
189
INLINE bool dvmInsnIsChanged(const
InsnFlags
*
insnFlags
, int addr)
[
all
...]
VerifySubs.c
30
* initialize "
insnFlags
" to zero).
43
bool dvmComputeCodeWidths(const Method* meth,
InsnFlags
*
insnFlags
,
69
insnFlags
[i] |= width;
91
* Call this after widths have been set in "
insnFlags
".
96
bool dvmSetTryFlags(const Method* meth,
InsnFlags
*
insnFlags
)
126
if (dvmInsnGetWidth(
insnFlags
, start) == 0) {
134
addr += dvmInsnGetWidth(
insnFlags
, addr))
136
assert(dvmInsnGetWidth(
insnFlags
, addr) != 0)
[
all
...]
DexVerify.c
135
vdata.
insnFlags
= NULL;
170
vdata.
insnFlags
= (
InsnFlags
*)
171
calloc(dvmGetMethodInsnsSize(meth), sizeof(
InsnFlags
));
172
if (vdata.
insnFlags
== NULL)
176
* Compute the width of each instruction and store the result in
insnFlags
.
180
if (!dvmComputeCodeWidths(meth, vdata.
insnFlags
, &newInstanceCount))
186
vdata.uninitMap = dvmCreateUninitInstanceMap(meth, vdata.
insnFlags
,
194
if (!dvmSetTryFlags(meth, vdata.
insnFlags
))
221
free(vdata.
insnFlags
);
[
all
...]
RegisterMap.c
228
if (dvmInsnIsGcPoint(vdata->
insnFlags
, i))
258
if (dvmInsnIsGcPoint(vdata->
insnFlags
, i)) {
[
all
...]
CodeVerify.c
126
static bool doCodeVerification(const Method* meth,
InsnFlags
*
insnFlags
,\
128
static bool verifyInstruction(const Method* meth,
InsnFlags
*
insnFlags
,\
132
static void dumpRegTypes(const Method* meth, const
InsnFlags
*
insnFlags
,\
370
const
InsnFlags
*
insnFlags
, int newInstanceCount)
407
int width = dvmInsnGetWidth(
insnFlags
, addr);
[
all
...]
Completed in 115 milliseconds