Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
kprobes-common.c File Reference
#include <linux/kernel.h>
#include <linux/kprobes.h>
#include <asm/system_info.h>
#include "kprobes.h"

Go to the source code of this file.

Macros

#define INSN_NEW_BITS   0x00020103
 
#define INSN_SAMEAS16_BITS   0x22222222
 

Functions

void __init find_str_pc_offset (void)
 
void __init test_load_write_pc_interworking (void)
 
void __init arm_kprobe_decode_init (void)
 
void __kprobes kprobe_simulate_nop (struct kprobe *p, struct pt_regs *regs)
 
void __kprobes kprobe_emulate_none (struct kprobe *p, struct pt_regs *regs)
 
enum kprobe_insn __kprobes kprobe_decode_ldmstm (kprobe_opcode_t insn, struct arch_specific_insn *asi)
 
int __kprobes kprobe_decode_insn (kprobe_opcode_t insn, struct arch_specific_insn *asi, const union decode_item *table, bool thumb)
 

Variables

int str_pc_offset
 
bool load_write_pc_interworks
 
kprobe_check_cc *const kprobe_condition_checks [16]
 

Macro Definition Documentation

#define INSN_NEW_BITS   0x00020103

Definition at line 380 of file kprobes-common.c.

#define INSN_SAMEAS16_BITS   0x22222222

Definition at line 383 of file kprobes-common.c.

Function Documentation

void __init arm_kprobe_decode_init ( void  )

Definition at line 77 of file kprobes-common.c.

void __init find_str_pc_offset ( void  )

Definition at line 32 of file kprobes-common.c.

int __kprobes kprobe_decode_insn ( kprobe_opcode_t  insn,
struct arch_specific_insn asi,
const union decode_item table,
bool  thumb 
)

Definition at line 518 of file kprobes-common.c.

enum kprobe_insn __kprobes kprobe_decode_ldmstm ( kprobe_opcode_t  insn,
struct arch_specific_insn asi 
)

Definition at line 280 of file kprobes-common.c.

void __kprobes kprobe_emulate_none ( struct kprobe p,
struct pt_regs regs 
)

Definition at line 180 of file kprobes-common.c.

void __kprobes kprobe_simulate_nop ( struct kprobe p,
struct pt_regs regs 
)

Definition at line 176 of file kprobes-common.c.

void __init test_load_write_pc_interworking ( void  )

Definition at line 53 of file kprobes-common.c.

Variable Documentation

kprobe_check_cc* const kprobe_condition_checks[16]
Initial value:
= {
&__check_eq, &__check_ne, &__check_cs, &__check_cc,
&__check_mi, &__check_pl, &__check_vs, &__check_vc,
&__check_hi, &__check_ls, &__check_ge, &__check_lt,
&__check_gt, &__check_le, &__check_al, &__check_al
}

Definition at line 168 of file kprobes-common.c.

bool load_write_pc_interworks

Definition at line 51 of file kprobes-common.c.

int str_pc_offset

Definition at line 30 of file kprobes-common.c.