Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270151
b: refs/heads/master
c: 08aab44
h: refs/heads/master
i:
  270149: 81bb854
  270147: e5f88ac
  270143: 751ef2c
v: v3
  • Loading branch information
Jon Medhurst committed Sep 20, 2011
1 parent 64f7b43 commit 1097001
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ce5af3bad0e03e94d01c002698ca6b2697b51836
refs/heads/master: 08aab447c56a5388cf0c768da476ad022f00fef8
21 changes: 21 additions & 0 deletions trunk/arch/arm/kernel/kprobes-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,27 @@
* published by the Free Software Foundation.
*/

/*
* This file contains 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. The rest of this
* documentation will describe the operation of the framework used by these
* test cases.
*/

/*
* TESTING METHODOLOGY
* -------------------
Expand Down

0 comments on commit 1097001

Please sign in to comment.