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

Go to the source code of this file.

Data Structures

struct  param_bsp_cfm
 

Enumerations

enum  instruction_type {
  A, I, M, F,
  B, L, X, u =0
}
 

Functions

void jprobe_inst_return (void)
 
 DEFINE_PER_CPU (struct kprobe *, current_kprobe)
 
 DEFINE_PER_CPU (struct kprobe_ctlblk, kprobe_ctlblk)
 
int __kprobes trampoline_probe_handler (struct kprobe *p, struct pt_regs *regs)
 
void __kprobes arch_prepare_kretprobe (struct kretprobe_instance *ri, struct pt_regs *regs)
 
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)
 
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)
 
unsigned long arch_deref_entry_point (void *entry)
 
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 [] = {{NULL, NULL}}
 

Enumeration Type Documentation

Enumerator:
A 
I 
M 
F 
B 
L 
X 
u 

Definition at line 45 of file kprobes.c.

Function Documentation

void __kprobes arch_arm_kprobe ( struct kprobe p)

Definition at line 621 of file kprobes.c.

unsigned long arch_deref_entry_point ( void entry)

Definition at line 1038 of file kprobes.c.

void __kprobes arch_disarm_kprobe ( struct kprobe p)

Definition at line 648 of file kprobes.c.

int __init arch_init_kprobes ( void  )

Definition at line 1115 of file kprobes.c.

int __kprobes arch_prepare_kprobe ( struct kprobe p)

Definition at line 582 of file kprobes.c.

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

Definition at line 502 of file kprobes.c.

void __kprobes arch_remove_kprobe ( struct kprobe p)

Definition at line 671 of file kprobes.c.

int __kprobes arch_trampoline_kprobe ( struct kprobe p)

Definition at line 1122 of file kprobes.c.

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

Definition at line 1086 of file kprobes.c.

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

Definition at line 982 of file kprobes.c.

int __kprobes kprobe_fault_handler ( struct pt_regs regs,
int  trapnr 
)

Definition at line 922 of file kprobes.c.

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

Definition at line 1090 of file kprobes.c.

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

Definition at line 1043 of file kprobes.c.

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

Definition at line 422 of file kprobes.c.

Variable Documentation

struct kretprobe_blackpoint kretprobe_blacklist[] = {{NULL, NULL}}

Definition at line 43 of file kprobes.c.