From df8d21ee72f16a099b7af9b8dc109ff4ab46b456 Mon Sep 17 00:00:00 2001 From: Vyacheslav Cherkashin Date: Wed, 8 May 2013 21:17:05 +0400 Subject: [PATCH] [COPYRIGHT] remove commit 29e0e20a8e8 --- kprobe/arch/asm-arm/dbi_kprobes.c | 32 ++++------------- kprobe/arch/asm-arm/dbi_kprobes.h | 25 ++++--------- kprobe/arch/asm-arm/dbi_kprobes_arm.S | 61 ------------------------------- kprobe/arch/asm-arm/dbi_kprobes_arm.h | 59 ------------------------------ kprobe/arch/asm-arm/dbi_kprobes_thumb.S | 63 --------------------------------- kprobe/arch/asm-arm/dbi_kprobes_thumb.h | 60 ------------------------------- kprobe/arch/asm-mips/dbi_kprobes.c | 26 +++----------- kprobe/arch/asm-mips/dbi_kprobes.h | 24 +++---------- kprobe/arch/asm-x86/dbi_kprobes.c | 23 +++--------- kprobe/arch/asm-x86/dbi_kprobes.h | 24 ++++--------- kprobe/arch/asm-x86/dbi_kprobes_deps.c | 59 ------------------------------ kprobe/arch/dbi_kprobes.c | 25 ++++--------- kprobe/arch/dbi_kprobes.h | 24 +++---------- kprobe/dbi_insn_slots.c | 23 +++--------- kprobe/dbi_insn_slots.h | 23 +++--------- kprobe/dbi_kdebug.h | 25 ++++--------- kprobe/dbi_kprobes.c | 26 ++++---------- kprobe/dbi_kprobes.h | 26 ++++---------- kprobe/dbi_kprobes_deps.c | 23 +++--------- kprobe/dbi_kprobes_deps.h | 23 +++--------- kprobe/dbi_uprobes.c | 23 +++--------- kprobe/dbi_uprobes.h | 23 +++--------- 22 files changed, 91 insertions(+), 629 deletions(-) diff --git a/kprobe/arch/asm-arm/dbi_kprobes.c b/kprobe/arch/asm-arm/dbi_kprobes.c index aeb3934..68f17fb 100644 --- a/kprobe/arch/asm-arm/dbi_kprobes.c +++ b/kprobe/arch/asm-arm/dbi_kprobes.c @@ -16,35 +16,17 @@ * 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 : - * initial implementation for ARM/MIPS + * 2006-2007 Ekaterina Gorelkina : initial implementation for ARM/MIPS * 2008-2009 Alexey Gerenkov User-Space * Probes initial implementation; Support x86. - * 2010 Ekaterina Gorelkina : - * redesign module for separating core and arch parts - * 2010-2011 Alexander Shirshikov : - * initial implementation for Thumb - * 2010-2012 Dmitry Kovalenko , - * Nikita Kalyazin - * improvement and bugs fixing - * 2010-2011 Alexander Shirshikov - * improvement and bugs fixing - * 2011-2012 Stanislav Andreev - * improvement and bugs fixing - * 2012 Vitaliy Cherepanov - * improvement and bugs fixing - * 2012 Stanislav Andreev : - * added time debug profiling support; BUG() message fix - * 2012 Stanislav Andreev : - * redesign of kprobe functionality - + * 2010 Ekaterina Gorelkina : redesign module for separating core and arch parts + * 2010-2011 Alexander Shirshikov : initial implementation for Thumb + * 2012 Stanislav Andreev : added time debug profiling support; BUG() message fix + * 2012 Stanislav Andreev : redesign of kprobe functionality - * kprobe_handler() now called via undefined instruction hooks - * 2012 Stanislav Andreev : - * hash tables search implemented for uprobes - * 2012-2013 Vasiliy Ulyanov , - * Vyacheslav Cherkashin - * improvement and bugs fixing + * 2012 Stanislav Andreev : hash tables search implemented for uprobes */ #include diff --git a/kprobe/arch/asm-arm/dbi_kprobes.h b/kprobe/arch/asm-arm/dbi_kprobes.h index 263cf34..7f6f59e 100644 --- a/kprobe/arch/asm-arm/dbi_kprobes.h +++ b/kprobe/arch/asm-arm/dbi_kprobes.h @@ -19,27 +19,14 @@ * 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 : - * initial implementation for ARM/MIPS + * 2006-2007 Ekaterina Gorelkina : initial implementation for ARM/MIPS * 2008-2009 Alexey Gerenkov User-Space - * Probes initial implementation; - * Support x86/ARM/MIPS for both user and kernel spaces. - * 2010 Ekaterina Gorelkina : - * redesign module for separating core and arch parts - * 2010-2011 Alexander Shirshikov : - * initial implementation for Thumb - * 2010-2012 Dmitry Kovalenko , - * Nikita Kalyazin - * improvement and bugs fixing - * 2011-2012 Stanislav Andreev - * improvement and bugs fixing - * 2012 Vitaliy Cherepanov - * improvement and bugs fixing - * 2012-2013 Vasiliy Ulyanov , - * Vyacheslav Cherkashin - * improvement and bugs fixing + * Probes initial implementation; Support x86/ARM/MIPS for both user and kernel spaces. + * 2010 Ekaterina Gorelkina : redesign module for separating core and arch parts + * + * 2010-2011 Alexander Shirshikov : initial implementation for Thumb */ #include diff --git a/kprobe/arch/asm-arm/dbi_kprobes_arm.S b/kprobe/arch/asm-arm/dbi_kprobes_arm.S index 5ca1fc6..73199c9 100644 --- a/kprobe/arch/asm-arm/dbi_kprobes_arm.S +++ b/kprobe/arch/asm-arm/dbi_kprobes_arm.S @@ -1,65 +1,4 @@ /* - * 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 User-Space - * Probes initial implementation; Support x86/ARM/MIPS for both - * user and kernel spaces. - * 2010 Ekaterina Gorelkina : redesign module - * for separating core and arch parts - * 2010-2012 Dmitry Kovalenko , - * Nikita Kalyazin - * improvement and bugs fixing - * 2010-2011 Alexander Shirshikov - * improvement and bugs fixing - * 2011-2012 Stanislav Andreev - * improvement and bugs fixing - * 2012 Vitaliy Cherepanov - * improvement and bugs fixing - * 2012-2013 Vasiliy Ulyanov , - * Vyacheslav Cherkashin - * improvement and bugs fixing - */ - - -/* * Function return probe trampoline: * - init_kprobes() establishes a probepoint here * - When the probed function returns, this probe diff --git a/kprobe/arch/asm-arm/dbi_kprobes_arm.h b/kprobe/arch/asm-arm/dbi_kprobes_arm.h index 9b70bab..d9d1890 100644 --- a/kprobe/arch/asm-arm/dbi_kprobes_arm.h +++ b/kprobe/arch/asm-arm/dbi_kprobes_arm.h @@ -1,62 +1,3 @@ -/* - * 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 User-Space - * Probes initial implementation; Support x86/ARM/MIPS for both - * user and kernel spaces. - * 2010 Ekaterina Gorelkina : redesign module - * for separating core and arch parts - * 2010-2012 Dmitry Kovalenko , - * Nikita Kalyazin - * improvement and bugs fixing - * 2010-2011 Alexander Shirshikov - * improvement and bugs fixing - * 2011-2012 Stanislav Andreev - * improvement and bugs fixing - * 2012 Vitaliy Cherepanov - * improvement and bugs fixing - * 2012-2013 Vasiliy Ulyanov , - * Vyacheslav Cherkashin - * improvement and bugs fixing - */ void kretprobe_trampoline(void); void gen_insn_execbuf(void); void pc_dep_insn_execbuf(void); diff --git a/kprobe/arch/asm-arm/dbi_kprobes_thumb.S b/kprobe/arch/asm-arm/dbi_kprobes_thumb.S index 7a85e71..508c440 100644 --- a/kprobe/arch/asm-arm/dbi_kprobes_thumb.S +++ b/kprobe/arch/asm-arm/dbi_kprobes_thumb.S @@ -1,66 +1,3 @@ - -/* - * 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 User-Space - * Probes initial implementation; Support x86/ARM/MIPS for both - * user and kernel spaces. - * 2010 Ekaterina Gorelkina : redesign module - * for separating core and arch parts - * 2010-2012 Dmitry Kovalenko , - * Nikita Kalyazin - * improvement and bugs fixing - * 2010-2011 Alexander Shirshikov - * improvement and bugs fixing - * 2011-2012 Stanislav Andreev - * improvement and bugs fixing - * 2012 Vitaliy Cherepanov - * improvement and bugs fixing - * 2012-2013 Vasiliy Ulyanov , - * Vyacheslav Cherkashin - * improvement and bugs fixing - */ - - - .thumb .global gen_insn_execbuf_thumb diff --git a/kprobe/arch/asm-arm/dbi_kprobes_thumb.h b/kprobe/arch/asm-arm/dbi_kprobes_thumb.h index 5b37c55..e7ebeff 100644 --- a/kprobe/arch/asm-arm/dbi_kprobes_thumb.h +++ b/kprobe/arch/asm-arm/dbi_kprobes_thumb.h @@ -1,63 +1,3 @@ -/* - * 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 User-Space - * Probes initial implementation; Support x86/ARM/MIPS for both - * user and kernel spaces. - * 2010 Ekaterina Gorelkina : redesign module - * for separating core and arch parts - * 2010-2012 Dmitry Kovalenko , - * Nikita Kalyazin - * improvement and bugs fixing - * 2010-2011 Alexander Shirshikov - * improvement and bugs fixing - * 2011-2012 Stanislav Andreev - * improvement and bugs fixing - * 2012 Vitaliy Cherepanov - * improvement and bugs fixing - * 2012-2013 Vasiliy Ulyanov , - * Vyacheslav Cherkashin - * improvement and bugs fixing - */ - void gen_insn_execbuf_thumb(void); void pc_dep_insn_execbuf_thumb(void); void b_r_insn_execbuf_thumb(void); diff --git a/kprobe/arch/asm-mips/dbi_kprobes.c b/kprobe/arch/asm-mips/dbi_kprobes.c index 1751efb..8ebc022 100644 --- a/kprobe/arch/asm-mips/dbi_kprobes.c +++ b/kprobe/arch/asm-mips/dbi_kprobes.c @@ -16,29 +16,13 @@ * 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 : - * initial implementation for ARM/MIPS + * 2006-2007 Ekaterina Gorelkina : initial implementation for ARM/MIPS * 2008-2009 Alexey Gerenkov User-Space - * Probes initial implementation; - * Support x86/ARM/MIPS for both user-space and kernel space. - * 2010 Ekaterina Gorelkina : - * redesign module for separating core and arch parts - * 2010-2012 Dmitry Kovalenko , - * Nikita Kalyazin - * improvement and bugs fixing - * 2010-2011 Alexander Shirshikov - * improvement and bugs fixing - * 2011-2012 Stanislav Andreev - * improvement and bugs fixing - * 2012 Vitaliy Cherepanov - * improvement and bugs fixing - * 2012 Stanislav Andreev : - * added time debug profiling support; BUG() message fix - * 2012-2013 Vasiliy Ulyanov , - * Vyacheslav Cherkashin - * improvement and bugs fixing + * Probes initial implementation; Support x86/ARM/MIPS for both user-space and kernel space. + * 2010 Ekaterina Gorelkina : redesign module for separating core and arch parts + * 2012 Stanislav Andreev : added time debug profiling support; BUG() message fix */ #include "dbi_kprobes.h" diff --git a/kprobe/arch/asm-mips/dbi_kprobes.h b/kprobe/arch/asm-mips/dbi_kprobes.h index 6fa57b8..a308f83 100644 --- a/kprobe/arch/asm-mips/dbi_kprobes.h +++ b/kprobe/arch/asm-mips/dbi_kprobes.h @@ -19,27 +19,13 @@ * 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 : - * initial implementation for ARM/MIPS + * 2006-2007 Ekaterina Gorelkina : initial implementation for ARM/MIPS * 2008-2009 Alexey Gerenkov User-Space - * Probes initial implementation; - * Support x86/ARM/MIPS for both user-space and kernel space. - * 2010 Ekaterina Gorelkina : - * redesign module for separating core and arch parts - * 2010-2012 Dmitry Kovalenko , - * Nikita Kalyazin - * improvement and bugs fixing - * 2010-2011 Alexander Shirshikov - * improvement and bugs fixing - * 2011-2012 Stanislav Andreev - * improvement and bugs fixing - * 2012 Vitaliy Cherepanov - * improvement and bugs fixing - * 2012-2013 Vasiliy Ulyanov , - * Vyacheslav Cherkashin - * improvement and bugs fixing + * Probes initial implementation; Support x86/ARM/MIPS for both user-space and kernel space. + * 2010 Ekaterina Gorelkina : redesign module for separating core and arch parts + * */ #include "../../dbi_kprobes_deps.h" diff --git a/kprobe/arch/asm-x86/dbi_kprobes.c b/kprobe/arch/asm-x86/dbi_kprobes.c index 80109fe..ff87b87 100644 --- a/kprobe/arch/asm-x86/dbi_kprobes.c +++ b/kprobe/arch/asm-x86/dbi_kprobes.c @@ -37,27 +37,12 @@ * 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 User-Space - * Probes initial implementation; - * Support x86/ARM/MIPS for both user and kernel spaces. - * 2010 Ekaterina Gorelkina : - * redesign module for separating core and arch parts - * 2010-2012 Dmitry Kovalenko , - * Nikita Kalyazin - * improvement and bugs fixing - * 2010-2011 Alexander Shirshikov - * improvement and bugs fixing - * 2011-2012 Stanislav Andreev - * improvement and bugs fixing - * 2012 Vitaliy Cherepanov - * improvement and bugs fixing - * 2012 Stanislav Andreev : - * added time debug profiling support; BUG() message fix - * 2012-2013 Vasiliy Ulyanov , - * Vyacheslav Cherkashin - * improvement and bugs fixing + * Probes initial implementation; Support x86/ARM/MIPS for both user and kernel spaces. + * 2010 Ekaterina Gorelkina : redesign module for separating core and arch parts + * 2012 Stanislav Andreev : added time debug profiling support; BUG() message fix */ #include diff --git a/kprobe/arch/asm-x86/dbi_kprobes.h b/kprobe/arch/asm-x86/dbi_kprobes.h index 36be8d3..59456f7 100644 --- a/kprobe/arch/asm-x86/dbi_kprobes.h +++ b/kprobe/arch/asm-x86/dbi_kprobes.h @@ -24,7 +24,7 @@ /* * 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 @@ -40,25 +40,13 @@ * 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 User-Space - * Probes initial implementation; - * Support x86/ARM/MIPS for both user and kernel spaces. - * 2010 Ekaterina Gorelkina : - * redesign module for separating core and arch parts - * 2010-2012 Dmitry Kovalenko , - * Nikita Kalyazin - * improvement and bugs fixing - * 2010-2011 Alexander Shirshikov - * improvement and bugs fixing - * 2011-2012 Stanislav Andreev - * improvement and bugs fixing - * 2012 Vitaliy Cherepanov - * improvement and bugs fixing - * 2012-2013 Vasiliy Ulyanov , - * Vyacheslav Cherkashin - * improvement and bugs fixing + * Probes initial implementation; Support x86/ARM/MIPS for both user and kernel spaces. + * 2010 Ekaterina Gorelkina : redesign module for separating core and arch parts + * + */ #include "../../dbi_kprobes_deps.h" diff --git a/kprobe/arch/asm-x86/dbi_kprobes_deps.c b/kprobe/arch/asm-x86/dbi_kprobes_deps.c index 97c9ead..b448d66 100644 --- a/kprobe/arch/asm-x86/dbi_kprobes_deps.c +++ b/kprobe/arch/asm-x86/dbi_kprobes_deps.c @@ -1,62 +1,3 @@ -/* - * 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 User-Space - * Probes initial implementation; Support x86/ARM/MIPS for both - * user and kernel spaces. - * 2010 Ekaterina Gorelkina : redesign module - * for separating core and arch parts - * 2010-2012 Dmitry Kovalenko , - * Nikita Kalyazin - * improvement and bugs fixing - * 2010-2011 Alexander Shirshikov - * improvement and bugs fixing - * 2011-2012 Stanislav Andreev - * improvement and bugs fixing - * 2012 Vitaliy Cherepanov - * improvement and bugs fixing - * 2012-2013 Vasiliy Ulyanov , - * Vyacheslav Cherkashin - * improvement and bugs fixing - */ #include "../../dbi_kprobes_deps.h" DECLARE_MOD_DEP_WRAPPER (module_alloc, void *, unsigned long size) diff --git a/kprobe/arch/dbi_kprobes.c b/kprobe/arch/dbi_kprobes.c index 75975e6..3b6cac5 100644 --- a/kprobe/arch/dbi_kprobes.c +++ b/kprobe/arch/dbi_kprobes.c @@ -37,27 +37,14 @@ * 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 : - * initial implementation for ARM and MIPS + * 2006-2007 Ekaterina Gorelkina : initial implementation for ARM and MIPS * 2008-2009 Alexey Gerenkov User-Space - * Probes initial implementation; - * Support x86/ARM/MIPS for both user and kernel spaces. - * 2010 Ekaterina Gorelkina : - * redesign module for separating core and arch parts - * 2010-2012 Dmitry Kovalenko , - * Nikita Kalyazin - * improvement and bugs fixing - * 2010-2011 Alexander Shirshikov - * improvement and bugs fixing - * 2011-2012 Stanislav Andreev - * improvement and bugs fixing - * 2012 Vitaliy Cherepanov - * improvement and bugs fixing - * 2012-2013 Vasiliy Ulyanov , - * Vyacheslav Cherkashin - * improvement and bugs fixing + * Probes initial implementation; Support x86/ARM/MIPS for both user and kernel spaces. + * 2010 Ekaterina Gorelkina : redesign module for separating core and arch parts + * + */ #include "dbi_kprobes.h" diff --git a/kprobe/arch/dbi_kprobes.h b/kprobe/arch/dbi_kprobes.h index df45eb4..b1237e1 100644 --- a/kprobe/arch/dbi_kprobes.h +++ b/kprobe/arch/dbi_kprobes.h @@ -40,27 +40,13 @@ * 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 : - * initial implementation for ARM and MIPS + * 2006-2007 Ekaterina Gorelkina : initial implementation for ARM and MIPS * 2008-2009 Alexey Gerenkov User-Space - * Probes initial implementation; - * Support x86/ARM/MIPS for both user and kernel spaces. - * 2010 Ekaterina Gorelkina : - * redesign module for separating core and arch parts - * 2010-2012 Dmitry Kovalenko , - * Nikita Kalyazin - * improvement and bugs fixing - * 2010-2011 Alexander Shirshikov - * improvement and bugs fixing - * 2011-2012 Stanislav Andreev - * improvement and bugs fixing - * 2012 Vitaliy Cherepanov - * improvement and bugs fixing - * 2012-2013 Vasiliy Ulyanov , - * Vyacheslav Cherkashin - * improvement and bugs fixing + * Probes initial implementation; Support x86/ARM/MIPS for both user and kernel spaces. + * 2010 Ekaterina Gorelkina : redesign module for separating core and arch parts + * */ diff --git a/kprobe/dbi_insn_slots.c b/kprobe/dbi_insn_slots.c index e6ac581..fb33c33 100644 --- a/kprobe/dbi_insn_slots.c +++ b/kprobe/dbi_insn_slots.c @@ -37,27 +37,12 @@ * 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 User-Space - * Probes initial implementation; Support x86/ARM/MIPS for both - * user and kernel spaces. - * 2010 Ekaterina Gorelkina : redesign module - * for separating core and arch parts - * 2010-2012 Dmitry Kovalenko , - * Nikita Kalyazin - * improvement and bugs fixing - * 2010-2011 Alexander Shirshikov - * improvement and bugs fixing - * 2011-2012 Stanislav Andreev - * improvement and bugs fixing - * 2012 Vitaliy Cherepanov - * improvement and bugs fixing - * 2012-2013 Vasiliy Ulyanov , - * Vyacheslav Cherkashin - * improvement and bugs fixing - * 2012 Vyacheslav Cherkashin new memory - * allocator for slots + * Probes initial implementation; Support x86/ARM/MIPS for both user and kernel spaces. + * 2010 Ekaterina Gorelkina : redesign module for separating core and arch parts + * 2012 Vyacheslav Cherkashin new memory allocator for slots */ #include "dbi_insn_slots.h" diff --git a/kprobe/dbi_insn_slots.h b/kprobe/dbi_insn_slots.h index 302f65a..a18c520 100644 --- a/kprobe/dbi_insn_slots.h +++ b/kprobe/dbi_insn_slots.h @@ -40,25 +40,12 @@ * 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 User-Space + * Probes initial implementation; Support x86/ARM/MIPS for both user and kernel spaces. + * 2010 Ekaterina Gorelkina : redesign module for separating core and arch parts * - * 2008-2009 Alexey Gerenkov - * User-Space Probes initial implementation; - * Support x86/ARM/MIPS for both user and kernel spaces. - * 2010 Ekaterina Gorelkina : redesign module - * for separating core and arch parts - * 2010-2012 Dmitry Kovalenko , - * Nikita Kalyazin - * improvement and bugs fixing - * 2010-2011 Alexander Shirshikov - * improvement and bugs fixing - * 2011-2012 Stanislav Andreev - * improvement and bugs fixing - * 2012 Vitaliy Cherepanov - * improvement and bugs fixing - * 2012-2013 Vasiliy Ulyanov , - * Vyacheslav Cherkashin - * improvement and bugs fixing */ #include "dbi_kprobes.h" diff --git a/kprobe/dbi_kdebug.h b/kprobe/dbi_kdebug.h index 4cb2544..ffc6f96 100644 --- a/kprobe/dbi_kdebug.h +++ b/kprobe/dbi_kdebug.h @@ -19,26 +19,13 @@ * 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 - * User-Space Probes initial implementation; - * Support x86/ARM/MIPS for both user and kernel spaces. - * 2010 Ekaterina Gorelkina : redesign module - * for separating core and arch parts - * 2010-2012 Dmitry Kovalenko , - * Nikita Kalyazin - * improvement and bugs fixing - * 2010-2011 Alexander Shirshikov - * improvement and bugs fixing - * 2011-2012 Stanislav Andreev - * improvement and bugs fixing - * 2012 Vitaliy Cherepanov - * improvement and bugs fixing - * 2012-2013 Vasiliy Ulyanov , - * Vyacheslav Cherkashin - * improvement and bugs fixing - */ + * 2008-2009 Alexey Gerenkov User-Space + * Probes initial implementation; Support x86/ARM/MIPS for both user and kernel spaces. + * 2010 Ekaterina Gorelkina : redesign module for separating core and arch parts + * +*/ //#define _DEBUG diff --git a/kprobe/dbi_kprobes.c b/kprobe/dbi_kprobes.c index 8d9cecf..3ef525d 100644 --- a/kprobe/dbi_kprobes.c +++ b/kprobe/dbi_kprobes.c @@ -23,7 +23,7 @@ /* * 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 @@ -39,27 +39,13 @@ * 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 : initial - * implementation for ARM and MIPS + * 2006-2007 Ekaterina Gorelkina : initial implementation for ARM and MIPS * 2008-2009 Alexey Gerenkov User-Space - * Probes initial implementation; Support x86/ARM/MIPS for both - * user and kernel spaces. - * 2010 Ekaterina Gorelkina : redesign module - * for separating core and arch parts - * 2010-2012 Dmitry Kovalenko , - * Nikita Kalyazin - * improvement and bugs fixing - * 2010-2011 Alexander Shirshikov - * improvement and bugs fixing - * 2011-2012 Stanislav Andreev - * improvement and bugs fixing - * 2012 Vitaliy Cherepanov - * improvement and bugs fixing - * 2012-2013 Vasiliy Ulyanov , - * Vyacheslav Cherkashin - * improvement and bugs fixing + * Probes initial implementation; Support x86/ARM/MIPS for both user and kernel spaces. + * 2010 Ekaterina Gorelkina : redesign module for separating core and arch parts + * */ #include "dbi_kprobes.h" diff --git a/kprobe/dbi_kprobes.h b/kprobe/dbi_kprobes.h index 29fa2f8..446ac31 100644 --- a/kprobe/dbi_kprobes.h +++ b/kprobe/dbi_kprobes.h @@ -40,27 +40,13 @@ * 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 : initial implementation for ARM and MIPS + * 2008-2009 Alexey Gerenkov User-Space + * Probes initial implementation; Support x86/ARM/MIPS for both user and kernel spaces. + * 2010 Ekaterina Gorelkina : redesign module for separating core and arch parts * - * 2006-2007 Ekaterina Gorelkina : - * initial implementation for ARM and MIPS - * 2008-2009 Alexey Gerenkov - * User-Space Probes initial implementation; - * Support x86/ARM/MIPS for both user and kernel spaces. - * 2010 Ekaterina Gorelkina : redesign module - * for separating core and arch parts - * 2010-2012 Dmitry Kovalenko , - * Nikita Kalyazin - * improvement and bugs fixing - * 2010-2011 Alexander Shirshikov - * improvement and bugs fixing - * 2011-2012 Stanislav Andreev - * improvement and bugs fixing - * 2012 Vitaliy Cherepanov - * improvement and bugs fixing - * 2012-2013 Vasiliy Ulyanov , - * Vyacheslav Cherkashin - * improvement and bugs fixing */ diff --git a/kprobe/dbi_kprobes_deps.c b/kprobe/dbi_kprobes_deps.c index 82dbecd..87421e2 100644 --- a/kprobe/dbi_kprobes_deps.c +++ b/kprobe/dbi_kprobes_deps.c @@ -1,6 +1,6 @@ /* * 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 @@ -16,25 +16,12 @@ * 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 User-Space - * Probes initial implementation; Support x86/ARM/MIPS for - * both user and kernel spaces. - * 2010 Ekaterina Gorelkina : redesign module - * for separating core and arch parts - * 2010-2012 Dmitry Kovalenko , - * Nikita Kalyazin - * improvement and bugs fixing - * 2010-2011 Alexander Shirshikov - * improvement and bugs fixing - * 2011-2012 Stanislav Andreev - * improvement and bugs fixing - * 2012 Vitaliy Cherepanov - * improvement and bugs fixing - * 2012-2013 Vasiliy Ulyanov , - * Vyacheslav Cherkashin - * improvement and bugs fixing + * Probes initial implementation; Support x86/ARM/MIPS for both user and kernel spaces. + * 2010 Ekaterina Gorelkina : redesign module for separating core and arch parts + * */ #include diff --git a/kprobe/dbi_kprobes_deps.h b/kprobe/dbi_kprobes_deps.h index dac36a8..706a1ef 100644 --- a/kprobe/dbi_kprobes_deps.h +++ b/kprobe/dbi_kprobes_deps.h @@ -19,25 +19,12 @@ * 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 User-Space + * Probes initial implementation; Support x86/ARM/MIPS for both user and kernel spaces. + * 2010 Ekaterina Gorelkina : redesign module for separating core and arch parts * - * 2008-2009 Alexey Gerenkov - * User-Space Probes initial implementation; - * Support x86/ARM/MIPS for both user and kernel spaces. - * 2010 Ekaterina Gorelkina : redesign module - * for separating core and arch parts - * 2010-2012 Dmitry Kovalenko , - * Nikita Kalyazin - * improvement and bugs fixing - * 2010-2011 Alexander Shirshikov - * improvement and bugs fixing - * 2011-2012 Stanislav Andreev - * improvement and bugs fixing - * 2012 Vitaliy Cherepanov - * improvement and bugs fixing - * 2012-2013 Vasiliy Ulyanov , - * Vyacheslav Cherkashin - * improvement and bugs fixing */ #include // LINUX_VERSION_CODE, KERNEL_VERSION() diff --git a/kprobe/dbi_uprobes.c b/kprobe/dbi_uprobes.c index d13f6d0..14779d3 100644 --- a/kprobe/dbi_uprobes.c +++ b/kprobe/dbi_uprobes.c @@ -1,6 +1,6 @@ /* * 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 @@ -16,25 +16,12 @@ * 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 User-Space - * Probes initial implementation; Support x86/ARM/MIPS for both - * user and kernel spaces. - * 2010 Ekaterina Gorelkina : redesign module - * for separating core and arch parts - * 2010-2012 Dmitry Kovalenko , - * Nikita Kalyazin - * improvement and bugs fixing - * 2010-2011 Alexander Shirshikov - * improvement and bugs fixing - * 2011-2012 Stanislav Andreev - * improvement and bugs fixing - * 2012 Vitaliy Cherepanov - * improvement and bugs fixing - * 2012-2013 Vasiliy Ulyanov , - * Vyacheslav Cherkashin - * improvement and bugs fixing + * Probes initial implementation; Support x86/ARM/MIPS for both user and kernel spaces. + * 2010 Ekaterina Gorelkina : redesign module for separating core and arch parts + * */ diff --git a/kprobe/dbi_uprobes.h b/kprobe/dbi_uprobes.h index 107e767..aef1819 100644 --- a/kprobe/dbi_uprobes.h +++ b/kprobe/dbi_uprobes.h @@ -19,25 +19,12 @@ * 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 User-Space + * Probes initial implementation; Support x86/ARM/MIPS for both user and kernel spaces. + * 2010 Ekaterina Gorelkina : redesign module for separating core and arch parts * - * 2008-2009 Alexey Gerenkov - * User-Space Probes initial implementation; - * Support x86/ARM/MIPS for both user and kernel spaces. - * 2010 Ekaterina Gorelkina : - * redesign module for separating core and arch parts - * 2010-2012 Dmitry Kovalenko , - * Nikita Kalyazin - * improvement and bugs fixing - * 2010-2011 Alexander Shirshikov - * improvement and bugs fixing - * 2011-2012 Stanislav Andreev - * improvement and bugs fixing - * 2012 Vitaliy Cherepanov - * improvement and bugs fixing - * 2012-2013 Vasiliy Ulyanov , - * Vyacheslav Cherkashin - * improvement and bugs fixing */ #include "dbi_kprobes.h" -- 2.7.4