SiriSignalsEngine
/System/Library/PrivateFrameworks/SiriSignalsEngine.framework/SiriSignalsEngine
+71−34
| 1 | − | 1.8.0.0.0 |
| 2 | − | __TEXT.__text: 0x4d05c |
| 3 | − | __TEXT.__const: 0x2cd0 |
| 4 | − | __TEXT.__swift5_typeref: 0xd8f |
| 5 | − | __TEXT.__constg_swiftt: 0x7d4 |
| 6 | + | 1.8.5.0.0 |
| 7 | + | __TEXT.__text: 0x52f4c |
| 8 | + | __TEXT.__const: 0x2ce0 |
| 9 | + | __TEXT.__swift5_typeref: 0xddd |
| 10 | + | __TEXT.__constg_swiftt: 0x7fc |
| 11 | __TEXT.__swift5_reflstr: 0x6d9 | |
| 12 | __TEXT.__swift5_fieldmd: 0xba8 | |
| 13 | __TEXT.__swift5_builtin: 0x50 | |
| 14 | ||
| 15 | __TEXT.__swift5_types: 0xc8 | |
| 16 | __TEXT.__swift_as_entry: 0xb8 | |
| 17 | __TEXT.__swift_as_ret: 0xbc | |
| 18 | − | __TEXT.__swift_as_cont: 0x128 |
| 19 | − | __TEXT.__cstring: 0x12a55 |
| 20 | − | __TEXT.__oslogstring: 0x6fc |
| 21 | + | __TEXT.__swift_as_cont: 0x130 |
| 22 | + | __TEXT.__cstring: 0x12cb5 |
| 23 | + | __TEXT.__oslogstring: 0x85c |
| 24 | __TEXT.__swift5_acfuncs: 0x50 | |
| 25 | − | __TEXT.__swift5_capture: 0x150 |
| 26 | + | __TEXT.__swift5_capture: 0x1ec |
| 27 | __TEXT.__swift5_mpenum: 0x10 | |
| 28 | − | __TEXT.__unwind_info: 0x17c8 |
| 29 | − | __TEXT.__eh_frame: 0x3298 |
| 30 | + | __TEXT.__unwind_info: 0x1880 |
| 31 | + | __TEXT.__eh_frame: 0x3518 |
| 32 | __TEXT.__objc_stubs: 0x0 | |
| 33 | __TEXT.__auth_stubs: 0x0 | |
| 34 | __TEXT.__objc_classname: 0x0 | |
| 35 | ||
| 36 | __DATA_CONST.__const: 0x68 | |
| 37 | __DATA_CONST.__objc_classlist: 0x28 | |
| 38 | __DATA_CONST.__objc_imageinfo: 0x8 | |
| 39 | − | __DATA_CONST.__objc_selrefs: 0x170 |
| 40 | + | __DATA_CONST.__objc_selrefs: 0x178 |
| 41 | __DATA_CONST.__got: 0x0 | |
| 42 | − | __AUTH_CONST.__const: 0x3758 |
| 43 | + | __AUTH_CONST.__const: 0x3988 |
| 44 | __AUTH_CONST.__objc_const: 0x4b8 | |
| 45 | − | __AUTH_CONST.__auth_got: 0xc00 |
| 46 | + | __AUTH_CONST.__auth_got: 0xc10 |
| 47 | __AUTH_CONST.__auth_ptr: 0x3f8 | |
| 48 | __AUTH.__objc_data: 0x140 | |
| 49 | − | __AUTH.__data: 0x798 |
| 50 | − | __DATA.__data: 0xa40 |
| 51 | + | __AUTH.__data: 0x7c0 |
| 52 | + | __DATA.__data: 0xa60 |
| 53 | __DATA.__bss: 0x3580 | |
| 54 | __DATA.__common: 0xf0 | |
| 55 | - /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation | |
| 56 | ||
| 57 | - /usr/lib/swift/libswift_Concurrency.dylib | |
| 58 | - /usr/lib/swift/libswift_DarwinFoundation1.dylib | |
| 59 | - /usr/lib/swift/libswiftos.dylib | |
| 60 | − | Functions: 1976 |
| 61 | − | Symbols: 659 |
| 62 | − | CStrings: 130 |
| 63 | + | Functions: 2165 |
| 64 | + | Symbols: 683 |
| 65 | + | CStrings: 143 |
| 66 | ||
| 67 | Symbols: | |
| 68 | + | _OUTLINED_FUNCTION_120 |
| 69 | + | _OUTLINED_FUNCTION_121 |
| 70 | + | _OUTLINED_FUNCTION_122 |
| 71 | + | _OUTLINED_FUNCTION_123 |
| 72 | + | _OUTLINED_FUNCTION_124 |
| 73 | + | _OUTLINED_FUNCTION_125 |
| 74 | + | _OUTLINED_FUNCTION_126 |
| 75 | + | _OUTLINED_FUNCTION_127 |
| 76 | + | _OUTLINED_FUNCTION_128 |
| 77 | + | _OUTLINED_FUNCTION_129 |
| 78 | + | _OUTLINED_FUNCTION_130 |
| 79 | + | _OUTLINED_FUNCTION_131 |
| 80 | + | _OUTLINED_FUNCTION_132 |
| 81 | + | _OUTLINED_FUNCTION_133 |
| 82 | + | _OUTLINED_FUNCTION_134 |
| 83 | + | _OUTLINED_FUNCTION_135 |
| 84 | + | _OUTLINED_FUNCTION_136 |
| 85 | + | _OUTLINED_FUNCTION_137 |
| 86 | + | _OUTLINED_FUNCTION_138 |
| 87 | + | _sqlite3_last_insert_rowid |
| 88 | + | _swift_release_x10 |
| 89 | + | _symbolic _____3iid_SSSg4textt s5Int64V |
| 90 | + | _symbolic _____y_____3iid_SSSg4texttG s23_ContiguousArrayStorageC s5Int64V |
| 91 | + | _symbolic _____y_____G s23_ContiguousArrayStorageC 10Foundation3URLV |
| 92 | + | _symbolic _____y_____G s23_ContiguousArrayStorageC s5Int64V |
| 93 | − | _objc_retain_x27 |
| 94 | CStrings: | |
| 95 | + | ");\nINSERT OR IGNORE INTO meta(key, value) VALUES ('store_version', " |
| 96 | + | ";\nPRAGMA secure_delete=ON;\n-- Items get an integer key on first insert (AUTOINCREMENT, so a deleted item's key is\n-- never reused) and the postings and rendered text are keyed by it. A new item's rows\n-- then land on the last pages, and a re-sent item's on its own pages, instead of\n-- scattering across indexes keyed by a random UUID.\nCREATE TABLE IF NOT EXISTS items(\n iid INTEGER PRIMARY KEY AUTOINCREMENT, item_uuid TEXT NOT NULL UNIQUE,\n source_type TEXT NOT NULL, recency REAL NOT NULL,\n lexicon_version INTEGER NOT NULL, write_epoch INTEGER NOT NULL,\n tombstoned INTEGER NOT NULL DEFAULT 0, mailboxes TEXT, bundle_id TEXT,\n content_hash INTEGER NOT NULL DEFAULT 0);\nCREATE TABLE IF NOT EXISTS postings(\n iid INTEGER NOT NULL, ngram TEXT NOT NULL, tf INTEGER NOT NULL,\n PRIMARY KEY(iid, ngram)) WITHOUT ROWID;\nCREATE INDEX IF NOT EXISTS idx_items_epoch ON items(write_epoch);\nCREATE INDEX IF NOT EXISTS idx_items_recency ON items(recency);\nCREATE INDEX IF NOT EXISTS idx_items_src_recency ON items(source_type, recency);\nCREATE TABLE IF NOT EXISTS meta(key TEXT PRIMARY KEY, value INTEGER NOT NULL);\nINSERT OR IGNORE INTO meta(key, value) VALUES ('write_epoch', 0);\n-- Store-generation token: seeded ONCE per fresh store with a unique random value\n-- (OR IGNORE keeps it stable across reopens). A wipe/rebuild reseeds a new value,\n-- so a writer polling storeGeneration() detects the drop and re-drives all items.\nINSERT OR IGNORE INTO meta(key, value) VALUES ('cookie', " |
| 97 | + | ";\nPRAGMA secure_delete=ON;\nCREATE TABLE IF NOT EXISTS rendered_text(iid INTEGER PRIMARY KEY, text TEXT NOT NULL);" |
| 98 | + | "DELETE FROM items WHERE iid = ?;" |
| 99 | + | "DELETE FROM items WHERE recency < ?;" |
| 100 | + | "DELETE FROM postings WHERE iid = ?;" |
| 101 | + | "DELETE FROM postings WHERE iid IN (SELECT iid FROM items WHERE recency < ?);" |
| 102 | + | "DELETE FROM rendered_text WHERE iid = ?;" |
| 103 | + | "DELETE FROM rendered_text WHERE iid NOT IN (SELECT iid FROM postings_db.items);" |
| 104 | + | "INSERT INTO items(item_uuid, source_type, recency, lexicon_version, write_epoch, tombstoned,\n mailboxes, bundle_id, content_hash)\nVALUES (?,?,?,?,?,0,?,?,?);" |
| 105 | + | "INSERT INTO rendered_text(iid, text) VALUES (?,?)\nON CONFLICT(iid) DO UPDATE SET text=excluded.text WHERE text <> excluded.text;" |
| 106 | + | "INSERT OR REPLACE INTO postings(iid, ngram, tf) VALUES (?,?,?);" |
| 107 | + | "PRAGMA journal_mode=WAL;\nPRAGMA journal_size_limit=" |
| 108 | + | "PRAGMA table_info(" |
| 109 | + | "SELECT i.bundle_id, SUM(p.tf), COUNT(DISTINCT p.iid)\nFROM postings p JOIN items i ON i.iid = p.iid\nWHERE p.ngram = ? AND i.tombstoned = 0\nGROUP BY i.bundle_id\nORDER BY 2 DESC;" |
| 110 | + | "SELECT iid FROM items WHERE item_uuid = ?;" |
| 111 | + | "SELECT iid FROM items WHERE recency < ?;" |
| 112 | + | "SELECT iid, content_hash FROM items WHERE item_uuid = ?;" |
| 113 | + | "SELECT ngram, tf FROM postings WHERE iid = ?;" |
| 114 | + | "SELECT text FROM rendered_text WHERE iid = ?;" |
| 115 | + | "SELECT value FROM meta WHERE key = 'store_version';" |
| 116 | + | "UPDATE items SET source_type=?, recency=?, lexicon_version=?, write_epoch=?, tombstoned=0,\n mailboxes=?, bundle_id=?, content_hash=? WHERE iid=?;" |
| 117 | + | "[siriusergroundingd] expired %{public}ld items older than the window" |
| 118 | + | "[siriusergroundingd] expiry failed: %{public}s" |
| 119 | + | "record: %{public}ld written, %{public}ld unchanged and skipped, %{public}ld out of scope" |
| 120 | + | "rendered_text expiry skipped: %{public}@" |
| 121 | + | "replaced a store with the old schema; the writer will re-send every item" |
| 122 | − | "ALTER TABLE items ADD COLUMN bundle_id TEXT;" |
| 123 | − | "ALTER TABLE items ADD COLUMN mailboxes TEXT;" |
| 124 | − | "DELETE FROM items WHERE item_uuid = ?;" |
| 125 | − | "DELETE FROM postings WHERE item_uuid = ?;" |
| 126 | − | "DELETE FROM rendered_text WHERE item_uuid = ?;" |
| 127 | − | "DELETE FROM rendered_text WHERE item_uuid NOT IN (SELECT item_uuid FROM postings_db.items);" |
| 128 | − | "INSERT INTO items(item_uuid, source_type, recency, lexicon_version, write_epoch, tombstoned, mailboxes, bundle_id)\nVALUES (?,?,?,?,?,0,?,?)\nON CONFLICT(item_uuid) DO UPDATE SET\n source_type=excluded.source_type, recency=excluded.recency,\n lexicon_version=excluded.lexicon_version, write_epoch=excluded.write_epoch,\n tombstoned=0, mailboxes=excluded.mailboxes, bundle_id=excluded.bundle_id;" |
| 129 | − | "INSERT OR REPLACE INTO postings(item_uuid, ngram, tf) VALUES (?,?,?);" |
| 130 | − | "INSERT OR REPLACE INTO rendered_text(item_uuid, text) VALUES (?,?);" |
| 131 | − | "PRAGMA journal_mode=WAL;\nPRAGMA secure_delete=ON;\nCREATE TABLE IF NOT EXISTS items(\n item_uuid TEXT PRIMARY KEY, source_type TEXT NOT NULL, recency REAL NOT NULL,\n lexicon_version INTEGER NOT NULL, write_epoch INTEGER NOT NULL,\n tombstoned INTEGER NOT NULL DEFAULT 0, mailboxes TEXT, bundle_id TEXT);\nCREATE TABLE IF NOT EXISTS postings(\n item_uuid TEXT NOT NULL, ngram TEXT NOT NULL, tf INTEGER NOT NULL,\n PRIMARY KEY(item_uuid, ngram));\nCREATE INDEX IF NOT EXISTS idx_postings_ngram ON postings(ngram);\nCREATE INDEX IF NOT EXISTS idx_items_epoch ON items(write_epoch);\nCREATE INDEX IF NOT EXISTS idx_items_recency ON items(recency);\nCREATE INDEX IF NOT EXISTS idx_items_src_recency ON items(source_type, recency);\nCREATE TABLE IF NOT EXISTS meta(key TEXT PRIMARY KEY, value INTEGER NOT NULL);\nINSERT OR IGNORE INTO meta(key, value) VALUES ('write_epoch', 0);\n-- Store-generation token: seeded ONCE per fresh store with a unique random value\n-- (OR IGNORE keeps it stable across reopens). A wipe/rebuild reseeds a new value,\n-- so a writer polling storeGeneration() detects the drop and re-drives all items.\nINSERT OR IGNORE INTO meta(key, value) VALUES ('cookie', " |
| 132 | − | "PRAGMA journal_mode=WAL;\nPRAGMA secure_delete=ON;\nCREATE TABLE IF NOT EXISTS rendered_text(item_uuid TEXT PRIMARY KEY, text TEXT NOT NULL);" |
| 133 | − | "SELECT i.bundle_id, SUM(p.tf), COUNT(DISTINCT p.item_uuid)\nFROM postings p JOIN items i ON i.item_uuid = p.item_uuid\nWHERE p.ngram = ? AND i.tombstoned = 0\nGROUP BY i.bundle_id\nORDER BY 2 DESC;" |
| 134 | − | "SELECT ngram, tf FROM postings WHERE item_uuid = ?;" |
| 135 | − | "SELECT text FROM rendered_text WHERE item_uuid = ?;" |