Apple's open-source XNU kernel on Android phones: its own loader and drivers, Metal on the Adreno. Runs from RAM; a reboot gives the phone back to Android.
C
JetEngine's own Promise is reachable from a hook, which decides what the next step costs
vcvkkf377ef7c6f3b
diff --git a/README.md b/README.mdindex 5adb5f0..94e2570 100644--- a/README.md+++ b/README.md@@ -1954,7 +1954,15 @@ redwood: appstored: KEY brotli entered 0 returned 0, processStream entered 0 ret(перехвачен `__cxa_throw`, имя типа лежит вторым словом в его `std::type_info`), и бросают его и в`appstored`, где всё уже работает, — значит, это зацепка, а не ответ.-Остаётся само рисование: 177 786 байт приходят, `JPReader` разбирает их в результат, и ничего не+**И более точное: содержимого приложение не просит вообще.** В отчёте о задачах, прочитанном не на тот+вопрос, под который он строился, видно: App Store делает **ровно четыре запроса за сеанс** — и так в трёх+сеансах подряд: дважды мешок и дважды `apps.mzstatic.com/.../ios-appstore.jetpack`. Но `jetpack` — это+интерфейс магазина, а не его содержимое; элементы главной страницы приходят отдельной лентой, и такого+запроса не делается ни одного. Значит, правильнее не «страницу разобрали и не нарисовали», а **никто+никогда не просит того, что рисовать**. Вопрос переезжает с «почему JetEngine не рисует документ» на+«кто должен был запросить содержимое, когда документ загрузился, и почему не запросил».++Что до самого рисования: 177 786 байт приходят, `JPReader` разбирает их в результат, и ничего непоявляется. Кто берёт результат дальше — видно по кадрам стека на выходе из `processStream:`(`ipsw dyld a2s` называет хотя бы образ): **обратно в JetEngine**,`/System/Library/PrivateFrameworks/JetEngine.framework/JetEngine`, в функции Swift, имён которых в кешеdiff --git a/userland/src/inject_store.c b/userland/src/inject_store.cindex 4e9810b..585a18f 100644--- a/userland/src/inject_store.c+++ b/userland/src/inject_store.c@@ -475,7 +475,20 @@ new_brotli(id self, SEL cmd, void *a, void *b, void *c, void *d)* have asked for the content once the document was loaded, and why does it not".* The next thing to measure is accordingly one step earlier: a task that is created and never* resumed is a different story from a task that is never created, and they look the same in a report- * that only counts resumes. Both are counted now.+ * that only counts resumes. Both are counted now -- and the creation hooks fire for nothing, while+ * four resumes are counted, so the four tasks are made somewhere these two do not see. The fact that+ * matters survives either way: four requests, no feed.+ *+ * WHAT IS REACHABLE IN JetEngine FROM A HOOK, since that decides whether the next step is a run or a+ * week of reading. Of 71 042 Objective-C classes in the App Store's process, 40 are named like Jet+ * and 27 like JE, and they are real: JEBrotliDecoder/Encoder, JETreatment, JETreatmentProfile,+ * JETreatmentContext, JETreatmentAction and the JEDeres* actions, JEMediaActivityTracker,+ * JEMetricsDataPredicate, JEUnfairLock, JEWrappedMetricsPipeline, JetEngine itself, JetUI, and --+ * the one worth taking first -- _TtGC9JetEngine7PromiseT__, which is JetEngine's own Promise.+ * The App Store's page is built on promises of its own, and a promise graph is the instrument that+ * found the root in appstored in one slot. The same graph on JetEngine.Promise, with the entry and+ * exit counted apart, is where the next session should start: it says whether anything is waiting+ * for the content that is never asked for, and it costs a run rather than a read.*/static id (*old_dataTaskLocal)(id, SEL, void *, void *);static id