factor out the syscall munging to a separate func
add 'random 10 syscalls' mode.