* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
- * Copyright (C) Samsung Electronics, 2006-2013
+ * Copyright (C) Samsung Electronics, 2006-2010
*
- * 2006-2007 Ekaterina Gorelkina <e.gorelkina@samsung.com>:
- * initial implementation for ARM/MIPS
+ * 2006-2007 Ekaterina Gorelkina <e.gorelkina@samsung.com>: initial implementation for ARM/MIPS
* 2008-2009 Alexey Gerenkov <a.gerenkov@samsung.com> User-Space
* Probes initial implementation; Support x86.
- * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>:
- * redesign module for separating core and arch parts
- * 2010-2011 Alexander Shirshikov <a.shirshikov@samsung.com>:
- * initial implementation for Thumb
- * 2010-2012 Dmitry Kovalenko <d.kovalenko@samsung.com>,
- * Nikita Kalyazin <n.kalyazin@samsung.com>
- * improvement and bugs fixing
- * 2010-2011 Alexander Shirshikov
- * improvement and bugs fixing
- * 2011-2012 Stanislav Andreev <s.andreev@samsung.com>
- * improvement and bugs fixing
- * 2012 Vitaliy Cherepanov <v.chereapanov@samsung.com>
- * improvement and bugs fixing
- * 2012 Stanislav Andreev <s.andreev@samsung.com>:
- * added time debug profiling support; BUG() message fix
- * 2012 Stanislav Andreev <s.andreev@samsung.com>:
- * redesign of kprobe functionality -
+ * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>: redesign module for separating core and arch parts
+ * 2010-2011 Alexander Shirshikov <a.shirshikov@samsung.com>: initial implementation for Thumb
+ * 2012 Stanislav Andreev <s.andreev@samsung.com>: added time debug profiling support; BUG() message fix
+ * 2012 Stanislav Andreev <s.andreev@samsung.com>: redesign of kprobe functionality -
* kprobe_handler() now called via undefined instruction hooks
- * 2012 Stanislav Andreev <s.andreev@samsung.com>:
- * hash tables search implemented for uprobes
- * 2012-2013 Vasiliy Ulyanov <v.ulyanov@samsung.com>,
- * Vyacheslav Cherkashin <v.cherkashin@samsung.com>
- * improvement and bugs fixing
+ * 2012 Stanislav Andreev <s.andreev@samsung.com>: hash tables search implemented for uprobes
*/
#include <linux/module.h>
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
- * Copyright (C) Samsung Electronics, 2006-2013
+ * Copyright (C) Samsung Electronics, 2006-2010
*
- * 2006-2007 Ekaterina Gorelkina <e.gorelkina@samsung.com>:
- * initial implementation for ARM/MIPS
+ * 2006-2007 Ekaterina Gorelkina <e.gorelkina@samsung.com>: initial implementation for ARM/MIPS
* 2008-2009 Alexey Gerenkov <a.gerenkov@samsung.com> User-Space
- * Probes initial implementation;
- * Support x86/ARM/MIPS for both user and kernel spaces.
- * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>:
- * redesign module for separating core and arch parts
- * 2010-2011 Alexander Shirshikov <a.shirshikov@samsung.com>:
- * initial implementation for Thumb
- * 2010-2012 Dmitry Kovalenko <d.kovalenko@samsung.com>,
- * Nikita Kalyazin <n.kalyazin@samsung.com>
- * improvement and bugs fixing
- * 2011-2012 Stanislav Andreev <s.andreev@samsung.com>
- * improvement and bugs fixing
- * 2012 Vitaliy Cherepanov <v.chereapanov@samsung.com>
- * improvement and bugs fixing
- * 2012-2013 Vasiliy Ulyanov <v.ulyanov@samsung.com>,
- * Vyacheslav Cherkashin <v.cherkashin@samsung.com>
- * improvement and bugs fixing
+ * Probes initial implementation; Support x86/ARM/MIPS for both user and kernel spaces.
+ * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>: redesign module for separating core and arch parts
+ *
+ * 2010-2011 Alexander Shirshikov <a.shirshikov@samsung.com>: initial implementation for Thumb
*/
#include <linux/sched.h>
/*
- * Kernel Probes (KProbes)
- * dbi_kprobes_arm.S
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- *
- * Copyright (C) IBM Corporation, 2002, 2004
- */
-
-/*
- * Dynamic Binary Instrumentation Module based on KProbes
- * modules/kprobe/arch/asm-arm/dbi_kprobes_arm.S
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- *
- * Copyright (C) Samsung Electronics, 2006-2013
- *
- * 2008-2009 Alexey Gerenkov <a.gerenkov@samsung.com> User-Space
- * Probes initial implementation; Support x86/ARM/MIPS for both
- * user and kernel spaces.
- * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>: redesign module
- * for separating core and arch parts
- * 2010-2012 Dmitry Kovalenko <d.kovalenko@samsung.com>,
- * Nikita Kalyazin <n.kalyazin@samsung.com>
- * improvement and bugs fixing
- * 2010-2011 Alexander Shirshikov
- * improvement and bugs fixing
- * 2011-2012 Stanislav Andreev <s.andreev@samsung.com>
- * improvement and bugs fixing
- * 2012 Vitaliy Cherepanov <v.chereapanov@samsung.com>
- * improvement and bugs fixing
- * 2012-2013 Vasiliy Ulyanov <v.ulyanov@samsung.com>,
- * Vyacheslav Cherkashin <v.cherkashin@samsung.com>
- * improvement and bugs fixing
- */
-
-
-/*
* Function return probe trampoline:
* - init_kprobes() establishes a probepoint here
* - When the probed function returns, this probe
-/*
- * Kernel Probes (KProbes)
- * dbi_kprobes_arm.h
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- *
- * Copyright (C) IBM Corporation, 2002, 2004
- */
-
-/*
- * Dynamic Binary Instrumentation Module based on KProbes
- * modules/kprobe/arch/asm-arm/dbi_kprobes_arm.h
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- *
- * Copyright (C) Samsung Electronics, 2006-2013
- *
- * 2008-2009 Alexey Gerenkov <a.gerenkov@samsung.com> User-Space
- * Probes initial implementation; Support x86/ARM/MIPS for both
- * user and kernel spaces.
- * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>: redesign module
- * for separating core and arch parts
- * 2010-2012 Dmitry Kovalenko <d.kovalenko@samsung.com>,
- * Nikita Kalyazin <n.kalyazin@samsung.com>
- * improvement and bugs fixing
- * 2010-2011 Alexander Shirshikov
- * improvement and bugs fixing
- * 2011-2012 Stanislav Andreev <s.andreev@samsung.com>
- * improvement and bugs fixing
- * 2012 Vitaliy Cherepanov <v.chereapanov@samsung.com>
- * improvement and bugs fixing
- * 2012-2013 Vasiliy Ulyanov <v.ulyanov@samsung.com>,
- * Vyacheslav Cherkashin <v.cherkashin@samsung.com>
- * improvement and bugs fixing
- */
void kretprobe_trampoline(void);
void gen_insn_execbuf(void);
void pc_dep_insn_execbuf(void);
-
-/*
- * Kernel Probes (KProbes)
- * dbi_kprobes_thumb.S
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- *
- * Copyright (C) IBM Corporation, 2002, 2004
- */
-
-/*
- * Dynamic Binary Instrumentation Module based on KProbes
- * modules/kprobe/arch/asm-arm/dbi_kprobes_thumb.S
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- *
- * Copyright (C) Samsung Electronics, 2006-2013
- *
- * 2008-2009 Alexey Gerenkov <a.gerenkov@samsung.com> User-Space
- * Probes initial implementation; Support x86/ARM/MIPS for both
- * user and kernel spaces.
- * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>: redesign module
- * for separating core and arch parts
- * 2010-2012 Dmitry Kovalenko <d.kovalenko@samsung.com>,
- * Nikita Kalyazin <n.kalyazin@samsung.com>
- * improvement and bugs fixing
- * 2010-2011 Alexander Shirshikov
- * improvement and bugs fixing
- * 2011-2012 Stanislav Andreev <s.andreev@samsung.com>
- * improvement and bugs fixing
- * 2012 Vitaliy Cherepanov <v.chereapanov@samsung.com>
- * improvement and bugs fixing
- * 2012-2013 Vasiliy Ulyanov <v.ulyanov@samsung.com>,
- * Vyacheslav Cherkashin <v.cherkashin@samsung.com>
- * improvement and bugs fixing
- */
-
-
-
.thumb
.global gen_insn_execbuf_thumb
-/*
- * Kernel Probes (KProbes)
- * dbi_kprobes_thumb.h
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- *
- * Copyright (C) IBM Corporation, 2002, 2004
- */
-
-/*
- * Dynamic Binary Instrumentation Module based on KProbes
- * modules/kprobes/arch/asm-arm/dbi_kprobes_thumb.h
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- *
- * Copyright (C) Samsung Electronics, 2006-2013
- *
- * 2008-2009 Alexey Gerenkov <a.gerenkov@samsung.com> User-Space
- * Probes initial implementation; Support x86/ARM/MIPS for both
- * user and kernel spaces.
- * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>: redesign module
- * for separating core and arch parts
- * 2010-2012 Dmitry Kovalenko <d.kovalenko@samsung.com>,
- * Nikita Kalyazin <n.kalyazin@samsung.com>
- * improvement and bugs fixing
- * 2010-2011 Alexander Shirshikov
- * improvement and bugs fixing
- * 2011-2012 Stanislav Andreev <s.andreev@samsung.com>
- * improvement and bugs fixing
- * 2012 Vitaliy Cherepanov <v.chereapanov@samsung.com>
- * improvement and bugs fixing
- * 2012-2013 Vasiliy Ulyanov <v.ulyanov@samsung.com>,
- * Vyacheslav Cherkashin <v.cherkashin@samsung.com>
- * improvement and bugs fixing
- */
-
void gen_insn_execbuf_thumb(void);
void pc_dep_insn_execbuf_thumb(void);
void b_r_insn_execbuf_thumb(void);
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
- * Copyright (C) Samsung Electronics, 2006-2013
+ * Copyright (C) Samsung Electronics, 2006-2010
*
- * 2006-2007 Ekaterina Gorelkina <e.gorelkina@samsung.com>:
- * initial implementation for ARM/MIPS
+ * 2006-2007 Ekaterina Gorelkina <e.gorelkina@samsung.com>: initial implementation for ARM/MIPS
* 2008-2009 Alexey Gerenkov <a.gerenkov@samsung.com> User-Space
- * Probes initial implementation;
- * Support x86/ARM/MIPS for both user-space and kernel space.
- * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>:
- * redesign module for separating core and arch parts
- * 2010-2012 Dmitry Kovalenko <d.kovalenko@samsung.com>,
- * Nikita Kalyazin <n.kalyazin@samsung.com>
- * improvement and bugs fixing
- * 2010-2011 Alexander Shirshikov
- * improvement and bugs fixing
- * 2011-2012 Stanislav Andreev <s.andreev@samsung.com>
- * improvement and bugs fixing
- * 2012 Vitaliy Cherepanov <v.chereapanov@samsung.com>
- * improvement and bugs fixing
- * 2012 Stanislav Andreev <s.andreev@samsung.com>:
- * added time debug profiling support; BUG() message fix
- * 2012-2013 Vasiliy Ulyanov <v.ulyanov@samsung.com>,
- * Vyacheslav Cherkashin <v.cherkashin@samsung.com>
- * improvement and bugs fixing
+ * Probes initial implementation; Support x86/ARM/MIPS for both user-space and kernel space.
+ * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>: redesign module for separating core and arch parts
+ * 2012 Stanislav Andreev <s.andreev@samsung.com>: added time debug profiling support; BUG() message fix
*/
#include "dbi_kprobes.h"
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
- * Copyright (C) Samsung Electronics, 2006-2013
+ * Copyright (C) Samsung Electronics, 2006-2010
*
- * 2006-2007 Ekaterina Gorelkina <e.gorelkina@samsung.com>:
- * initial implementation for ARM/MIPS
+ * 2006-2007 Ekaterina Gorelkina <e.gorelkina@samsung.com>: initial implementation for ARM/MIPS
* 2008-2009 Alexey Gerenkov <a.gerenkov@samsung.com> User-Space
- * Probes initial implementation;
- * Support x86/ARM/MIPS for both user-space and kernel space.
- * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>:
- * redesign module for separating core and arch parts
- * 2010-2012 Dmitry Kovalenko <d.kovalenko@samsung.com>,
- * Nikita Kalyazin <n.kalyazin@samsung.com>
- * improvement and bugs fixing
- * 2010-2011 Alexander Shirshikov
- * improvement and bugs fixing
- * 2011-2012 Stanislav Andreev <s.andreev@samsung.com>
- * improvement and bugs fixing
- * 2012 Vitaliy Cherepanov <v.chereapanov@samsung.com>
- * improvement and bugs fixing
- * 2012-2013 Vasiliy Ulyanov <v.ulyanov@samsung.com>,
- * Vyacheslav Cherkashin <v.cherkashin@samsung.com>
- * improvement and bugs fixing
+ * Probes initial implementation; Support x86/ARM/MIPS for both user-space and kernel space.
+ * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>: redesign module for separating core and arch parts
+ *
*/
#include "../../dbi_kprobes_deps.h"
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
- * Copyright (C) Samsung Electronics, 2006-2013
+ * Copyright (C) Samsung Electronics, 2006-2010
*
* 2008-2009 Alexey Gerenkov <a.gerenkov@samsung.com> User-Space
- * Probes initial implementation;
- * Support x86/ARM/MIPS for both user and kernel spaces.
- * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>:
- * redesign module for separating core and arch parts
- * 2010-2012 Dmitry Kovalenko <d.kovalenko@samsung.com>,
- * Nikita Kalyazin <n.kalyazin@samsung.com>
- * improvement and bugs fixing
- * 2010-2011 Alexander Shirshikov
- * improvement and bugs fixing
- * 2011-2012 Stanislav Andreev <s.andreev@samsung.com>
- * improvement and bugs fixing
- * 2012 Vitaliy Cherepanov <v.chereapanov@samsung.com>
- * improvement and bugs fixing
- * 2012 Stanislav Andreev <s.andreev@samsung.com>:
- * added time debug profiling support; BUG() message fix
- * 2012-2013 Vasiliy Ulyanov <v.ulyanov@samsung.com>,
- * Vyacheslav Cherkashin <v.cherkashin@samsung.com>
- * improvement and bugs fixing
+ * Probes initial implementation; Support x86/ARM/MIPS for both user and kernel spaces.
+ * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>: redesign module for separating core and arch parts
+ * 2012 Stanislav Andreev <s.andreev@samsung.com>: added time debug profiling support; BUG() message fix
*/
#include<linux/module.h>
/*
* Dynamic Binary Instrumentation Module based on KProbes
- * modules/kprobe/arch/asm-x86/dbi_kprobes.h
+ * modules/kprobe/arch/asm-x86/dbi_kprobes.c
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
- * Copyright (C) Samsung Electronics, 2006-2013
+ * Copyright (C) Samsung Electronics, 2006-2010
*
* 2008-2009 Alexey Gerenkov <a.gerenkov@samsung.com> User-Space
- * Probes initial implementation;
- * Support x86/ARM/MIPS for both user and kernel spaces.
- * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>:
- * redesign module for separating core and arch parts
- * 2010-2012 Dmitry Kovalenko <d.kovalenko@samsung.com>,
- * Nikita Kalyazin <n.kalyazin@samsung.com>
- * improvement and bugs fixing
- * 2010-2011 Alexander Shirshikov
- * improvement and bugs fixing
- * 2011-2012 Stanislav Andreev <s.andreev@samsung.com>
- * improvement and bugs fixing
- * 2012 Vitaliy Cherepanov <v.chereapanov@samsung.com>
- * improvement and bugs fixing
- * 2012-2013 Vasiliy Ulyanov <v.ulyanov@samsung.com>,
- * Vyacheslav Cherkashin <v.cherkashin@samsung.com>
- * improvement and bugs fixing
+ * Probes initial implementation; Support x86/ARM/MIPS for both user and kernel spaces.
+ * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>: redesign module for separating core and arch parts
+ *
+
*/
#include "../../dbi_kprobes_deps.h"
-/*
- * Kernel Probes (KProbes)
- * dbi_kprobes_deps.c
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- *
- * Copyright (C) IBM Corporation, 2002, 2004
- */
-
-/*
- * Dynamic Binary Instrumentation Module based on KProbes
- * modules/kprobe/arch/asm-x86/dbi_dprobes_deps.c
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- *
- * Copyright (C) Samsung Electronics, 2006-2013
- *
- * 2008-2009 Alexey Gerenkov <a.gerenkov@samsung.com> User-Space
- * Probes initial implementation; Support x86/ARM/MIPS for both
- * user and kernel spaces.
- * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>: redesign module
- * for separating core and arch parts
- * 2010-2012 Dmitry Kovalenko <d.kovalenko@samsung.com>,
- * Nikita Kalyazin <n.kalyazin@samsung.com>
- * improvement and bugs fixing
- * 2010-2011 Alexander Shirshikov
- * improvement and bugs fixing
- * 2011-2012 Stanislav Andreev <s.andreev@samsung.com>
- * improvement and bugs fixing
- * 2012 Vitaliy Cherepanov <v.chereapanov@samsung.com>
- * improvement and bugs fixing
- * 2012-2013 Vasiliy Ulyanov <v.ulyanov@samsung.com>,
- * Vyacheslav Cherkashin <v.cherkashin@samsung.com>
- * improvement and bugs fixing
- */
#include "../../dbi_kprobes_deps.h"
DECLARE_MOD_DEP_WRAPPER (module_alloc, void *, unsigned long size)
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
- * Copyright (C) Samsung Electronics, 2006-2013
+ * Copyright (C) Samsung Electronics, 2006-2010
*
- * 2006-2007 Ekaterina Gorelkina <e.gorelkina@samsung.com>:
- * initial implementation for ARM and MIPS
+ * 2006-2007 Ekaterina Gorelkina <e.gorelkina@samsung.com>: initial implementation for ARM and MIPS
* 2008-2009 Alexey Gerenkov <a.gerenkov@samsung.com> User-Space
- * Probes initial implementation;
- * Support x86/ARM/MIPS for both user and kernel spaces.
- * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>:
- * redesign module for separating core and arch parts
- * 2010-2012 Dmitry Kovalenko <d.kovalenko@samsung.com>,
- * Nikita Kalyazin <n.kalyazin@samsung.com>
- * improvement and bugs fixing
- * 2010-2011 Alexander Shirshikov
- * improvement and bugs fixing
- * 2011-2012 Stanislav Andreev <s.andreev@samsung.com>
- * improvement and bugs fixing
- * 2012 Vitaliy Cherepanov <v.chereapanov@samsung.com>
- * improvement and bugs fixing
- * 2012-2013 Vasiliy Ulyanov <v.ulyanov@samsung.com>,
- * Vyacheslav Cherkashin <v.cherkashin@samsung.com>
- * improvement and bugs fixing
+ * Probes initial implementation; Support x86/ARM/MIPS for both user and kernel spaces.
+ * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>: redesign module for separating core and arch parts
+ *
+
*/
#include "dbi_kprobes.h"
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
- * Copyright (C) Samsung Electronics, 2006-2013
+ * Copyright (C) Samsung Electronics, 2006-2010
*
- * 2006-2007 Ekaterina Gorelkina <e.gorelkina@samsung.com>:
- * initial implementation for ARM and MIPS
+ * 2006-2007 Ekaterina Gorelkina <e.gorelkina@samsung.com>: initial implementation for ARM and MIPS
* 2008-2009 Alexey Gerenkov <a.gerenkov@samsung.com> User-Space
- * Probes initial implementation;
- * Support x86/ARM/MIPS for both user and kernel spaces.
- * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>:
- * redesign module for separating core and arch parts
- * 2010-2012 Dmitry Kovalenko <d.kovalenko@samsung.com>,
- * Nikita Kalyazin <n.kalyazin@samsung.com>
- * improvement and bugs fixing
- * 2010-2011 Alexander Shirshikov
- * improvement and bugs fixing
- * 2011-2012 Stanislav Andreev <s.andreev@samsung.com>
- * improvement and bugs fixing
- * 2012 Vitaliy Cherepanov <v.chereapanov@samsung.com>
- * improvement and bugs fixing
- * 2012-2013 Vasiliy Ulyanov <v.ulyanov@samsung.com>,
- * Vyacheslav Cherkashin <v.cherkashin@samsung.com>
- * improvement and bugs fixing
+ * Probes initial implementation; Support x86/ARM/MIPS for both user and kernel spaces.
+ * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>: redesign module for separating core and arch parts
+ *
*/
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
- * Copyright (C) Samsung Electronics, 2006-2013
+ * Copyright (C) Samsung Electronics, 2006-2012
*
* 2008-2009 Alexey Gerenkov <a.gerenkov@samsung.com> User-Space
- * Probes initial implementation; Support x86/ARM/MIPS for both
- * user and kernel spaces.
- * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>: redesign module
- * for separating core and arch parts
- * 2010-2012 Dmitry Kovalenko <d.kovalenko@samsung.com>,
- * Nikita Kalyazin <n.kalyazin@samsung.com>
- * improvement and bugs fixing
- * 2010-2011 Alexander Shirshikov
- * improvement and bugs fixing
- * 2011-2012 Stanislav Andreev <s.andreev@samsung.com>
- * improvement and bugs fixing
- * 2012 Vitaliy Cherepanov <v.chereapanov@samsung.com>
- * improvement and bugs fixing
- * 2012-2013 Vasiliy Ulyanov <v.ulyanov@samsung.com>,
- * Vyacheslav Cherkashin <v.cherkashin@samsung.com>
- * improvement and bugs fixing
- * 2012 Vyacheslav Cherkashin <v.cherkashin@samsung.com> new memory
- * allocator for slots
+ * Probes initial implementation; Support x86/ARM/MIPS for both user and kernel spaces.
+ * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>: redesign module for separating core and arch parts
+ * 2012 Vyacheslav Cherkashin <v.cherkashin@samsung.com> new memory allocator for slots
*/
#include "dbi_insn_slots.h"
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
- * Copyright (C) Samsung Electronics, 2006-2013
+ * Copyright (C) Samsung Electronics, 2006-2010
+ *
+ * 2008-2009 Alexey Gerenkov <a.gerenkov@samsung.com> User-Space
+ * Probes initial implementation; Support x86/ARM/MIPS for both user and kernel spaces.
+ * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>: redesign module for separating core and arch parts
*
- * 2008-2009 Alexey Gerenkov <a.gerenkov@samsung.com>
- * User-Space Probes initial implementation;
- * Support x86/ARM/MIPS for both user and kernel spaces.
- * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>: redesign module
- * for separating core and arch parts
- * 2010-2012 Dmitry Kovalenko <d.kovalenko@samsung.com>,
- * Nikita Kalyazin <n.kalyazin@samsung.com>
- * improvement and bugs fixing
- * 2010-2011 Alexander Shirshikov
- * improvement and bugs fixing
- * 2011-2012 Stanislav Andreev <s.andreev@samsung.com>
- * improvement and bugs fixing
- * 2012 Vitaliy Cherepanov <v.chereapanov@samsung.com>
- * improvement and bugs fixing
- * 2012-2013 Vasiliy Ulyanov <v.ulyanov@samsung.com>,
- * Vyacheslav Cherkashin <v.cherkashin@samsung.com>
- * improvement and bugs fixing
*/
#include "dbi_kprobes.h"
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
- * Copyright (C) Samsung Electronics, 2006-2013
+ * Copyright (C) Samsung Electronics, 2006-2010
*
- * 2008-2009 Alexey Gerenkov <a.gerenkov@samsung.com>
- * User-Space Probes initial implementation;
- * Support x86/ARM/MIPS for both user and kernel spaces.
- * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>: redesign module
- * for separating core and arch parts
- * 2010-2012 Dmitry Kovalenko <d.kovalenko@samsung.com>,
- * Nikita Kalyazin <n.kalyazin@samsung.com>
- * improvement and bugs fixing
- * 2010-2011 Alexander Shirshikov
- * improvement and bugs fixing
- * 2011-2012 Stanislav Andreev <s.andreev@samsung.com>
- * improvement and bugs fixing
- * 2012 Vitaliy Cherepanov <v.chereapanov@samsung.com>
- * improvement and bugs fixing
- * 2012-2013 Vasiliy Ulyanov <v.ulyanov@samsung.com>,
- * Vyacheslav Cherkashin <v.cherkashin@samsung.com>
- * improvement and bugs fixing
- */
+ * 2008-2009 Alexey Gerenkov <a.gerenkov@samsung.com> User-Space
+ * Probes initial implementation; Support x86/ARM/MIPS for both user and kernel spaces.
+ * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>: redesign module for separating core and arch parts
+ *
+*/
//#define _DEBUG
/*
* Dynamic Binary Instrumentation Module based on KProbes
- * modules/kprobe/dbi_kprobes.c
+ * modules/kprobe/dbi_kprobes.h
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
- * Copyright (C) Samsung Electronics, 2006-2013
+ * Copyright (C) Samsung Electronics, 2006-2010
*
- * 2006-2007 Ekaterina Gorelkina <e.gorelkina@samsung.com>: initial
- * implementation for ARM and MIPS
+ * 2006-2007 Ekaterina Gorelkina <e.gorelkina@samsung.com>: initial implementation for ARM and MIPS
* 2008-2009 Alexey Gerenkov <a.gerenkov@samsung.com> User-Space
- * Probes initial implementation; Support x86/ARM/MIPS for both
- * user and kernel spaces.
- * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>: redesign module
- * for separating core and arch parts
- * 2010-2012 Dmitry Kovalenko <d.kovalenko@samsung.com>,
- * Nikita Kalyazin <n.kalyazin@samsung.com>
- * improvement and bugs fixing
- * 2010-2011 Alexander Shirshikov
- * improvement and bugs fixing
- * 2011-2012 Stanislav Andreev <s.andreev@samsung.com>
- * improvement and bugs fixing
- * 2012 Vitaliy Cherepanov <v.chereapanov@samsung.com>
- * improvement and bugs fixing
- * 2012-2013 Vasiliy Ulyanov <v.ulyanov@samsung.com>,
- * Vyacheslav Cherkashin <v.cherkashin@samsung.com>
- * improvement and bugs fixing
+ * Probes initial implementation; Support x86/ARM/MIPS for both user and kernel spaces.
+ * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>: redesign module for separating core and arch parts
+ *
*/
#include "dbi_kprobes.h"
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
- * Copyright (C) Samsung Electronics, 2006-2013
+ * Copyright (C) Samsung Electronics, 2006-2010
+ *
+ * 2006-2007 Ekaterina Gorelkina <e.gorelkina@samsung.com>: initial implementation for ARM and MIPS
+ * 2008-2009 Alexey Gerenkov <a.gerenkov@samsung.com> User-Space
+ * Probes initial implementation; Support x86/ARM/MIPS for both user and kernel spaces.
+ * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>: redesign module for separating core and arch parts
*
- * 2006-2007 Ekaterina Gorelkina <e.gorelkina@samsung.com>:
- * initial implementation for ARM and MIPS
- * 2008-2009 Alexey Gerenkov <a.gerenkov@samsung.com>
- * User-Space Probes initial implementation;
- * Support x86/ARM/MIPS for both user and kernel spaces.
- * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>: redesign module
- * for separating core and arch parts
- * 2010-2012 Dmitry Kovalenko <d.kovalenko@samsung.com>,
- * Nikita Kalyazin <n.kalyazin@samsung.com>
- * improvement and bugs fixing
- * 2010-2011 Alexander Shirshikov
- * improvement and bugs fixing
- * 2011-2012 Stanislav Andreev <s.andreev@samsung.com>
- * improvement and bugs fixing
- * 2012 Vitaliy Cherepanov <v.chereapanov@samsung.com>
- * improvement and bugs fixing
- * 2012-2013 Vasiliy Ulyanov <v.ulyanov@samsung.com>,
- * Vyacheslav Cherkashin <v.cherkashin@samsung.com>
- * improvement and bugs fixing
*/
/*
* Dynamic Binary Instrumentation Module based on KProbes
- * modules/kprobe/dbi_kprobes_deps.c
+ * modules/kprobe/dbi_kprobes_deps.h
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
- * Copyright (C) Samsung Electronics, 2006-2013
+ * Copyright (C) Samsung Electronics, 2006-2010
*
* 2008-2009 Alexey Gerenkov <a.gerenkov@samsung.com> User-Space
- * Probes initial implementation; Support x86/ARM/MIPS for
- * both user and kernel spaces.
- * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>: redesign module
- * for separating core and arch parts
- * 2010-2012 Dmitry Kovalenko <d.kovalenko@samsung.com>,
- * Nikita Kalyazin <n.kalyazin@samsung.com>
- * improvement and bugs fixing
- * 2010-2011 Alexander Shirshikov
- * improvement and bugs fixing
- * 2011-2012 Stanislav Andreev <s.andreev@samsung.com>
- * improvement and bugs fixing
- * 2012 Vitaliy Cherepanov <v.chereapanov@samsung.com>
- * improvement and bugs fixing
- * 2012-2013 Vasiliy Ulyanov <v.ulyanov@samsung.com>,
- * Vyacheslav Cherkashin <v.cherkashin@samsung.com>
- * improvement and bugs fixing
+ * Probes initial implementation; Support x86/ARM/MIPS for both user and kernel spaces.
+ * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>: redesign module for separating core and arch parts
+ *
*/
#include <linux/module.h>
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
- * Copyright (C) Samsung Electronics, 2006-2013
+ * Copyright (C) Samsung Electronics, 2006-2010
+ *
+ * 2008-2009 Alexey Gerenkov <a.gerenkov@samsung.com> User-Space
+ * Probes initial implementation; Support x86/ARM/MIPS for both user and kernel spaces.
+ * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>: redesign module for separating core and arch parts
*
- * 2008-2009 Alexey Gerenkov <a.gerenkov@samsung.com>
- * User-Space Probes initial implementation;
- * Support x86/ARM/MIPS for both user and kernel spaces.
- * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>: redesign module
- * for separating core and arch parts
- * 2010-2012 Dmitry Kovalenko <d.kovalenko@samsung.com>,
- * Nikita Kalyazin <n.kalyazin@samsung.com>
- * improvement and bugs fixing
- * 2010-2011 Alexander Shirshikov
- * improvement and bugs fixing
- * 2011-2012 Stanislav Andreev <s.andreev@samsung.com>
- * improvement and bugs fixing
- * 2012 Vitaliy Cherepanov <v.chereapanov@samsung.com>
- * improvement and bugs fixing
- * 2012-2013 Vasiliy Ulyanov <v.ulyanov@samsung.com>,
- * Vyacheslav Cherkashin <v.cherkashin@samsung.com>
- * improvement and bugs fixing
*/
#include <linux/version.h> // LINUX_VERSION_CODE, KERNEL_VERSION()
/*
* Dynamic Binary Instrumentation Module based on KProbes
- * modules/kprobe/dbi_uprobes.c
+ * modules/kprobe/dbi_uprobes.h
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
- * Copyright (C) Samsung Electronics, 2006-2013
+ * Copyright (C) Samsung Electronics, 2006-2010
*
* 2008-2009 Alexey Gerenkov <a.gerenkov@samsung.com> User-Space
- * Probes initial implementation; Support x86/ARM/MIPS for both
- * user and kernel spaces.
- * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>: redesign module
- * for separating core and arch parts
- * 2010-2012 Dmitry Kovalenko <d.kovalenko@samsung.com>,
- * Nikita Kalyazin <n.kalyazin@samsung.com>
- * improvement and bugs fixing
- * 2010-2011 Alexander Shirshikov
- * improvement and bugs fixing
- * 2011-2012 Stanislav Andreev <s.andreev@samsung.com>
- * improvement and bugs fixing
- * 2012 Vitaliy Cherepanov <v.chereapanov@samsung.com>
- * improvement and bugs fixing
- * 2012-2013 Vasiliy Ulyanov <v.ulyanov@samsung.com>,
- * Vyacheslav Cherkashin <v.cherkashin@samsung.com>
- * improvement and bugs fixing
+ * Probes initial implementation; Support x86/ARM/MIPS for both user and kernel spaces.
+ * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>: redesign module for separating core and arch parts
+ *
*/
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
- * Copyright (C) Samsung Electronics, 2006-2013
+ * Copyright (C) Samsung Electronics, 2006-2010
+ *
+ * 2008-2009 Alexey Gerenkov <a.gerenkov@samsung.com> User-Space
+ * Probes initial implementation; Support x86/ARM/MIPS for both user and kernel spaces.
+ * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>: redesign module for separating core and arch parts
*
- * 2008-2009 Alexey Gerenkov <a.gerenkov@samsung.com>
- * User-Space Probes initial implementation;
- * Support x86/ARM/MIPS for both user and kernel spaces.
- * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>:
- * redesign module for separating core and arch parts
- * 2010-2012 Dmitry Kovalenko <d.kovalenko@samsung.com>,
- * Nikita Kalyazin <n.kalyazin@samsung.com>
- * improvement and bugs fixing
- * 2010-2011 Alexander Shirshikov
- * improvement and bugs fixing
- * 2011-2012 Stanislav Andreev <s.andreev@samsung.com>
- * improvement and bugs fixing
- * 2012 Vitaliy Cherepanov <v.chereapanov@samsung.com>
- * improvement and bugs fixing
- * 2012-2013 Vasiliy Ulyanov <v.ulyanov@samsung.com>,
- * Vyacheslav Cherkashin <v.cherkashin@samsung.com>
- * improvement and bugs fixing
*/
#include "dbi_kprobes.h"