Category PS4 CFW and Hacks       Thread starter PSXHAX       Start date Jan 27, 2020 at 1:29 PM       4,429       5            
Following his GhidraOrbisTools PS4 Loader and IDA Script Ports developer @KIWIDOGGIE (aka diwidog on Twitter) recently added a GetEventHandlerNames Python Script (GetEventHandlerNames.py) by kd_tech_ to his KiwiDoggie Productions IDA ConsoleHacking Scripts repository on Github for PS4 scene developers using the IDA Interactive Disassembler for code examination and reverse-engineering. :geek:

Download: GetEventHandlerNames.py / IDA-ConsoleHacking-Scripts-master.zip / GIT

From GetEventHandlerNames.py on Github:
Code:
#!/usr/bin/env python

#
# OpenOrbis Project providing 100% free and open source development
# This script will enumerate and print out in the console all of the eventhandler_register names
# so you can use them in your own kernel scripts
# **** the pirates
#
# Created by: kd (@kd_tech_)
# Started on: Jan 25, 2020
#

def get_eventhandler_register():
    s_Ea = idc.BeginEA()
    for l_FunctionAddress in idautils.Functions(SegStart(s_Ea), SegEnd(s_Ea)):
        l_FunctionName = idc.GetFunctionName(l_FunctionAddress)

        # check if it's our variable
        if l_FunctionName.startswith("eventhandler_register"):
            return l_FunctionAddress

    return idaapi.BADADDR

if __name__ == "__main__":
    s_EventHandlerRegister = get_eventhandler_register()
    if s_EventHandlerRegister == idaapi.BADADDR:
        msg("err: could not find eventhandler_register\n")

    #msg("found eventhandler_register: %x\n" % s_EventHandlerRegister)
    for l_XRef in idautils.XrefsTo(s_EventHandlerRegister):
        l_XRefEA = l_XRef.frm
   
        l_XRefAddrs = idaapi.get_arg_addrs(l_XRefEA)
        if l_XRefAddrs == None:
            continue
        # eventhandler_tag eventhandler_register(struct eventhandler_list *list, const char *name, void *func, void *arg, int priority)
        #msg("len: %d\n" % len(l_XRefAddrs))

        l_Arg = l_XRefAddrs[1]
        l_NameAddress = long(idc.GetOperandValue(l_Arg, 1))
        l_Name = idc.get_strlit_contents(l_NameAddress)
        msg("%s - %s\n" % (l_Name, "0")) #
    #msg("complete\n")
Cheers to @HydrogenNGU for the heads-up on Twitter earlier today! šŸ»
GetEventHandlerNames Python Script for PS4 Scene Developers.jpg
 

Comments

arifx2

Member
Contributor
can we just decrypt and make a whole new kernel to ps4 system then open everything, full powered, updated driver, etc and no check for original games :X3::X3:
 
Recent Articles
PS4 Firmware / System Software 7.50 Beta Program Update Arrives
Those that joined Sony's PlayStation 4 System Software Beta Trial who received their Beta Firmware Invites to be Preview Program PUP Testers and check out multiple revisions of PS4 BETA PUPs can...
ThemeDumperFTP: PS4 Retail Theme PKG Dumper via FTP by OfficialAhmed
Following his ProfileIt PS4 Tool release, the PS4 Theme Dumping Guide and countless PS4 Theme PKGs currently accessible PlayStation 4 developer OfficialAhmed made available ThemeDumperFTP which is...
PS4 Offline Account Activator GUI by Charlyzard (Barthen)
Earlier this month PlayStation 4 scene developer charlyzard released a PS4OfflineAccountActivator and now he's made available via Twitter a PS4 Offline Account Activator GUI for those like me who...
Biofeedback May Be Utilized in DualShock 5 to Modify User Experience
Since last month's rumors of a DS5 Built-in Microphone, according to a recently discovered Sony Interactive Entertainment patent the DualShock 5 (DS5) Controller may utilize biofeedback to modify...
Top