mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-25 21:51:47 +00:00
Merge remote-tracking branch 'origin/GP-4259_ryanmkurtz_PR-6145_sgan81_macho-chained-ptrs'
This commit is contained in:
commit
ad7694a7a9
@ -186,6 +186,7 @@ public class DyldChainedPtr {
|
||||
|
||||
switch (ptrFormat) {
|
||||
case DYLD_CHAINED_PTR_ARM64E:
|
||||
case DYLD_CHAINED_PTR_ARM64E_KERNEL:
|
||||
case DYLD_CHAINED_PTR_ARM64E_USERLAND:
|
||||
case DYLD_CHAINED_PTR_ARM64E_USERLAND24:
|
||||
return ((chainValue >>> 62) & 1) != 0;
|
||||
@ -199,7 +200,6 @@ public class DyldChainedPtr {
|
||||
|
||||
// Never bound
|
||||
case DYLD_CHAINED_PTR_ARM64E_FIRMWARE:
|
||||
case DYLD_CHAINED_PTR_ARM64E_KERNEL:
|
||||
case DYLD_CHAINED_PTR_X86_64_KERNEL_CACHE:
|
||||
case DYLD_CHAINED_PTR_64_KERNEL_CACHE:
|
||||
case DYLD_CHAINED_PTR_32_CACHE:
|
||||
@ -356,6 +356,7 @@ public class DyldChainedPtr {
|
||||
|
||||
switch (ptrFormat) {
|
||||
case DYLD_CHAINED_PTR_ARM64E:
|
||||
case DYLD_CHAINED_PTR_ARM64E_KERNEL:
|
||||
case DYLD_CHAINED_PTR_ARM64E_USERLAND:
|
||||
ordinal = chainValue & 0xFFFF;
|
||||
break;
|
||||
@ -372,7 +373,6 @@ public class DyldChainedPtr {
|
||||
|
||||
// Never Ordinal
|
||||
case DYLD_CHAINED_PTR_ARM64E_FIRMWARE:
|
||||
case DYLD_CHAINED_PTR_ARM64E_KERNEL:
|
||||
case DYLD_CHAINED_PTR_X86_64_KERNEL_CACHE:
|
||||
case DYLD_CHAINED_PTR_64_KERNEL_CACHE:
|
||||
case DYLD_CHAINED_PTR_32_CACHE:
|
||||
|
Loading…
Reference in New Issue
Block a user