Lines Matching refs:printf

66 	printf("[SKIP]\tCompiler does not support CET.\n");  in main()
137 printf("[INFO]\tnew_ssp = %lx, *new_ssp = %lx\n", in try_shstk()
141 printf("[INFO]\tchanging ssp from %lx to %lx\n", ssp, new_ssp); in try_shstk()
145 printf("[INFO]\tssp is now %lx\n", get_ssp()); in try_shstk()
158 printf("[FAIL]\tError creating shadow stack: %d\n", errno); in test_shstk_pivot()
164 printf("[OK]\tShadow stack pivot\n"); in test_shstk_pivot()
189 printf("[OK]\tShadow stack faults\n"); in test_shstk_faults()
206 printf("[INFO]\tCorrupting shadow stack\n"); in violate_ss()
212 printf("[INFO]\tGenerated shadow stack violation successfully\n"); in segv_handler()
238 printf("[OK]\tShadow stack violation test\n"); in test_shstk_violation()
258 printf("[INFO]\tViolation from %s\n", is_shstk_access ? "shstk access" : "normal write"); in test_access_fix_handler()
338 printf("[INFO]\tGup read -> shstk access success\n"); in test_gup()
345 printf("[INFO]\tGup write -> shstk access success\n"); in test_gup()
352 printf("[INFO]\tGup read -> write access success\n"); in test_gup()
359 printf("[INFO]\tGup write -> write access success\n"); in test_gup()
380 printf("[FAIL]\tWrite in child failed\n"); in test_gup()
384 printf("[FAIL]\tWrite in child wrote through to shared memory\n"); in test_gup()
388 printf("[INFO]\tCow gup write -> write access success\n"); in test_gup()
394 printf("[OK]\tShadow gup test\n"); in test_gup()
413 printf("[FAIL]\tmprotect(PROT_READ) failed\n"); in test_mprotect()
419 printf("[FAIL]\tShadow stack access to read-only memory succeeded\n"); in test_mprotect()
428 printf("[FAIL]\tmprotect(PROT_READ) failed\n"); in test_mprotect()
434 printf("[FAIL]\tmprotect(PROT_WRITE) failed\n"); in test_mprotect()
440 printf("[FAIL]\tShadow stack access to mprotect() writable memory failed\n"); in test_mprotect()
448 printf("[OK]\tmprotect() test\n"); in test_mprotect()
498 printf("[SKIP]\tUserfaultfd unavailable.\n"); in test_userfaultfd()
532 printf("[OK]\tUserfaultfd test\n"); in test_userfaultfd()
597 printf("[OK]\tGuard gap test, other mapping's gaps\n"); in test_guard_gap_other_gaps()
622 printf("[INFO]\tmap_shadow_stack MAP_FAILED\n"); in test_guard_gap_new_mappings_gaps()
634 printf("[INFO]\tNew mapping has other mapping in guard gap!\n"); in test_guard_gap_new_mappings_gaps()
650 printf("[OK]\tGuard gap test, placement mapping's gaps\n"); in test_guard_gap_new_mappings_gaps()
733 printf("[OK]\t32 bit test\n"); in test_32bit()
746 printf("failed to open '%s': %d\n", file, err); in parse_uint_from_file()
752 printf("failed to parse '%s': %d\n", file, err); in parse_uint_from_file()
824 printf("[SKIP]\tUretprobe test, uprobes are not available\n"); in test_uretprobe()
865 printf("[OK]\tUretprobe test\n"); in test_uretprobe()
915 printf("[INFO]\tFailed to PTRACE_GETREGS\n"); in test_ptrace()
920 printf("[INFO]\tPtrace child SSP was 0\n"); in test_ptrace()
928 printf("[INFO]\tToo small size accepted via PTRACE_SETREGS\n"); in test_ptrace()
934 printf("[INFO]\tToo large size accepted via PTRACE_SETREGS\n"); in test_ptrace()
940 printf("[INFO]\tUnaligned SSP written via PTRACE_SETREGS\n"); in test_ptrace()
946 printf("[INFO]\tKernel range SSP written via PTRACE_SETREGS\n"); in test_ptrace()
957 printf("[INFO]\tFailed to PTRACE_SETREGS\n"); in test_ptrace()
962 printf("[INFO]\tFailed to PTRACE_DETACH\n"); in test_ptrace()
970 printf("[OK]\tPtrace test\n"); in test_ptrace()
983 printf("[SKIP]\tCould not enable Shadow stack\n"); in main()
989 printf("[FAIL]\tDisabling shadow stack failed\n"); in main()
993 printf("[SKIP]\tCould not re-enable Shadow stack\n"); in main()
998 printf("[SKIP]\tCould not enable WRSS\n"); in main()
1005 printf("[FAIL]\tShadow stack disabled\n"); in main()
1011 printf("[FAIL]\tShadow stack pivot\n"); in main()
1017 printf("[FAIL]\tShadow stack fault test\n"); in main()
1023 printf("[FAIL]\tShadow stack violation test\n"); in main()
1029 printf("[FAIL]\tShadow shadow stack gup\n"); in main()
1035 printf("[FAIL]\tShadow shadow mprotect test\n"); in main()
1041 printf("[FAIL]\tUserfaultfd test\n"); in main()
1047 printf("[FAIL]\tGuard gap test, other mappings' gaps\n"); in main()
1053 printf("[FAIL]\tGuard gap test, placement mapping's gaps\n"); in main()
1059 printf("[FAIL]\tptrace test\n"); in main()
1064 printf("[FAIL]\t32 bit test\n"); in main()
1070 printf("[FAIL]\turetprobe test\n"); in main()
1083 printf("[FAIL]\tDisabling shadow stack failed\n"); in main()