syscall.sh / arm / getrandom

getrandom

obtain a series of random bytes

sys_getrandom(char *buf, size_t count, unsigned int flags)
number384 (0x180)
abicommon
entry pointsys_getrandom
sinceLinux 4.10
man pagegetrandom(2)
sourceelixir.bootlin.com

Registers

registervalue
r7384, the syscall number
r0char *buf
r1size_t count
r2unsigned int flags
r0the return value

Then run svc #0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/arm/getrandom