From 1e206147fa61d03afdf57ae3633c57e62ea7bc54 Mon Sep 17 00:00:00 2001 From: martin Date: Thu, 22 Feb 2024 23:28:46 -0600 Subject: [PATCH] extend index encoding table allows for more than 26 libraries to be imported, these extended values have been determined and verified by looking at games with large import tables by multiple parties (kiwi can vouch for the correctness) --- pkg/oelf/OELFGenDynlibData.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/oelf/OELFGenDynlibData.go b/pkg/oelf/OELFGenDynlibData.go index cb83194..dee908a 100644 --- a/pkg/oelf/OELFGenDynlibData.go +++ b/pkg/oelf/OELFGenDynlibData.go @@ -37,7 +37,7 @@ const ( _nidSuffixKey = "518D64A635DED8C1E6B039B1C3E55230" // _indexEncodingTable provides the encoding table for module indices that are appended to the end of NIDs. - _indexEncodingTable = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + _indexEncodingTable = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-" ) // _moduleToLibDictionary contains a mapping of module names to library (prx) paths