Closed Nukoooo closed 4 months ago
LGTM, what platforms have you tested this on?
I only tested on Windows. but I also tried to compile with GCC 13.2.1 and Clang 17.0.6 on my Arch WSL, while GCC ccompiled successfully without any error, clang required to remove register
keywords in hl2sdk-cs2/tier1/generichash.cpp
to make it work
Just took a look at why the build failed on linux, it turned out std::string_view(split.begin(), split.end())
only exists in GCC 12.1 and above and Clang 16.0.0 and above see here. So it might need to upgrade the compiler that workflow uses newer compiler.
Tested on Linux using latest build artifact ✅
See discussion for more info.
TLDR: Make developers' life easier so they don't have to convert their signatures(
48 8B ?
) to code style(\x48\x8B\x2A
) every time when they make a signatureWhat's changed
48 8B ? ? ? ? ?
)std::views::split
)FindSignature
now usesstd::find
andstd::equal
for better readability