MCPcopy Index your code
hub / github.com/capstone-engine/capstone / printf

Function printf

tests/test_winkernel.cpp:162–172  ·  view source on GitHub ↗

This functions mimics printf() but does not return the same value as printf() would do. printf() is required to exercise regression tests.

Source from the content-addressed store, hash-verified

160// This functions mimics printf() but does not return the same value as printf()
161// would do. printf() is required to exercise regression tests.
162_Use_decl_annotations_
163int __cdecl printf(const char * format, ...)
164{
165 NTSTATUS status;
166 va_list args;
167
168 va_start(args, format);
169 status = vDbgPrintEx(DPFLTR_DEFAULT_ID, DPFLTR_ERROR_LEVEL, format, args);
170 va_end(args);
171 return NT_SUCCESS(status);
172}

Callers 15

print_string_hexFunction · 0.70
print_insn_detailFunction · 0.70
testFunction · 0.70
print_string_hexFunction · 0.70
print_insn_detailFunction · 0.70
testFunction · 0.70
testFunction · 0.70
print_string_hexFunction · 0.70
print_insn_detailFunction · 0.70
testFunction · 0.70
print_string_hexFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…