From a12165088e9787f541aaada8b1c90411fa18214c Mon Sep 17 00:00:00 2001 From: Vitaliy Cherepanov Date: Wed, 3 Apr 2013 18:13:35 +0400 Subject: [PATCH] [COPYRIGHT] Update the copyrights for src/modules/kprobes/* files --- 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, 629 insertions(+), 91 deletions(-) diff --git a/kprobe/arch/asm-arm/dbi_kprobes.c b/kprobe/arch/asm-arm/dbi_kprobes.c index eace6cd..3249492 100644 --- a/kprobe/arch/asm-arm/dbi_kprobes.c +++ b/kprobe/arch/asm-arm/dbi_kprobes.c @@ -16,17 +16,35 @@ * 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-2010 + * Copyright (C) Samsung Electronics, 2006-2013 * - * 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 - * 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 + * 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 - * kprobe_handler() now called via undefined instruction hooks - * 2012 Stanislav Andreev : hash tables search implemented for uprobes + * 2012 Stanislav Andreev : + * hash tables search implemented for uprobes + * 2012-2013 Vasiliy Ulyanov , + * Vyacheslav Cherkashin + * improvement and bugs fixing */ #include diff --git a/kprobe/arch/asm-arm/dbi_kprobes.h b/kprobe/arch/asm-arm/dbi_kprobes.h index ff7dd5f..108bbdb 100644 --- a/kprobe/arch/asm-arm/dbi_kprobes.h +++ b/kprobe/arch/asm-arm/dbi_kprobes.h @@ -19,14 +19,27 @@ * 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-2010 + * Copyright (C) Samsung Electronics, 2006-2013 * - * 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 + * 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 */ #include diff --git a/kprobe/arch/asm-arm/dbi_kprobes_arm.S b/kprobe/arch/asm-arm/dbi_kprobes_arm.S index 73199c9..5ca1fc6 100644 --- a/kprobe/arch/asm-arm/dbi_kprobes_arm.S +++ b/kprobe/arch/asm-arm/dbi_kprobes_arm.S @@ -1,4 +1,65 @@ /* + * 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 d9d1890..9b70bab 100644 --- a/kprobe/arch/asm-arm/dbi_kprobes_arm.h +++ b/kprobe/arch/asm-arm/dbi_kprobes_arm.h @@ -1,3 +1,62 @@ +/* + * 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 94ba3dd..a032e62 100644 --- a/kprobe/arch/asm-arm/dbi_kprobes_thumb.S +++ b/kprobe/arch/asm-arm/dbi_kprobes_thumb.S @@ -1,3 +1,66 @@ + +/* + * 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 3859f9c..39ac774 100644 --- a/kprobe/arch/asm-arm/dbi_kprobes_thumb.h +++ b/kprobe/arch/asm-arm/dbi_kprobes_thumb.h @@ -1,2 +1,62 @@ +/* + * 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); diff --git a/kprobe/arch/asm-mips/dbi_kprobes.c b/kprobe/arch/asm-mips/dbi_kprobes.c index 8ebc022..1751efb 100644 --- a/kprobe/arch/asm-mips/dbi_kprobes.c +++ b/kprobe/arch/asm-mips/dbi_kprobes.c @@ -16,13 +16,29 @@ * 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-2010 + * Copyright (C) Samsung Electronics, 2006-2013 * - * 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 - * 2012 Stanislav Andreev : added time debug profiling support; BUG() message fix + * 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 */ #include "dbi_kprobes.h" diff --git a/kprobe/arch/asm-mips/dbi_kprobes.h b/kprobe/arch/asm-mips/dbi_kprobes.h index f6d352d..6fa57b8 100644 --- a/kprobe/arch/asm-mips/dbi_kprobes.h +++ b/kprobe/arch/asm-mips/dbi_kprobes.h @@ -19,13 +19,27 @@ * 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-2010 + * Copyright (C) Samsung Electronics, 2006-2013 * - * 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 - * + * 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 */ #include "../../dbi_kprobes_deps.h" diff --git a/kprobe/arch/asm-x86/dbi_kprobes.c b/kprobe/arch/asm-x86/dbi_kprobes.c index 60404d9..d467d6c 100644 --- a/kprobe/arch/asm-x86/dbi_kprobes.c +++ b/kprobe/arch/asm-x86/dbi_kprobes.c @@ -37,12 +37,27 @@ * 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-2010 + * 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 - * 2012 Stanislav Andreev : added time debug profiling support; BUG() message fix + * 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 */ #include diff --git a/kprobe/arch/asm-x86/dbi_kprobes.h b/kprobe/arch/asm-x86/dbi_kprobes.h index c3b1741..91c1aaa 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.c + * modules/kprobe/arch/asm-x86/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 @@ -40,13 +40,25 @@ * 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-2010 + * 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 - * - + * 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" diff --git a/kprobe/arch/asm-x86/dbi_kprobes_deps.c b/kprobe/arch/asm-x86/dbi_kprobes_deps.c index b448d66..97c9ead 100644 --- a/kprobe/arch/asm-x86/dbi_kprobes_deps.c +++ b/kprobe/arch/asm-x86/dbi_kprobes_deps.c @@ -1,3 +1,62 @@ +/* + * 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 18ea8a5..7ea5f2c 100644 --- a/kprobe/arch/dbi_kprobes.c +++ b/kprobe/arch/dbi_kprobes.c @@ -37,14 +37,27 @@ * 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-2010 + * Copyright (C) Samsung Electronics, 2006-2013 * - * 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 - * - + * 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/arch/dbi_kprobes.h b/kprobe/arch/dbi_kprobes.h index 695ecd4..fc37bfc 100644 --- a/kprobe/arch/dbi_kprobes.h +++ b/kprobe/arch/dbi_kprobes.h @@ -40,13 +40,27 @@ * 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-2010 + * Copyright (C) Samsung Electronics, 2006-2013 * - * 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 - * + * 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_insn_slots.c b/kprobe/dbi_insn_slots.c index c912577..036bc12 100644 --- a/kprobe/dbi_insn_slots.c +++ b/kprobe/dbi_insn_slots.c @@ -37,12 +37,27 @@ * 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-2012 + * 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 - * 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 + * 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 */ #include "dbi_insn_slots.h" diff --git a/kprobe/dbi_insn_slots.h b/kprobe/dbi_insn_slots.h index a18c520..302f65a 100644 --- a/kprobe/dbi_insn_slots.h +++ b/kprobe/dbi_insn_slots.h @@ -40,12 +40,25 @@ * 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-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 + * 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.h" diff --git a/kprobe/dbi_kdebug.h b/kprobe/dbi_kdebug.h index a894726..4cb2544 100644 --- a/kprobe/dbi_kdebug.h +++ b/kprobe/dbi_kdebug.h @@ -19,13 +19,26 @@ * 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-2010 + * 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 - * -*/ + * 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 + */ //#define _DEBUG diff --git a/kprobe/dbi_kprobes.c b/kprobe/dbi_kprobes.c index e3cc3ae..6af4bdc 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.h + * modules/kprobe/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 @@ -39,13 +39,27 @@ * 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-2010 + * Copyright (C) Samsung Electronics, 2006-2013 * - * 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 - * + * 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_kprobes.h b/kprobe/dbi_kprobes.h index 01cf0ef..c4800a6 100644 --- a/kprobe/dbi_kprobes.h +++ b/kprobe/dbi_kprobes.h @@ -40,13 +40,27 @@ * 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-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 + * Copyright (C) Samsung Electronics, 2006-2013 * + * 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 e8b0621..9eef0a8 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.h + * modules/kprobe/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 @@ -16,12 +16,25 @@ * 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-2010 + * 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 - * + * 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 diff --git a/kprobe/dbi_kprobes_deps.h b/kprobe/dbi_kprobes_deps.h index 20f3606..9db5f62 100644 --- a/kprobe/dbi_kprobes_deps.h +++ b/kprobe/dbi_kprobes_deps.h @@ -19,12 +19,25 @@ * 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-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 + * 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 // LINUX_VERSION_CODE, KERNEL_VERSION() diff --git a/kprobe/dbi_uprobes.c b/kprobe/dbi_uprobes.c index 283b321..3a79e78 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.h + * modules/kprobe/dbi_uprobes.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 @@ -16,12 +16,25 @@ * 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-2010 + * 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 - * + * 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_uprobes.h b/kprobe/dbi_uprobes.h index aef1819..107e767 100644 --- a/kprobe/dbi_uprobes.h +++ b/kprobe/dbi_uprobes.h @@ -19,12 +19,25 @@ * 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-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 + * 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.h" -- 2.7.4