mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 21:45:54 +01:00
[PR #1465] registry: classify libHttpClient.GDK.dll HRESULT imports (RT-UNIMPL-LIBHTTPCLIENT-CLASSIFY) #1497
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1497
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1465
Author: @piyonchu
Created: 11/25/2026
Status: 🔄 Open
Base:
main← Head:pr/unimpl-libhttpclient-classify📝 Commits (1)
3e551e5registry: classify libHttpClient.GDK.dll HRESULT imports (RT-UNIMPL-LIBHTTPCLIENT-CLASSIFY)📊 Changes
2 files changed (+23 additions, -0 deletions)
View changed files
📝
runtime/shims/registry.cpp(+12 -0)📝
runtime/test/unimplemented_policy_test.cpp(+11 -0)📄 Description
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).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.