Skip to content

Commit c2b979a

Browse files
authored
Update dump.swift
1 parent d80f58b commit c2b979a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/appdecrypt/dump.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ class Dump {
114114
for (i, sourcePath) in needDumpFilePaths.enumerated() {
115115
let targetPath = dumpedFilePaths[i]
116116
// Please see https://github.com/NyaMisty/fouldecrypt/issues/15#issuecomment-1722561492
117-
let handle = dlopen(targetPath, RTLD_LAZY | RTLD_GLOBAL)
117+
let handle = dlopen(sourcePath, RTLD_LAZY | RTLD_GLOBAL)
118118
Dump.mapFile(path: sourcePath, mutable: false) { base_size, base_descriptor, base_error, base_raw in
119119
if let base = base_raw {
120120
Dump.mapFile(path: targetPath, mutable: true) { dupe_size, dupe_descriptor, dupe_error, dupe_raw in

0 commit comments

Comments
 (0)