Skip to content

module NIDs are invalid #8

@173210

Description

@173210

We don't have module NIDs except SceLibMonoBridge one. We must add other NIDs.
As you can see in the source code of psp2-fixup and probably in Yifan's specifications, those NIDs are included in binaries, so it should be possible to get them.
https://github.com/psp2sdk/tools/blob/master/psp2-fixup/elf_psp2.h#L41

typedef struct {
    uint16_t size;
    uint16_t ver;
    uint16_t flags;
    uint16_t funcNum;
    uint16_t varNum;
    uint16_t unkNum;
    uint32_t unused0;
    uint32_t nid; // <- This
    uint32_t name;
    uint32_t unused1;
    uint32_t funcNids;
    uint32_t funcStubs;
    uint32_t varNids;
    uint32_t varStubs;
    uint32_t unkNids;
    uint32_t unkStubs;
} sceLib_stub;

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions