Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Building file.
- jailbreak.m:15:35: warning: declaration of 'struct YaluPrimitives' will not be
- visible outside of this function [-Wvisibility]
- static uint32_t fcall_x1x5(struct YaluPrimitives* primitives, vm_address...
- ^
- jailbreak.m:17:46: error: incomplete definition of type 'struct YaluPrimitives'
- struct IOPrimitivesRef* pref = primitives->ref;
- ~~~~~~~~~~^
- jailbreak.m:15:35: note: forward declaration of 'struct YaluPrimitives'
- static uint32_t fcall_x1x5(struct YaluPrimitives* primitives, vm_address...
- ^
- jailbreak.m:22:35: warning: declaration of 'struct YaluPrimitives' will not be
- visible outside of this function [-Wvisibility]
- static uint32_t fcall_x0x2(struct YaluPrimitives* primitives, vm_address...
- ^
- jailbreak.m:24:46: error: incomplete definition of type 'struct YaluPrimitives'
- struct IOPrimitivesRef* pref = primitives->ref;
- ~~~~~~~~~~^
- jailbreak.m:22:35: note: forward declaration of 'struct YaluPrimitives'
- static uint32_t fcall_x0x2(struct YaluPrimitives* primitives, vm_address...
- ^
- jailbreak.m:26:23: warning: incompatible pointer types passing
- 'struct YaluPrimitives *' to parameter of type 'struct YaluPrimitives *'
- [-Wincompatible-pointer-types]
- return fcall_x1x5(primitives, pref->mov_x0_x3_br_r4, x1, x2, x0, target, 0);
- ^~~~~~~~~~
- jailbreak.m:15:51: note: passing argument to parameter 'primitives' here
- static uint32_t fcall_x1x5(struct YaluPrimitives* primitives, vm_address...
- ^
- jailbreak.m:29:31: warning: declaration of 'struct YaluPrimitives' will not be
- visible outside of this function [-Wvisibility]
- static uint32_t read32(struct YaluPrimitives* primitives, vm_address_t addr) {
- ^
- jailbreak.m:30:46: error: incomplete definition of type 'struct YaluPrimitives'
- struct IOPrimitivesRef* pref = primitives->ref;
- ~~~~~~~~~~^
- jailbreak.m:29:31: note: forward declaration of 'struct YaluPrimitives'
- static uint32_t read32(struct YaluPrimitives* primitives, vm_address_t addr) {
- ^
- jailbreak.m:31:23: warning: incompatible pointer types passing
- 'struct YaluPrimitives *' to parameter of type 'struct YaluPrimitives *'
- [-Wincompatible-pointer-types]
- return fcall_x0x2(primitives, pref->ldr_w0_x0_228, addr - 228, 0, 0);
- ^~~~~~~~~~
- jailbreak.m:22:51: note: passing argument to parameter 'primitives' here
- static uint32_t fcall_x0x2(struct YaluPrimitives* primitives, vm_address...
- ^
- jailbreak.m:34:28: warning: declaration of 'struct YaluPrimitives' will not be
- visible outside of this function [-Wvisibility]
- static void write32(struct YaluPrimitives* primitives, vm_address_t addr...
- ^
- jailbreak.m:37:39: error: incomplete definition of type 'struct YaluPrimitives'
- uint64_t hi = (uint64_t)primitives->read32(primitives, addr + 4);
- ~~~~~~~~~~^
- jailbreak.m:34:28: note: forward declaration of 'struct YaluPrimitives'
- static void write32(struct YaluPrimitives* primitives, vm_address_t addr...
- ^
- jailbreak.m:38:15: error: incomplete definition of type 'struct YaluPrimitives'
- primitives->write64(primitives, addr, (((hi << 32) & 0xFFFFFFFF00000...
- ~~~~~~~~~~^
- jailbreak.m:34:28: note: forward declaration of 'struct YaluPrimitives'
- static void write32(struct YaluPrimitives* primitives, vm_address_t addr...
- ^
- jailbreak.m:41:31: warning: declaration of 'struct YaluPrimitives' will not be
- visible outside of this function [-Wvisibility]
- static uint64_t read64(struct YaluPrimitives* primitives, vm_address_t addr) {
- ^
- jailbreak.m:42:39: error: incomplete definition of type 'struct YaluPrimitives'
- uint64_t lo = (uint64_t)primitives->read32(primitives, addr);
- ~~~~~~~~~~^
- jailbreak.m:41:31: note: forward declaration of 'struct YaluPrimitives'
- static uint64_t read64(struct YaluPrimitives* primitives, vm_address_t addr) {
- ^
- jailbreak.m:43:39: error: incomplete definition of type 'struct YaluPrimitives'
- uint64_t hi = (uint64_t)primitives->read32(primitives, addr + 4);
- ~~~~~~~~~~^
- jailbreak.m:41:31: note: forward declaration of 'struct YaluPrimitives'
- static uint64_t read64(struct YaluPrimitives* primitives, vm_address_t addr) {
- ^
- jailbreak.m:47:28: warning: declaration of 'struct YaluPrimitives' will not be
- visible outside of this function [-Wvisibility]
- static void write64(struct YaluPrimitives* primitives, vm_address_t addr...
- ^
- jailbreak.m:49:46: error: incomplete definition of type 'struct YaluPrimitives'
- struct IOPrimitivesRef* pref = primitives->ref;
- ~~~~~~~~~~^
- jailbreak.m:47:28: note: forward declaration of 'struct YaluPrimitives'
- static void write64(struct YaluPrimitives* primitives, vm_address_t addr...
- ^
- jailbreak.m:50:16: warning: incompatible pointer types passing
- 'struct YaluPrimitives *' to parameter of type 'struct YaluPrimitives *'
- [-Wincompatible-pointer-types]
- fcall_x0x2(primitives, pref->str_x1_x0, addr, value, 0);
- ^~~~~~~~~~
- jailbreak.m:22:51: note: passing argument to parameter 'primitives' here
- static uint32_t fcall_x0x2(struct YaluPrimitives* primitives, vm_address...
- ^
- jailbreak.m:53:34: warning: declaration of 'struct YaluPrimitives' will not be
- visible outside of this function [-Wvisibility]
- static void invalidateTLB(struct YaluPrimitives* primitives) {
- ^
- jailbreak.m:54:46: error: incomplete definition of type 'struct YaluPrimitives'
- struct IOPrimitivesRef* pref = primitives->ref;
- ~~~~~~~~~~^
- jailbreak.m:53:34: note: forward declaration of 'struct YaluPrimitives'
- static void invalidateTLB(struct YaluPrimitives* primitives) {
- ^
- jailbreak.m:55:16: warning: incompatible pointer types passing
- 'struct YaluPrimitives *' to parameter of type 'struct YaluPrimitives *'
- [-Wincompatible-pointer-types]
- fcall_x1x5(primitives, pref->sys_0_c8_c7_0_dsb_ish_isb, 0, 0, 0, 0, 0);
- ^~~~~~~~~~
- jailbreak.m:15:51: note: passing argument to parameter 'primitives' here
- static uint32_t fcall_x1x5(struct YaluPrimitives* primitives, vm_address...
- ^
- jailbreak.m:58:31: warning: declaration of 'struct YaluPrimitives' will not be
- visible outside of this function [-Wvisibility]
- static void flushCache(struct YaluPrimitives* primitives) {
- ^
- jailbreak.m:59:46: error: incomplete definition of type 'struct YaluPrimitives'
- struct IOPrimitivesRef* pref = primitives->ref;
- ~~~~~~~~~~^
- jailbreak.m:58:31: note: forward declaration of 'struct YaluPrimitives'
- static void flushCache(struct YaluPrimitives* primitives) {
- ^
- jailbreak.m:60:16: warning: incompatible pointer types passing
- 'struct YaluPrimitives *' to parameter of type 'struct YaluPrimitives *'
- [-Wincompatible-pointer-types]
- fcall_x1x5(primitives, pref->dsb_sy, 0, 0, 0, 0, 0);
- ^~~~~~~~~~
- jailbreak.m:15:51: note: passing argument to parameter 'primitives' here
- static uint32_t fcall_x1x5(struct YaluPrimitives* primitives, vm_address...
- ^
- jailbreak.m:63:64: warning: declaration of 'struct YaluPrimitives' will not be
- visible outside of this function [-Wvisibility]
- void IOExternalTrapPrimitivesFromKernelAndSmashedClient(struct YaluPrimi...
- ^
- jailbreak.m:64:15: error: incomplete definition of type 'struct YaluPrimitives'
- primitives->ref = malloc(sizeof(struct IOPrimitivesRef));
- ~~~~~~~~~~^
- jailbreak.m:63:64: note: forward declaration of 'struct YaluPrimitives'
- void IOExternalTrapPrimitivesFromKernelAndSmashedClient(struct YaluPrimi...
- ^
- jailbreak.m:66:46: error: incomplete definition of type 'struct YaluPrimitives'
- struct IOPrimitivesRef* pref = primitives->ref;
- ~~~~~~~~~~^
- jailbreak.m:63:64: note: forward declaration of 'struct YaluPrimitives'
- void IOExternalTrapPrimitivesFromKernelAndSmashedClient(struct YaluPrimi...
- ^
- jailbreak.m:119:15: error: incomplete definition of type 'struct YaluPrimitives'
- primitives->read32 = read32;
- ~~~~~~~~~~^
- jailbreak.m:63:64: note: forward declaration of 'struct YaluPrimitives'
- void IOExternalTrapPrimitivesFromKernelAndSmashedClient(struct YaluPrimi...
- ^
- jailbreak.m:120:15: error: incomplete definition of type 'struct YaluPrimitives'
- primitives->write32 = write32;
- ~~~~~~~~~~^
- jailbreak.m:63:64: note: forward declaration of 'struct YaluPrimitives'
- void IOExternalTrapPrimitivesFromKernelAndSmashedClient(struct YaluPrimi...
- ^
- jailbreak.m:121:15: error: incomplete definition of type 'struct YaluPrimitives'
- primitives->read64 = read64;
- ~~~~~~~~~~^
- jailbreak.m:63:64: note: forward declaration of 'struct YaluPrimitives'
- void IOExternalTrapPrimitivesFromKernelAndSmashedClient(struct YaluPrimi...
- ^
- jailbreak.m:122:15: error: incomplete definition of type 'struct YaluPrimitives'
- primitives->write64 = write64;
- ~~~~~~~~~~^
- jailbreak.m:63:64: note: forward declaration of 'struct YaluPrimitives'
- void IOExternalTrapPrimitivesFromKernelAndSmashedClient(struct YaluPrimi...
- ^
- jailbreak.m:123:15: error: incomplete definition of type 'struct YaluPrimitives'
- primitives->flushCache = flushCache;
- ~~~~~~~~~~^
- jailbreak.m:63:64: note: forward declaration of 'struct YaluPrimitives'
- void IOExternalTrapPrimitivesFromKernelAndSmashedClient(struct YaluPrimi...
- ^
- jailbreak.m:124:15: error: incomplete definition of type 'struct YaluPrimitives'
- primitives->invalidateTLB = invalidateTLB;
- ~~~~~~~~~~^
- jailbreak.m:63:64: note: forward declaration of 'struct YaluPrimitives'
- void IOExternalTrapPrimitivesFromKernelAndSmashedClient(struct YaluPrimi...
- ^
- 14 warnings and 18 errors generated.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement