fix(native): remap executable

Signed-off-by: rhunk <101876869+rhunk@users.noreply.github.com>
This commit is contained in:
rhunk
2024-06-13 01:16:40 +02:00
parent a2f56d11c2
commit 552c1e4011
9 changed files with 27 additions and 12 deletions

View File

@@ -992,6 +992,10 @@
"custom_emoji_font": {
"name": "Custom Emoji Font",
"description": "Allows you to use a custom emoji font. Only works with .ttf fonts"
},
"remap_executable": {
"name": "Remap Executable",
"description": "Remaps executable regions in memory"
}
}
},

View File

@@ -39,6 +39,7 @@ class Experimental : ConfigContainer() {
addFlags(ConfigFlag.USER_IMPORT)
filenameFilter = { it.endsWith(".ttf") }
}
val remapExecutable = boolean("remap_executable") { requireRestart(); addNotices(FeatureNotice.INTERNAL_BEHAVIOR, FeatureNotice.UNSTABLE) }
}
class E2EEConfig : ConfigContainer(hasGlobalState = true) {