SYMBOL INDEX (74 symbols across 2 files) FILE: src/ukip.py class UKIP_AVAILABLE_MODES (line 40) | class UKIP_AVAILABLE_MODES(enum.Enum): class AllowlistConfigReturn (line 85) | class AllowlistConfigReturn(object): class KeycodesReturn (line 107) | class KeycodesReturn(object): class DeviceError (line 118) | class DeviceError(Exception): class AllowlistFileError (line 122) | class AllowlistFileError(Exception): class KeycodesFileError (line 126) | class KeycodesFileError(Exception): function add_to_ring_buffer (line 130) | def add_to_ring_buffer(event_device_path: Text, key_down_time: int, function check_local_allowlist (line 157) | def check_local_allowlist(product_id: Text, function check_for_attack (line 230) | def check_for_attack(event_device_path: Text, device: usb.core.Device) -... function enforce_monitor_mode (line 272) | def enforce_monitor_mode(device: usb.core.Device, event_device_path: Text): function enforce_hardening_mode (line 289) | def enforce_hardening_mode(device: usb.core.Device, event_device_path: T... function load_keycodes_from_file (line 363) | def load_keycodes_from_file() -> KeycodesReturn: function monitor_device_thread (line 401) | def monitor_device_thread(device: pyudev.Device, vendor_id: int, function init_device_list (line 473) | def init_device_list() -> int: function main (line 523) | def main(argv): FILE: src/ukip_test.py class USBError (line 42) | class USBError(IOError): class UkipTest (line 46) | class UkipTest(unittest.TestCase): method setUp (line 48) | def setUp(self): method test_check_for_attack_trigger_monitor (line 106) | def test_check_for_attack_trigger_monitor(self, monitor_mode_mock): method test_check_for_attack_not_trigger_monitor (line 132) | def test_check_for_attack_not_trigger_monitor(self, monitor_mode_mock): method test_check_for_attack_no_times (line 154) | def test_check_for_attack_no_times(self, monitor_mode_mock): method test_check_for_attack_proper_run_mode (line 173) | def test_check_for_attack_proper_run_mode(self, monitor_mode_mock, method test_check_for_attack_no_run_mode (line 204) | def test_check_for_attack_no_run_mode(self, monitor_mode_mock, method test_add_to_ring_buffer_create_key_time (line 232) | def test_add_to_ring_buffer_create_key_time(self, check_for_attack_mock): method test_add_to_ring_buffer_create_key_keystroke (line 250) | def test_add_to_ring_buffer_create_key_keystroke(self, check_for_attac... method test_add_to_ring_buffer_multiple_values (line 268) | def test_add_to_ring_buffer_multiple_values(self, check_for_attack_mock): method test_enforce_monitor_mode_with_product (line 318) | def test_enforce_monitor_mode_with_product(self, logging_mock): method test_enforce_monitor_mode_no_product (line 333) | def test_enforce_monitor_mode_no_product(self, logging_mock): method test_monitor_device_thread_library_calls (line 351) | def test_monitor_device_thread_library_calls(self, usb_core_find_mock, method test_monitor_device_thread_logging (line 367) | def test_monitor_device_thread_logging(self): method test_monitor_device_thread_exception_inputdevice (line 373) | def test_monitor_device_thread_exception_inputdevice( method test_monitor_device_thread_exception_read_loop (line 394) | def test_monitor_device_thread_exception_read_loop( method test_monitor_device_thread_keystroke_in_ms (line 415) | def test_monitor_device_thread_keystroke_in_ms(self): method test_monitor_device_thread_keystroke_shift (line 419) | def test_monitor_device_thread_keystroke_shift(self): method test_monitor_device_thread_keystroke_capslock (line 423) | def test_monitor_device_thread_keystroke_capslock(self): method test_init_device_list_library_calls (line 429) | def test_init_device_list_library_calls(self, netlink_mock, context_mo... method test_init_device_list_exceptions (line 437) | def test_init_device_list_exceptions(self): method test_init_device_list_device_count (line 441) | def test_init_device_list_device_count(self): method test_init_device_list_invalid_pid_vid (line 445) | def test_init_device_list_invalid_pid_vid(self): method test_init_device_list_runtimeerror (line 449) | def test_init_device_list_runtimeerror(self): method test_main_threading (line 453) | def test_main_threading(self): method test_main_too_many_arguments (line 457) | def test_main_too_many_arguments(self): method test_main_filter_by (line 462) | def test_main_filter_by(self, netlink_mock): method test_check_local_allowlist (line 476) | def test_check_local_allowlist(self, open_mock): method test_check_local_allowlist_two_devices (line 497) | def test_check_local_allowlist_two_devices(self, open_mock): method test_check_local_allowlist_only_comments (line 518) | def test_check_local_allowlist_only_comments(self, open_mock): method test_check_local_allowlist_no_device (line 538) | def test_check_local_allowlist_no_device(self, open_mock): method test_check_local_allowlist_key_val_parsing (line 557) | def test_check_local_allowlist_key_val_parsing(self, open_mock): method test_check_local_allowlist_device_parsing (line 571) | def test_check_local_allowlist_device_parsing(self, open_mock): method test_check_local_allowlist_parsing (line 584) | def test_check_local_allowlist_parsing(self, open_mock): method test_check_local_allowlist_file_not_found (line 602) | def test_check_local_allowlist_file_not_found(self, open_mock): method test_check_local_allowlist_empty_lines (line 612) | def test_check_local_allowlist_empty_lines(self, open_mock): method test_check_local_allowlist_allow_all (line 630) | def test_check_local_allowlist_allow_all(self, open_mock): method test_check_local_allowlist_deny_all (line 650) | def test_check_local_allowlist_deny_all(self, open_mock): method fill_test_ringbuffer_with_data (line 668) | def fill_test_ringbuffer_with_data(self): method test_enforce_hardening_mode_with_product (line 684) | def test_enforce_hardening_mode_with_product(self, logging_mock, method test_enforce_hardening_mode_no_product (line 727) | def test_enforce_hardening_mode_no_product(self, logging_mock, method test_enforce_hardening_mode_no_active_driver (line 769) | def test_enforce_hardening_mode_no_active_driver(self, logging_mock, method test_enforce_hardening_mode_ioerror (line 794) | def test_enforce_hardening_mode_ioerror(self, logging_mock, method test_enforce_hardening_mode_multiple_interfaces_error (line 827) | def test_enforce_hardening_mode_multiple_interfaces_error( method test_enforce_hardening_mode_oserror (line 881) | def test_enforce_hardening_mode_oserror(self, logging_mock, method test_enforce_hardening_mode_valueerror (line 913) | def test_enforce_hardening_mode_valueerror(self, logging_mock, method test_enforce_hardening_mode_usberror (line 945) | def test_enforce_hardening_mode_usberror(self, logging_mock, method test_enforce_hardening_mode_any_keyword (line 978) | def test_enforce_hardening_mode_any_keyword(self, logging_mock, method test_enforce_hardening_mode_keystrokes_allowed (line 1004) | def test_enforce_hardening_mode_keystrokes_allowed(self, logging_mock, method test_enforce_hardening_mode_keystrokes_allowed_subset (line 1032) | def test_enforce_hardening_mode_keystrokes_allowed_subset( method test_enforce_hardening_mode_device_not_present (line 1063) | def test_enforce_hardening_mode_device_not_present(self, logging_mock, method test_enforce_hardening_mode_one_key_off (line 1107) | def test_enforce_hardening_mode_one_key_off(self, logging_mock, method test_load_keycodes_from_file (line 1151) | def test_load_keycodes_from_file(self, open_mock, logging_mock): method test_load_keycodes_from_file_missing_keyword (line 1181) | def test_load_keycodes_from_file_missing_keyword(self, open_mock, method test_load_keycodes_from_file_overflowerror (line 1214) | def test_load_keycodes_from_file_overflowerror(self, open_mock, json_m... method test_load_keycodes_from_file_valueerror (line 1227) | def test_load_keycodes_from_file_valueerror(self, open_mock, json_mock, method test_load_keycodes_from_file_typeerror (line 1240) | def test_load_keycodes_from_file_typeerror(self, open_mock, json_mock, method test_load_keycodes_from_file_not_found (line 1253) | def test_load_keycodes_from_file_not_found(self, open_mock, json_mock,