Commit Graph

28 Commits

Author SHA1 Message Date
Michael Roitzsch
f3150df424 Makefile: fix entitlements export for Monterey 2021-10-29 19:52:30 +02:00
Michael Roitzsch
31fcb59c80 Makefile: extract DriverKit dyld cache 2021-10-25 12:03:31 +02:00
Michael Roitzsch
2deea7c208 flake: Monterey-compatible dyld cache extractor 2021-10-25 12:03:12 +02:00
Michael Roitzsch
563347a6db Makefile: assume a flake-capable Nix is installed 2021-10-20 10:43:55 +02:00
Michael Roitzsch
345d5a24c0 Makefile: configurable Xcode installation 2021-10-20 10:43:55 +02:00
Michael Roitzsch
1036b6326c Makefile: renew database if current system is newer 2021-05-25 10:31:22 +02:00
Michael Roitzsch
aeae2a6157 Makefile: use most current compressed database 2021-04-24 14:21:31 +02:00
Michael Roitzsch
924e53e9b6 Makefile: tolerate errors with interactive SQlite 2021-03-27 16:01:19 +01:00
Michael Roitzsch
7ad7ac85f2 improve interactive SQLite completions
rename index to avoid it having the same prefix as the files table
2021-03-24 19:52:38 +01:00
Michael Roitzsch
b84e3ba5cf clear extended attributes 2021-03-24 18:07:00 +01:00
Michael Roitzsch
7bfdb02cc9 add a textual database dump of most relevant info
useful for diffing databases of multiple OS versions against each other
2020-12-31 18:41:47 +01:00
Michael Roitzsch
320cee87e0 fix passing DB as command line variable 2020-12-31 18:12:51 +01:00
Michael Roitzsch
f85006a1c9 convenience target for interactive database access 2020-12-31 17:25:47 +01:00
Michael Roitzsch
7a892360c8 check: extension points
listed extension points should be valid NSExtensionPointIdentifiers
2020-11-24 14:33:25 +01:00
Michael Roitzsch
17478b0144 db: collect Info.plist files 2020-11-24 14:33:10 +01:00
Michael Roitzsch
b5bcc70bd6 check: launchd services
• check listed service labels
• check host/task special ports
2020-11-24 14:30:24 +01:00
Michael Roitzsch
e1278f9a21 db: collect launchd service information 2020-11-24 14:30:24 +01:00
Michael Roitzsch
5c7181b1f9 db: collect contents of asset catalogs 2020-11-24 14:30:24 +01:00
Michael Roitzsch
e03a6cd0ca check: executables and frameworks
• check command line tools
• check framework names
• check server names as strings in binaries
2020-11-24 14:30:24 +01:00
Michael Roitzsch
051dd0f167 db: extract dylibs from dyld cache and scan
uses dyld_shared_cache_util tool from the Nix flake
2020-11-24 14:29:51 +01:00
Michael Roitzsch
ee5938c46f db: include developer tools in scan 2020-11-24 14:29:51 +01:00
Michael Roitzsch
6853a9111d db: collect information about binaries
• library linkage
• entitlements
• strings in the binary
2020-11-24 14:29:51 +01:00
Michael Roitzsch
d85af9cea8 check: existence of mentioned files
first check also sets up checks infrastructure
2020-11-24 14:29:51 +01:00
Michael Roitzsch
76c9417244 db: use transactions
for better database performance
2020-11-24 14:29:51 +01:00
Michael Roitzsch
caa1b1dce3 db: store compressed database file
automatically decompress before using
2020-11-24 14:29:51 +01:00
Michael Roitzsch
91f62823cd db: refactor to separate iterator function 2020-11-24 14:29:51 +01:00
Michael Roitzsch
98bc5f9af1 db: collect information of files in the system 2020-11-23 16:12:15 +01:00
Michael Roitzsch
ddd4ef602e Makefile: update internals.txt 2020-09-19 12:27:57 +02:00