Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
kprobes.c File Reference
#include <linux/kprobes.h>
#include <linux/ptrace.h>
#include <linux/preempt.h>
#include <linux/stop_machine.h>
#include <linux/kdebug.h>
#include <linux/uaccess.h>
#include <asm/cacheflush.h>
#include <asm/sections.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/hardirq.h>

Go to the source code of this file.

Data Structures

struct  ins_replace_args
 

Functions

 DEFINE_PER_CPU (struct kprobe *, current_kprobe)
 
 DEFINE_PER_CPU (struct kprobe_ctlblk, kprobe_ctlblk)
 
int __kprobes arch_prepare_kprobe (struct kprobe *p)
 
void __kprobes arch_arm_kprobe (struct kprobe *p)
 
void __kprobes arch_disarm_kprobe (struct kprobe *p)
 
void __kprobes arch_remove_kprobe (struct kprobe *p)
 
void __kprobes arch_prepare_kretprobe (struct kretprobe_instance *ri, struct pt_regs *regs)
 
int __kprobes kprobe_fault_handler (struct pt_regs *regs, int trapnr)
 
int __kprobes kprobe_exceptions_notify (struct notifier_block *self, unsigned long val, void *data)
 
int __kprobes setjmp_pre_handler (struct kprobe *p, struct pt_regs *regs)
 
void __kprobes jprobe_return (void)
 
int __kprobes longjmp_break_handler (struct kprobe *p, struct pt_regs *regs)
 
int __init arch_init_kprobes (void)
 
int __kprobes arch_trampoline_kprobe (struct kprobe *p)
 

Variables

struct kretprobe_blackpoint kretprobe_blacklist [] = { }
 

Function Documentation

void __kprobes arch_arm_kprobe ( struct kprobe p)

Definition at line 152 of file kprobes.c.

void __kprobes arch_disarm_kprobe ( struct kprobe p)

Definition at line 161 of file kprobes.c.

int __init arch_init_kprobes ( void  )

Definition at line 663 of file kprobes.c.

int __kprobes arch_prepare_kprobe ( struct kprobe p)

Definition at line 120 of file kprobes.c.

void __kprobes arch_prepare_kretprobe ( struct kretprobe_instance ri,
struct pt_regs regs 
)

Definition at line 231 of file kprobes.c.

void __kprobes arch_remove_kprobe ( struct kprobe p)

Definition at line 170 of file kprobes.c.

int __kprobes arch_trampoline_kprobe ( struct kprobe p)

Definition at line 668 of file kprobes.c.

DEFINE_PER_CPU ( struct kprobe ,
current_kprobe   
)
DEFINE_PER_CPU ( struct kprobe_ctlblk  ,
kprobe_ctlblk   
)
void __kprobes jprobe_return ( void  )

Definition at line 633 of file kprobes.c.

int __kprobes kprobe_exceptions_notify ( struct notifier_block self,
unsigned long  val,
void data 
)

Definition at line 580 of file kprobes.c.

int __kprobes kprobe_fault_handler ( struct pt_regs regs,
int  trapnr 
)

Definition at line 565 of file kprobes.c.

int __kprobes longjmp_break_handler ( struct kprobe p,
struct pt_regs regs 
)

Definition at line 643 of file kprobes.c.

int __kprobes setjmp_pre_handler ( struct kprobe p,
struct pt_regs regs 
)

Definition at line 614 of file kprobes.c.

Variable Documentation

struct kretprobe_blackpoint kretprobe_blacklist[] = { }

Definition at line 38 of file kprobes.c.