syscall.sh / parisc / brk

brk

change data segment size

sys_brk(unsigned long brk)
number45 (0x2d)
abicommon
entry pointsys_brk
sinceLinux 5.0
man pagebrk(2)
sourceelixir.bootlin.com

Registers

registervalue
r2045, the syscall number
r26unsigned long brk
r28the return value

Then run ble 0x100(%sr2, %r0) to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/brk