Linux Kernel
3.7.1
|
#include <linux/kprobes.h>
#include <linux/ptrace.h>
#include <linux/spinlock.h>
#include <linux/preempt.h>
#include <linux/kdebug.h>
#include <asm/cacheflush.h>
Go to the source code of this file.
Macros | |
#define | KPROBE_HIT_ACTIVE 0x00000001 |
#define | KPROBE_HIT_SS 0x00000002 |
#define | SINGLESTEP_BRANCH 1 |
#define | SINGLESTEP_PCREL 2 |
#define | READ_BYTE(p, valp) do { *(u8 *)(valp) = *(u8 *)(p); } while (0) |
#define | READ_WORD16(p, valp) |
#define | READ_WORD32(p, valp) |
#define | LT (1 << 0) |
#define | GT (1 << 1) |
#define | GE (1 << 2) |
#define | LE (1 << 3) |
#define | CS (1 << 4) |
#define | HI (1 << 5) |
#define | CC (1 << 6) |
#define | LS (1 << 7) |
#define | EQ (1 << 8) |
#define | NE (1 << 9) |
#define | RA (1 << 10) |
#define | VC (1 << 11) |
#define | VS (1 << 12) |
#define | NC (1 << 13) |
#define | NS (1 << 14) |
Functions | |
DEFINE_PER_CPU (struct kprobe *, current_kprobe) | |
int __kprobes | arch_prepare_kprobe (struct kprobe *p) |
void __kprobes | arch_copy_kprobe (struct kprobe *p) |
void __kprobes | arch_arm_kprobe (struct kprobe *p) |
void __kprobes | arch_disarm_kprobe (struct kprobe *p) |
void | arch_remove_kprobe (struct kprobe *p) |
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) |
void | jprobe_return_bp_addr (void) |
int __kprobes | longjmp_break_handler (struct kprobe *p, struct pt_regs *regs) |
int __init | arch_init_kprobes (void) |
Variables | |
struct kretprobe_blackpoint | kretprobe_blacklist [] = { { NULL, NULL } } |
const int | kretprobe_blacklist_size = ARRAY_SIZE(kretprobe_blacklist) |
#define READ_WORD16 | ( | p, | |
valp | |||
) |
#define READ_WORD32 | ( | p, | |
valp | |||
) |
struct kretprobe_blackpoint kretprobe_blacklist[] = { { NULL, NULL } } |
const int kretprobe_blacklist_size = ARRAY_SIZE(kretprobe_blacklist) |