Skip to content

crt: fix kernel_get_vmem_protection return prot#50

Closed
illusionyy wants to merge 1 commit into
ps5-payload-dev:masterfrom
illusionyy:patch-1
Closed

crt: fix kernel_get_vmem_protection return prot#50
illusionyy wants to merge 1 commit into
ps5-payload-dev:masterfrom
illusionyy:patch-1

Conversation

@illusionyy

Copy link
Copy Markdown
Contributor

at least on xom process, like shellcore, this used to return -1 when querying on mapbase. haven't check on bc mode apps.

dynlib_obj_t temp_obj = {};
kernel_dynlib_obj(pid, 0, &temp_obj);
start = temp_obj.mapbase;
start_size = temp_obj.mapsize;
prot = kernel_get_vmem_protection(pid, start, start_size); // returned -1

this changelist

dynlib_obj_t temp_obj = {};
kernel_dynlib_obj(pid, 0, &temp_obj);
start = temp_obj.mapbase;
start_size = temp_obj.mapsize;
prot = kernel_get_vmem_protection(pid, start, start_size); // returned 4

@illusionyy illusionyy changed the title crt: fix kernel_get_vmem_protection fix return prot crt: fix kernel_get_vmem_protection return prot May 20, 2026
@illusionyy illusionyy marked this pull request as draft May 20, 2026 04:43
@illusionyy

Copy link
Copy Markdown
Contributor Author

Not quite the fix yet, so marking draft for now

@illusionyy illusionyy closed this May 20, 2026
@illusionyy illusionyy deleted the patch-1 branch May 29, 2026 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant