Repository navigation
registry: classify libHttpClient.GDK.dll HRESULT imports (RT-UNIMPL-LIBHTTPCLIENT-CLASSIFY) - #1465
Conversation
…IBHTTPCLIENT-CLASSIFY)
4fed2ee to
3e551e5
Compare
|
Independent verification (CPU-only): built |
|
Red/green: On main unimplemented_policy_test fails because HCInitialize and HCCleanupAsync from libHttpClient.GDK.dll are not classified as HRESULT, and with the PR ctest -R ^unimplemented_policy$ passes on Windows 11 at OreoFR's (RTX 4070). |
|
Verified by OreoFR
AI-assisted (Claude Code, Claude Opus 5.5). |
Claimed in the coordination issue as: RT-UNIMPL-LIBHTTPCLIENT-CLASSIFY
Summary
game_scarlett_master.exeimport and call-site analysis show 38libHttpClient.GDK.dllimports (53direct call/jump sites), withHCInitialize,HCCleanupAsync, andHCHttpCallCreatecallers immediately testingtest eax, eax; js ...(HRESULT < 0). When bundledlibHttpClient.GDK.dllis absent (orgta6rt --dry-runis run on the executable alone),classify_import()previously returnedReturnClass::Other(0/S_OK) for all 38 imports (unimplemented by return policy: hresult=0 other=72), leaving out-parameters untouched underLEONIDA_UNIMPLEMENTED=fail.libHttpClientHRESULT-returning functions underlibhttpclient.gdk.dllinruntime/shims/registry.cpp(HCInitialize,HCCleanupAsync,HCSettingsGetTraceLevel,HCHttpCallCreate,HCHttpCallCloseHandle,HCHttpCallPerformAsync,HCHttpCallGetRequestUrl,HCHttpCallSetTracing,HCHttpCallRequest*, andHCHttpCallResponse*), while keepingHCHttpCallDuplicateHandle(returnsHCCallHandle),HCTraceImplMessage(void), andHCTraceSetEtwEnabled(void) asReturnClass::Other.libhttpclient.gdk.dllReturnClass::HResult/ReturnClass::Otherrules inruntime/test/unimplemented_policy_test.cpp.Verification
RelWithDebInfo, Windows 11, CPU-only build without Vulkan headers) and ranctest -C RelWithDebInfo -R "^unimplemented_policy$" --output-on-failure: 1/1 passed (unimplemented_policy).gta6rt.exe --dry-runagainst a localgame_scarlett_master.exenow reportsunimplemented by return policy: hresult=35 other=37(up fromhresult=0 other=72).python -I tests/test_build_runtime_fallback.pyandpython -I tests/test_text_write_line_endings.py(run below before commit).git diff --check: clean.AI-assisted; synthetic tests +
--dry-runimport check on Windows 11 (CPU-only build; no game files included).