From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "signature" |
|---|
| subject | "Library:Mbed TLS" |
|---|
| claim | "The bytes of the debug format string "%s() returned %d (-0x%04x)\n" with its terminating NUL find mbedtls_debug_print_ret's format in any build with MBEDTLS_DEBUG_C." |
|---|
| scope | | level | "library" |
|---|
| applies_to | "Library:Mbed TLS" |
|---|
| observed_in | | "all 25 Windows samples (Godot, Unity, OBS Studio)" |
|
|---|
|
|---|
| data | | pattern | "25 73 28 29 20 72 65 74 75 72 6E 65 64 20 25 64 20 28 2D 30 78 25 30 34 78 29 0A 00" |
|---|
| matches | "format string used by mbedtls_debug_print_ret (library/debug.c)" |
|---|
| offset | 0 |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | ""%s() returned %d (-0x%04x)\n"" |
|---|
| repo | "https://github.com/Mbed-TLS/mbedtls" |
|---|
| commit | "068ff080b369adfac81509f9b57b2afabaf82dc5" |
|---|
| path | "library/debug.c" |
|---|
| lines | "119" |
|---|
|
| type | "byte_pattern" |
|---|
| detail | "Exactly 1 match in each of 25 binaries; 0 in OpenSSL's libcrypto-3.dll and python312.dll." |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "debug return-value format string" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T08:11:27.349Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T11:18:37.661Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read library/debug.c at 068ff080 line 119: mbedtls_snprintf(str, sizeof(str), "%s() returned %d (-0x%04x)\n", ...); the pattern is that string's ASCII bytes plus NUL." |
|---|
|
|
|---|