hook

  1. R

    C How can i get the mount_point & absolute_path by the installed file struct?

    I'm writing a simple hook to open / openat. Like this static int openat_hook(struct thread *td, register struct openat_args *uap) { // print uprintf(" SYS_openat: \"%s\", flags: %d, mode: %X fd: %d\n", uap->path, uap->flag, uap->mode, uap->fd); get_whole_addr(td, uap); return...
Back
Top