Skip to content

Commit

Permalink
Merge pull request #149 from extremegrief1/master
Browse files Browse the repository at this point in the history
Add support for macOS Ventura beta 3+
  • Loading branch information
trulyspinach authored Jul 8, 2022
2 parents c55f0e0 + b90684f commit b650a35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AMDRyzenCPUPowerManagement/symresolver/kernel_resolver.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ void find_mach_header_addr(uint8_t kc){
for (uint32_t i = 0; i < mach_header->ncmds; i++) {
if (lcp->cmd == LC_SEGMENT_64) {
seg_command_64_t *sc = (seg_command_64_t*)lcp;
if (!strncmp(sc->segname, "__PRELINK_TEXT", sizeof(sc->segname))) {
if (!strncmp(sc->segname, "__TEXT_EXEC", sizeof(sc->segname))) {
mh_base_addr = sc->vmaddr;
break;
}
Expand Down

0 comments on commit b650a35

Please sign in to comment.