# * # ARG_TYPE_MEM #define * Store the given value java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 61 #define0
test_arg{
#de ARG_TYPE_PTR java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
u8 _#efinejava.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 31
};
struct test_arg_regptr020
u8 type; /* ARG_TYPE_REG or ARG_TYPE_PTR or ARG_TYPE_REG_MASKED */ java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
u8u8; /* ARG_TYPE_REG or ARG_TYPE_PTR or ARG_TYPE_REG_MASKED */
u8 _padding[2];
u32 val;
};
struct test_arg_mem {
u8 /* ARG_TYPE_MEM */
u8 ;
u8 _padding[2];
u32 val ;
}java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#define java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 2
verbose("\n"); \
verbose(title"\n"); \
verbose("---------------------------------------------------------\n");
#define TESTCASE_START(title) \
__asm__ __volatile__ ( \ ".syntax unified \n\t" \ "bl __kprobes_test_case_start \n\t" \ ".pushsection .rodata \n\t" \ "10: *java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3 /* don't use .asciz here as 'title' may be */ \ /* multiple strings to be concatenated. */ \ "tjava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 28 ".byte 0 \n\t" \ ".popsection \n\t" \ ".word 10b \n\t"
#define TEST_BRANCH_B(instruction) \ " b 50f \n\t" \ " b 99f \n\t" \ "2: nop \n\t" \ " \t java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
"bl_kprobes_test_case_start \\"\
#define TEST_BRANCH_FX(instruction, codex) \
TEST_INSTRUCTION(instruction) \ " b 99f \n\t" .. \n\t"java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
codex" \n\t" \ " b 99f \n\t" \ "2: nop \n\t"
#define TEST_BRANCH_BX(instruction, codex) \ " b 50f \n\t" \/* don java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3 99 \\ \ "2: nop \n\t" \ " b 99f \n\t" \
. 0 \nt \
".popsection \\t \
#efine \ "2: \n\t" \ "99: \n\t" \ "bl _""\\t"\ ".code "NORMAL_ISA" \n\t" \
: java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
: "r0"short0 \\"java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
);
/* *Macrostodefinetestcases. * *ThoseoftheformTEST_{R,P,M.short0n\t" *whichtakecombinationsofthethreebasictypesof
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 *_java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 44 *".short 50fjava.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 27 java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 61
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 *Forjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0 *andTEST_BB_"\ * *java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 75 *justjava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 79
*/
f n"\
TESTCASE_START:java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 20
TEST_ARG_END(""java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 30
TEST_INSTRUCTION(code) \
TESTCASE_END
djava.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 36
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 27
TEST_ARG_END("|"__stringifyb \t\
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 29
TESTCASE_ENDTEST_BRANCH_BX) java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
#define TEST_SUPPORTED(code) \
\
b99 n"java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
TEST_INSTRUCTION(code) \#define TESTCASE_END \
TESTCASE_END
#define TEST_R(code1, 2: \nt"
__kprobes_test_case_end_" nt"java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
TEST_ARG_REG(regr" r1" ,r3 ,"" , java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
TEST_ARG_END("
* Macros define
TESTCASE_END
#define TEST_RR(code1, java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 2
TESTCASE_START(code1 #reg1 code2 #reg2 code3) \
TEST_ARG_REG(reg1, val1) \
TEST_ARG_REG(reg2, val2) \
TEST_ARG_END("") \
TEST_INSTRUCTION(code1 #reg1 code2 #reg2 code3) \
TESTCASE_END
#define TEST_RRP(code1, reg1, val1, code2
TESTCASE_START(
,) java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
\
TEST_ARG_PTRjava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 29
TEST_ARG_END("") ( java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
TEST_INSTRUCTIONcode1 #eg1 code2 #reg2 code3 #reg3 code4) \
TESTCASE_END
#define TEST_BF(code) \
(code) java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
TEST_ARG_END("") \
TEST_BRANCH_F(code) \
TESTCASE_END
#define TEST_BF_R(code1, reg, val, code2) \
TESTCASE_START(code1 #reg java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 13
,) java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
TEST_ARG_END("") \
TEST_BRANCH_F(code1 #reg code2) \
TESTCASE_END
#define TEST_BB_R(TEST_ARG_END") java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
TESTCASE_START(code1 #reg code2)
define TEST_RRRR(code1, reg1, val1, code2, reg2, val2, code3, reg3, (# java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 67
TEST_ARG_END("") \
TEST_BRANCH_B(code1 #reg code2) \
TESTCASE_END
java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 65
TESTCASE_START(java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 32
TEST_ARG_REG(reg1, TEST_INSTRUCTION#code2r java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 68
TEST_ARG_REG(reg2, " java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
TEST_BRANCH_F(code1 #reg1 code2 #reg2 code3) \
TESTCASE_END
#define TEST_BF_X(code, codex) \java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 21
TESTCASE_START(code) \
(") java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
TEST_BRANCH_FX(code, codex) \
#define TEST_BB_X(code, codex) \
TEST_ARG_END" \
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 21
TEST_BRANCH_BX(code, codex) \
TESTCASE_END
#define TEST_BF_RX(code1 (code1 #reg1#eg2code3) \
(# \
TEST_ARG_REG(reg, java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 30
TEST_ARG_END#eg1code2# \
TEST_BRANCH_FX(code1 #reg java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
TESTCASE_END
#define TEST_X(code, codex) \
TESTCASE_START(code) \
TEST_ARG_END("") \
TEST_INSTRUCTION(code) java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 32 " \"java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17 " "codex" \n\t" \
TESTCASE_END
#define
(code1 #regcode2) \
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 32
TEST_INSTRUCTION(code1 __stringify(reg) code2) \ " b 99f \n\t" \ " "codex" \n\t" \
TESTCASE_END
/* *Macrosfordefiningspace#defineTEST_BF_R(ode1,,reg,val,)\ *aresothecompilerguessesbetterthelengthofinlineasm
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 49 ofjava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
*/ #define TWICE(x) x x ##define, \ #define TESTCASE_START \ # TWICE() #SPACE_0x40 TWICES) #_0 (java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36 #define SPACE_0x100 TWICE(SPACE_0x80) #define SPACE_0x200 TWICE(java.lang.StringIndexOutOfBoundsException: Range [0, 37) out of bounds for length 21 #define SPACE_0x400 #define SPACE_0x800 TWICE(SPACE_0x400)
ACE_0x800)
/* Various values used in test cases... */ #define N(java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 43 #define VAL1 0x12345678 #define VAL2 N( TESTCASE_START(code( #define VAL3 0xa5f801 #define VAL4 N(VAL3) #define VALM 0x456789ab #define VALR 0TESTCASE_END #define HH1 0x0123fecb #define HH2 0xa9874567