def METHOD_NAME(self):
    name = "sys_mmap"
    index = 9
    @self.m.hook(name, after=True, syscall=True)
    def tmp(state):
        pass
    self.m.run()
    assert tmp in self.m._sys_after_hooks[index]