linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/10] ARM: kprobes: Test code
@ 2011-08-29 12:33 Tixy
  2011-08-29 12:34 ` [PATCH 01/10] ARM: kprobes: Add config option for selecting the ARM kprobes tests Tixy
                   ` (9 more replies)
  0 siblings, 10 replies; 15+ messages in thread
From: Tixy @ 2011-08-29 12:33 UTC (permalink / raw)
  To: linux-arm-kernel

This patch series adds test code for ARM kprobes.

The top level function run_all_tests() executes tests for all of the
supported instruction sets: ARM, 16-bit Thumb, and 32-bit Thumb. These
tests fall into two categories; run_api_tests() checks basic
functionality of the kprobes API, and run_test_cases() is a
comprehensive test for kprobes instruction decoding and simulation.

run_test_cases() first checks the kprobes decoding table for self
consistency (using table_test()) then executes a series of test cases
for each of the CPU instruction forms. coverage_start(), and
coverage_end() are used to verify that these test cases cover all of the
possible combinations of instructions described by the kprobes decoding
tables.

The individual test cases are in kprobes-test-arm.c and
kprobes-test-thumb.c which use the macros defined in kprobes-test.h

Contents:
[PATCH 01/10] ARM: kprobes: Add config option for selecting the ARM kprobes tests
[PATCH 02/10] ARM: kprobes: Add basic API tests
[PATCH 03/10] ARM: kprobes: Framework for instruction set test cases
[PATCH 04/10] ARM: kprobes: Add Thumb instruction simulation test cases
[PATCH 05/10] ARM: kprobes: Add ARM instruction simulation test cases
[PATCH 06/10] ARM: kprobes: Add exports for test code
[PATCH 07/10] ARM: kprobes: Add decoding table self-consistency tests
[PATCH 08/10] ARM: kprobes: Add decoding table test coverage analysis
[PATCH 09/10] ARM: kprobes: Add some benchmarking to test module
[PATCH 10/10] ARM: kprobes: Add introductory comment to test code

---
 arch/arm/Kconfig.debug               |   10 +
 arch/arm/kernel/Makefile             |    7 +
 arch/arm/kernel/kprobes-arm.c        |    2 +
 arch/arm/kernel/kprobes-test-arm.c   | 1323 +++++++++++++++++++++++++
 arch/arm/kernel/kprobes-test-thumb.c | 1187 +++++++++++++++++++++++
 arch/arm/kernel/kprobes-test.c       | 1756 ++++++++++++++++++++++++++++++++++
 arch/arm/kernel/kprobes-test.h       |  392 ++++++++
 arch/arm/kernel/kprobes-thumb.c      |    3 +
 arch/arm/kernel/kprobes.h            |   21 +
 9 files changed, 4701 insertions(+), 0 deletions(-)

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2011-09-01  7:15 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-29 12:33 [PATCH 00/10] ARM: kprobes: Test code Tixy
2011-08-29 12:34 ` [PATCH 01/10] ARM: kprobes: Add config option for selecting the ARM kprobes tests Tixy
2011-08-29 18:44   ` Nicolas Pitre
2011-08-30  7:16     ` Tixy
2011-08-31 22:47       ` Nicolas Pitre
2011-09-01  7:15         ` Tixy
2011-08-29 12:34 ` [PATCH 02/10] ARM: kprobes: Add basic API tests Tixy
2011-08-29 12:34 ` [PATCH 03/10] ARM: kprobes: Framework for instruction set test cases Tixy
2011-08-29 12:34 ` [PATCH 04/10] ARM: kprobes: Add Thumb instruction simulation " Tixy
2011-08-29 12:34 ` [PATCH 05/10] ARM: kprobes: Add ARM " Tixy
2011-08-29 12:34 ` [PATCH 06/10] ARM: kprobes: Add exports for test code Tixy
2011-08-29 12:34 ` [PATCH 07/10] ARM: kprobes: Add decoding table self-consistency tests Tixy
2011-08-29 12:34 ` [PATCH 08/10] ARM: kprobes: Add decoding table test coverage analysis Tixy
2011-08-29 12:34 ` [PATCH 09/10] ARM: kprobes: Add some benchmarking to test module Tixy
2011-08-29 12:34 ` [PATCH 10/10] ARM: kprobes: Add introductory comment to test code Tixy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).