Skip to content

Commit

Permalink
Merge pull request #30 from Halo-Michael/main
Browse files Browse the repository at this point in the history
Update dump.swift
  • Loading branch information
paradiseduo authored Oct 14, 2024
2 parents ba71eb2 + c2b979a commit 3700b3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/appdecrypt/dump.swift
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class Dump {
for (i, sourcePath) in needDumpFilePaths.enumerated() {
let targetPath = dumpedFilePaths[i]
// Please see https://github.com/NyaMisty/fouldecrypt/issues/15#issuecomment-1722561492
let handle = dlopen(targetPath, RTLD_LAZY | RTLD_GLOBAL)
let handle = dlopen(sourcePath, RTLD_LAZY | RTLD_GLOBAL)
Dump.mapFile(path: sourcePath, mutable: false) { base_size, base_descriptor, base_error, base_raw in
if let base = base_raw {
Dump.mapFile(path: targetPath, mutable: true) { dupe_size, dupe_descriptor, dupe_error, dupe_raw in
Expand Down

0 comments on commit 3700b3a

Please sign in to comment.