From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "string" |
|---|
| subject | "Library:Mbed TLS" |
|---|
| claim | "mbedtls_debug_print_ret() formats "%s() returned %d (-0x%04x)\n"; the string is in every build with MBEDTLS_DEBUG_C (the default) even if the application never sets a debug callback, and was present in all 25 Windows samples checked (Mbed TLS 2.28.x and 3.6.x)." |
|---|
| scope | | level | "library" |
|---|
| applies_to | "Library:Mbed TLS" |
|---|
| observed_in | | "OBS Studio 32 obs-outputs.dll, datachannel.dll" |
| "Godot 4.2.3-rc to 4.7.1 exports" |
| "Unity 6000.4/6000.6 UnityPlayer.dll, Unity.dll" |
|
|---|
|
|---|
| data | | value | "%s() returned %d (-0x%04x)
" |
|---|
| meaning | "MBEDTLS_SSL_DEBUG_RET format in library/debug.c; xrefs lead to mbedtls_debug_print_ret, whose callers name the failing function in their first argument string" |
|---|
| encoding | "ascii" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "mbedtls_snprintf(str, sizeof(str), "%s() returned %d (-0x%04x)\n", text, ret, (unsigned int) -ret);" |
|---|
| repo | "https://github.com/Mbed-TLS/mbedtls" |
|---|
| commit | "068ff080b369adfac81509f9b57b2afabaf82dc5" |
|---|
| path | "library/debug.c" |
|---|
| lines | "119" |
|---|
|
| type | "string_xref" |
|---|
| detail | "Found once in each of 25 Windows binaries (Godot, Unity, OBS Studio)." |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Debug return-value format" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T08:11:26.774Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T02:17:59.817Z" |
|---|
| result | "confirmed" |
|---|
| method | "Fetched library/debug.c at 068ff080: line 119 snprintf format "%s() returned %d (-0x%04x)\n" is a single literal." |
|---|
|
|
|---|