Lines Matching refs:start

99 	unsigned long start;  in __run_single_step_db_test()  local
105 start = test(); in __run_single_step_db_test()
106 report_fn(start, ""); in __run_single_step_db_test()
129 report_fn(start, "Usermode "); in __run_single_step_db_test()
134 static void report_singlestep_basic(unsigned long start, const char *usermode) in report_singlestep_basic() argument
137 is_single_step_db(dr6[0]) && db_addr[0] == start && in report_singlestep_basic()
138 is_single_step_db(dr6[1]) && db_addr[1] == start + 1 && in report_singlestep_basic()
139 is_single_step_db(dr6[2]) && db_addr[2] == start + 1 + 1, in report_singlestep_basic()
145 unsigned long start; in singlestep_basic() local
161 : "=r" (start) : : "rax" in singlestep_basic()
163 return start; in singlestep_basic()
166 static void report_singlestep_emulated_instructions(unsigned long start, in report_singlestep_emulated_instructions() argument
170 is_single_step_db(dr6[0]) && db_addr[0] == start && in report_singlestep_emulated_instructions()
171 is_single_step_db(dr6[1]) && db_addr[1] == start + 1 && in report_singlestep_emulated_instructions()
172 is_single_step_db(dr6[2]) && db_addr[2] == start + 1 + 3 && in report_singlestep_emulated_instructions()
173 is_single_step_db(dr6[3]) && db_addr[3] == start + 1 + 3 + 2 && in report_singlestep_emulated_instructions()
174 is_single_step_db(dr6[4]) && db_addr[4] == start + 1 + 3 + 2 + 5 && in report_singlestep_emulated_instructions()
175 is_single_step_db(dr6[5]) && db_addr[5] == start + 1 + 3 + 2 + 5 + 1 && in report_singlestep_emulated_instructions()
176 is_single_step_db(dr6[6]) && db_addr[6] == start + 1 + 3 + 2 + 5 + 1 + 1, in report_singlestep_emulated_instructions()
182 unsigned long start; in singlestep_emulated_instructions() local
202 : "=r" (start) : : "rax", "ebx", "ecx", "edx" in singlestep_emulated_instructions()
204 return start; in singlestep_emulated_instructions()
207 static void report_singlestep_with_sti_blocking(unsigned long start, in report_singlestep_with_sti_blocking() argument
211 is_single_step_db(dr6[0]) && db_addr[0] == start && in report_singlestep_with_sti_blocking()
212 is_single_step_db(dr6[1]) && db_addr[1] == start + 6 && in report_singlestep_with_sti_blocking()
213 is_single_step_db(dr6[2]) && db_addr[2] == start + 6 + 1 && in report_singlestep_with_sti_blocking()
214 is_single_step_db(dr6[3]) && db_addr[3] == start + 6 + 1 + 1, in report_singlestep_with_sti_blocking()
244 static void report_singlestep_with_movss_blocking(unsigned long start, in report_singlestep_with_movss_blocking() argument
248 is_single_step_db(dr6[0]) && db_addr[0] == start && in report_singlestep_with_movss_blocking()
249 is_single_step_db(dr6[1]) && db_addr[1] == start + 1 && in report_singlestep_with_movss_blocking()
250 is_single_step_db(dr6[2]) && db_addr[2] == start + 1 + 1, in report_singlestep_with_movss_blocking()
281 static void report_singlestep_with_movss_blocking_and_icebp(unsigned long start, in report_singlestep_with_movss_blocking_and_icebp() argument
285 is_icebp_db(dr6[0]) && db_addr[0] == start && in report_singlestep_with_movss_blocking_and_icebp()
286 is_single_step_db(dr6[1]) && db_addr[1] == start + 6 && in report_singlestep_with_movss_blocking_and_icebp()
287 is_single_step_db(dr6[2]) && db_addr[2] == start + 6 + 1 && in report_singlestep_with_movss_blocking_and_icebp()
288 is_single_step_db(dr6[3]) && db_addr[3] == start + 6 + 1 + 1, in report_singlestep_with_movss_blocking_and_icebp()
294 unsigned long start; in singlestep_with_movss_blocking_and_icebp() local
318 : "=r" (start) : : "rax" in singlestep_with_movss_blocking_and_icebp()
320 return start; in singlestep_with_movss_blocking_and_icebp()
323 static void report_singlestep_with_movss_blocking_and_dr7_gd(unsigned long start, in report_singlestep_with_movss_blocking_and_dr7_gd() argument
327 is_general_detect_db(dr6[0]) && db_addr[0] == start && in report_singlestep_with_movss_blocking_and_dr7_gd()
328 is_single_step_db(dr6[1]) && db_addr[1] == start + 3 && in report_singlestep_with_movss_blocking_and_dr7_gd()
329 is_single_step_db(dr6[2]) && db_addr[2] == start + 3 + 6 && in report_singlestep_with_movss_blocking_and_dr7_gd()
330 is_single_step_db(dr6[3]) && db_addr[3] == start + 3 + 6 + 1 && in report_singlestep_with_movss_blocking_and_dr7_gd()
331 is_single_step_db(dr6[4]) && db_addr[4] == start + 3 + 6 + 1 + 1, in report_singlestep_with_movss_blocking_and_dr7_gd()
367 static void report_singlestep_with_sti_hlt(unsigned long start, in report_singlestep_with_sti_hlt() argument
371 is_single_step_db(dr6[0]) && db_addr[0] == start && in report_singlestep_with_sti_hlt()
372 is_single_step_db(dr6[1]) && db_addr[1] == start + 1 && in report_singlestep_with_sti_hlt()
373 is_single_step_db(dr6[2]) && db_addr[2] == start + 1 + 6 && in report_singlestep_with_sti_hlt()
374 is_single_step_db(dr6[3]) && db_addr[3] == start + 1 + 6 + 1 && in report_singlestep_with_sti_hlt()
375 is_single_step_db(dr6[4]) && db_addr[4] == start + 1 + 6 + 1 + 1, in report_singlestep_with_sti_hlt()