Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 
0003 #include <linux/error-injection.h>
0004 #include <linux/kprobes.h>
0005 
0006 void override_function_with_return(struct pt_regs *regs)
0007 {
0008     instruction_pointer_set(regs, regs->lr);
0009 }
0010 NOKPROBE_SYMBOL(override_function_with_return);