summary refs log tree commit diff stats
path: root/results/classifier/zero-shot-user-mode/instruction/1027
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-07-08 13:28:15 +0200
committerChristian Krinitsin <mail@krinitsin.com>2025-07-08 13:28:28 +0200
commit5aa276efcbd67f4300ca1a7f809c6e00aadb03da (patch)
tree9b8f0e074014cda8d42f5a97a95bc25082d8b764 /results/classifier/zero-shot-user-mode/instruction/1027
parent1a3c4faf4e0a25ed0b86e8739d5319a634cb9112 (diff)
downloademulator-bug-study-5aa276efcbd67f4300ca1a7f809c6e00aadb03da.tar.gz
emulator-bug-study-5aa276efcbd67f4300ca1a7f809c6e00aadb03da.zip
restructure results
Diffstat (limited to 'results/classifier/zero-shot-user-mode/instruction/1027')
-rw-r--r--results/classifier/zero-shot-user-mode/instruction/102721
1 files changed, 21 insertions, 0 deletions
diff --git a/results/classifier/zero-shot-user-mode/instruction/1027 b/results/classifier/zero-shot-user-mode/instruction/1027
new file mode 100644
index 00000000..3d1224f0
--- /dev/null
+++ b/results/classifier/zero-shot-user-mode/instruction/1027
@@ -0,0 +1,21 @@
+instruction: 0.689
+runtime: 0.201
+syscall: 0.109
+
+
+
+Executables should have embedded plist on macOS
+Description of problem:
+QEMU binaries on macOS should have an embedded property list (`plist`).
+
+The bundle identifier of an application, as well as many other settings, are usually not set programmatically but through an `Info.plist` file found within the application bundle (`.app`) which is a property list (basically a settings file in XML format). 
+
+When liking a command line binary, you can tell the linker to embed such a property list inside the binary and the system will respect that when loading the binary. Having an embedded `Info.plist` is highly recommended for all macOS applications, even command line tools, as many system features will not work correctly (or are not even possible) unless they have one (not in all places the binary name will work instead of a bundle identifier).
+
+All you need to do is writing a [plist file by hand](https://docs.transifex.com/formats/apple-plist) (for a list of available keys, see [Apple's documentation](https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Introduction/Introduction.html)) and then tell the liker to embed it into the binary:
+
+```
+-sectcreate __TEXT __info_plist YourPlistFile.plist
+```
+
+This makes it far easier to set app specific settings correctly, as in #334 for example. Also things like sudden termination can be disabled completely that way without a single line of code.