As bigger changes lie ahead, we want a small end-to-end test suite that ensures that our importing and tracing does not fall apart. With this change, we add the infrastructure and two test-cases (fib, qsort) including ELFs, traces, and injection results. In order to run the basic-pruner test cases, one needs to setup a MySQL table and set the CMake option ENABLE_DATABASE_TESTS.
133 lines
2.3 KiB
Plaintext
133 lines
2.3 KiB
Plaintext
keyboard = {
|
|
controller = {
|
|
tim = false
|
|
auxb = false
|
|
c_d = false
|
|
sysf = false
|
|
inpb = false
|
|
outb = false
|
|
kbd_clock_enabled = true
|
|
aux_clock_enabled = false
|
|
allow_irq1 = true
|
|
allow_irq12 = false
|
|
kbd_output_buffer = 0xfa
|
|
aux_output_buffer = 0x00
|
|
last_comm = 0x60
|
|
expecting_port60h = 0
|
|
expecting_mouse_parameter = 0
|
|
last_mouse_command = 0x56
|
|
timer_pending = 0
|
|
irq1_requested = false
|
|
irq12_requested = false
|
|
scancodes_translate = true
|
|
expecting_scancodes_set = false
|
|
current_scancodes_set = 1
|
|
bat_in_progress = false
|
|
}
|
|
mouse = {
|
|
sample_rate = 100
|
|
resolution_cpmm = 4
|
|
scaling = 1
|
|
mode = 10
|
|
saved_mode = 139
|
|
enable = false
|
|
button_status = 224
|
|
delayed_dx = 0
|
|
delayed_dy = 0
|
|
delayed_dz = 0
|
|
im_request = 0
|
|
im_mode = false
|
|
}
|
|
kbd_internal_buffer = {
|
|
num_elements = 0
|
|
buffer = {
|
|
0 = 0xfa
|
|
1 = 0xfa
|
|
2 = 0x00
|
|
3 = 0x00
|
|
4 = 0x00
|
|
5 = 0x00
|
|
6 = 0x00
|
|
7 = 0x00
|
|
8 = 0x00
|
|
9 = 0x00
|
|
10 = 0x00
|
|
11 = 0x00
|
|
12 = 0x00
|
|
13 = 0x00
|
|
14 = 0x00
|
|
15 = 0x00
|
|
}
|
|
head = 2
|
|
expecting_typematic = false
|
|
expecting_led_write = false
|
|
delay = 1
|
|
repeat_rate = 11
|
|
led_status = 0
|
|
scanning_enabled = true
|
|
}
|
|
mouse_internal_buffer = {
|
|
num_elements = 0
|
|
buffer = {
|
|
0 = 0x00
|
|
1 = 0x00
|
|
2 = 0x00
|
|
3 = 0x00
|
|
4 = 0x00
|
|
5 = 0x00
|
|
6 = 0x00
|
|
7 = 0x00
|
|
8 = 0x00
|
|
9 = 0x00
|
|
10 = 0x00
|
|
11 = 0x00
|
|
12 = 0x00
|
|
13 = 0x00
|
|
14 = 0x00
|
|
15 = 0x00
|
|
16 = 0x00
|
|
17 = 0x00
|
|
18 = 0x00
|
|
19 = 0x00
|
|
20 = 0x00
|
|
21 = 0x00
|
|
22 = 0x00
|
|
23 = 0x00
|
|
24 = 0x00
|
|
25 = 0x00
|
|
26 = 0x00
|
|
27 = 0x00
|
|
28 = 0x00
|
|
29 = 0x00
|
|
30 = 0x00
|
|
31 = 0x00
|
|
32 = 0x00
|
|
33 = 0x00
|
|
34 = 0x00
|
|
35 = 0x00
|
|
36 = 0x00
|
|
37 = 0x00
|
|
38 = 0x00
|
|
39 = 0x00
|
|
40 = 0x00
|
|
41 = 0x00
|
|
42 = 0x00
|
|
43 = 0x00
|
|
44 = 0x00
|
|
45 = 0x00
|
|
46 = 0x00
|
|
47 = 0x00
|
|
}
|
|
head = 0
|
|
}
|
|
controller_Q = {
|
|
0 = 0x00
|
|
1 = 0x00
|
|
2 = 0x00
|
|
3 = 0x00
|
|
4 = 0x00
|
|
}
|
|
controller_Qsize = 0
|
|
controller_Qsource = 0
|
|
}
|