mirror of
https://github.com/morluto/rea.git
synced 2026-11-19 05:02:40 +00:00
fix(il2cpp): select universal binary slices through the shared Mach-O selection (#10661)
* fix(il2cpp): select universal binary slices through the shared Mach-O selection * test(il2cpp): assert selection facts instead of full sentences
This commit is contained in:
1 parent
ef15353c69
commit
2705aad365
11 files changed
+243
-139
No files matched your search
@@ -82,14 +82,13 @@ export function* linkIl2cppBinarySteps(
|
||||
bytes: Buffer,
|
||||
metadata: Il2cppMetadataDecoded,
|
||||
facts: Il2cppMetadataLinkFacts,
|
||||
architecture?: string,
|
||||
options: Il2cppBinaryReadOptions = {},
|
||||
): Generator<void, Il2cppBinaryLink> {
|
||||
const version = metadata.metadata_version;
|
||||
// Refuse an undecoded version before any table is read.
|
||||
if (options.genericInstances === true) genericMethodLayouts(version);
|
||||
yield;
|
||||
const image = yield* openImageSteps(bytes, architecture);
|
||||
const image = yield* openImageSteps(bytes);
|
||||
const modules = yield* findModules(image, metadata);
|
||||
const registration_ = yield* findCodeRegistration(image, modules);
|
||||
const methodImage = new Int32Array(metadata.methods.length).fill(-1);
|
||||
|
||||
Reference in new issue
Block a user