obliteration icon indicating copy to clipboard operation
obliteration copied to clipboard

Implement sys_ipmimgr_call

Open SuchAFuriousDeath opened this issue 1 year ago • 6 comments

SuchAFuriousDeath avatar Feb 07 '24 17:02 SuchAFuriousDeath

I've started reversing that call already - I'm not sure to what extent it's used by commercial software, so I'll start with what's used by libSceNpManager's .init

mikusp avatar Feb 08 '24 12:02 mikusp

By the way, just in case it's not obvious, you don't have to implement it fully, just the branches that are actually ran, we do it like that in a lot of places already.

SuchAFuriousDeath avatar Feb 08 '24 13:02 SuchAFuriousDeath

I know, even that is a lot of code 🥲

mikusp avatar Feb 08 '24 13:02 mikusp

Does the branch that's ran actually return something?

SuchAFuriousDeath avatar Feb 08 '24 20:02 SuchAFuriousDeath

Looks like that is the case, they seem to expect some kind of resources to be returned, in addition to returning success from the call itself. I've stubbed like 4-5 commands and it seemed to progress further (then stuck on kern.sdk_version sysctl).

mikusp avatar Feb 09 '24 07:02 mikusp

image

SuchAFuriousDeath avatar Feb 09 '24 09:02 SuchAFuriousDeath