SYMBOL INDEX (143 symbols across 31 files) FILE: examples/CortexM_AES/cortexm_aes.py function aes_encrypt (line 17) | def aes_encrypt(key, plaintext): class CortexMAesContainer (line 48) | class CortexMAesContainer(lascar.AbstractContainer): method generate_trace (line 50) | def generate_trace(self, idx): FILE: examples/HW_analysis/pin_compare.py function containsPin (line 10) | def containsPin(e, pin_attempt, stored_pin): function show_nicv (line 26) | def show_nicv(values, traces, nr_digits): FILE: examples/HW_analysis/pin_fault.py function setup_emulator (line 19) | def setup_emulator(trace_config=TraceConfig()) -> rainbow_stm32: function result (line 33) | def result(u): FILE: examples/OAES/OAES_x86.py function generate_targetf (line 11) | def generate_targetf(): function get_traces (line 37) | def get_traces(targetf, nb, nb_samples): FILE: examples/SecAESSTM32/go.py function f_aes (line 16) | def f_aes(e, key, input_): FILE: examples/hacklu2009/go.py function encrypt (line 16) | def encrypt(plain): class CrackMeContainer (line 34) | class CrackMeContainer(lascar.AbstractContainer): method generate_trace (line 36) | def generate_trace(self, idx): FILE: rainbow/devices/stm32.py class rainbow_stm32 (line 29) | class rainbow_stm32(rainbow_cortexm): method __init__ (line 37) | def __init__(self, *args, **kwargs): method _rng_sr_read (line 55) | def _rng_sr_read(self, _uci, _access, address, _size, _value, _user_da... method _rng_dr_read (line 59) | def _rng_dr_read(self, _uci, _access, address, _size, _value, _user_da... method _load_other_regs (line 66) | def _load_other_regs(self, filename): class rainbow_stm32f215 (line 75) | class rainbow_stm32f215(rainbow_stm32): method __init__ (line 83) | def __init__(self, *args, **kwargs): class rainbow_stm32l431 (line 98) | class rainbow_stm32l431(rainbow_stm32): method __init__ (line 99) | def __init__(self, *args, **kwargs): FILE: rainbow/fault_models.py function fault_skip (line 32) | def fault_skip(emu: Rainbow): function fault_stuck_at (line 58) | def fault_stuck_at(value: int = 0): FILE: rainbow/generics/aarch64.py class rainbow_aarch64 (line 25) | class rainbow_aarch64(Rainbow): method reset_stack (line 41) | def reset_stack(self): method return_force (line 44) | def return_force(self): FILE: rainbow/generics/arm.py class rainbow_arm (line 25) | class rainbow_arm(Rainbow): method thumb_bit (line 42) | def thumb_bit(self) -> int: method start (line 46) | def start(self, begin, *args, **kwargs): method reset_stack (line 49) | def reset_stack(self): method return_force (line 52) | def return_force(self): method disassemble_single (line 55) | def disassemble_single(self, addr: int, size: int): method disassemble_single_detailed (line 60) | def disassemble_single_detailed(self, addr: int, size: int) -> cs.CsInsn: FILE: rainbow/generics/cortexm.py class rainbow_cortexm (line 27) | class rainbow_cortexm(Rainbow): method __init__ (line 44) | def __init__(self, *args, **kwargs): method reset_stack (line 60) | def reset_stack(self): method intr_hook (line 63) | def intr_hook(self, uci, intno, data): method start (line 85) | def start(self, begin, *args, **kwargs): method return_force (line 88) | def return_force(self): method endmem_hook (line 91) | def endmem_hook(self, _uci, address, _size, _user_data): FILE: rainbow/generics/m68k.py class rainbow_m68k (line 25) | class rainbow_m68k(Rainbow): method reset_stack (line 41) | def reset_stack(self): method return_force (line 44) | def return_force(self): FILE: rainbow/generics/x64.py class rainbow_x64 (line 25) | class rainbow_x64(Rainbow): method reset_stack (line 44) | def reset_stack(self): method return_force (line 48) | def return_force(self): FILE: rainbow/generics/x86.py class rainbow_x86 (line 25) | class rainbow_x86(Rainbow): method reset_stack (line 41) | def reset_stack(self): method return_force (line 45) | def return_force(self): FILE: rainbow/leakage_models.py function hw (line 28) | def hw(i): function hw (line 31) | def hw(i): class LeakageModel (line 35) | class LeakageModel(abc.ABC): method __call__ (line 42) | def __call__(self, *args, **kwargs) -> int: class Identity (line 46) | class Identity(LeakageModel): method __call__ (line 52) | def __call__(self, *args, **kwargs) -> int: class Bit (line 56) | class Bit(LeakageModel): method __init__ (line 62) | def __init__(self, which: int): method __call__ (line 68) | def __call__(self, *args, **kwargs) -> Literal[0, 1]: class Slice (line 72) | class Slice(LeakageModel): method __init__ (line 78) | def __init__(self, begin: int, end: int): method __call__ (line 87) | def __call__(self, *args, **kwargs) -> int: class HammingWeight (line 91) | class HammingWeight(LeakageModel): method __call__ (line 97) | def __call__(self, *args, **kwargs) -> int: class HammingDistance (line 101) | class HammingDistance(LeakageModel): method __call__ (line 108) | def __call__(self, *args, **kwargs) -> int: FILE: rainbow/loaders/__init__.py function load_selector (line 28) | def load_selector(filename, rainbow_instance, typ=None, *args, **kwargs)... FILE: rainbow/loaders/cleloader.py function cleloader (line 22) | def cleloader(path: str, emu, ld_path=(), verbose=False, except_missing_... FILE: rainbow/loaders/hexloader.py function hexloader (line 22) | def hexloader(hex_file, emu, verbose=False) -> None: FILE: rainbow/rainbow.py class Print (line 35) | class Print(Flag): class TraceConfig (line 44) | class TraceConfig: method __init__ (line 47) | def __init__( class Rainbow (line 65) | class Rainbow(abc.ABC): method __init__ (line 97) | def __init__( method PAGE_SIZE (line 135) | def PAGE_SIZE(self) -> int: # noqa method PAGE_SHIFT (line 139) | def PAGE_SHIFT(self) -> int: # noqa method map_space (line 142) | def map_space(self, start: int, end: int, perms: str = "rwx", verbose:... method __setitem__ (line 218) | def __setitem__(self, inp, val): method __getitem__ (line 264) | def __getitem__(self, s): method load (line 281) | def load(self, filename, *args, **kwargs) -> Optional[int]: method start (line 285) | def start(self, begin, end, timeout=0, count=0) -> None: method start_and_fault (line 295) | def start_and_fault(self, fault_model, fault_index: int, begin: int, e... method _setup_hooks (line 335) | def _setup_hooks(self): method remove_bkpt (line 386) | def remove_bkpt(self, address): method add_bkpt (line 391) | def add_bkpt(self, address): method reset_stack (line 397) | def reset_stack(self): method reset_regs (line 401) | def reset_regs(self): method reset_trace (line 406) | def reset_trace(self): method return_force (line 415) | def return_force(self): method reset (line 419) | def reset(self): method _disassemble_cache (line 429) | def _disassemble_cache(call: Callable, instruction: bytes, addr: int): method disassemble_single (line 432) | def disassemble_single(self, addr: int, size: int) -> Tuple[int, int, ... method disassemble_single_detailed (line 444) | def disassemble_single_detailed(self, addr: int, size: int) -> cs.CsInsn: method _get_addrs (line 449) | def _get_addrs(self, name_or_addr): method _stub_hook (line 461) | def _stub_hook(self, _uci, address, _size, userdata): method hook_prolog (line 481) | def hook_prolog(self, name, fn, trigger_after_exec=0, trigger_count=0): method hook_bypass (line 501) | def hook_bypass(self, name, fn=None, trigger_after_exec=0, trigger_cou... method remove_hook (line 521) | def remove_hook(self, name): method remove_hooks (line 528) | def remove_hooks(self): method _print_function_hook (line 535) | def _print_function_hook(_uci, address: int, _size, name: str): method _mem_hook (line 539) | def _mem_hook(self, uci, access, address, size, value, _): method _code_hook (line 572) | def _code_hook(self, uci, address, size, _): FILE: rainbow/utils/__init__.py function region_intersects (line 22) | def region_intersects(ra: Tuple[int, int], rb: Tuple[int, int]) -> bool: class HookWeakMethod (line 36) | class HookWeakMethod: method __init__ (line 49) | def __init__(self, method): method __call__ (line 52) | def __call__(self, *args, **kwargs): FILE: rainbow/utils/color_functions.py function color (line 43) | def color(color_name: str, x: str) -> str: function highlight_asmline (line 50) | def highlight_asmline(addr: int, ins: str, op_str: str): FILE: rainbow/utils/parse_svd.py function parse_svd (line 22) | def parse_svd(svdfile): FILE: rainbow/utils/plot/__init__.py function viewer (line 24) | def viewer(instructions: List[str], *args, **kwargs) -> int: FILE: rainbow/utils/plot/interface.py class Interface (line 27) | class Interface(qt.QMainWindow): method __init__ (line 28) | def __init__(self, instructions: List[str], *args, **kwargs): method instr_list_set_font_style (line 51) | def instr_list_set_font_style(self, row, bg_color=None, *args, **kwargs): method on_instr_list_row_change (line 61) | def on_instr_list_row_change(self, _event): method focus_change (line 67) | def focus_change(self, x: int): method place_widgets (line 75) | def place_widgets(self): method on_mouse_double_click (line 90) | def on_mouse_double_click(self, event): function setup_qt (line 97) | def setup_qt() -> qt.QApplication: FILE: tests/test_devices.py function test_init_del (line 17) | def test_init_del(rainbow_class): function test_reset (line 24) | def test_reset(rainbow_class): function test_init_start_del (line 31) | def test_init_start_del(rainbow_class): function test_stm32_rng (line 39) | def test_stm32_rng(): FILE: tests/test_fault_models.py function test_fault_skip (line 5) | def test_fault_skip(): function test_fault_stuck_at_zeros (line 24) | def test_fault_stuck_at_zeros(): function test_fault_stuck_at_ones (line 43) | def test_fault_stuck_at_ones(): FILE: tests/test_generics.py function test_init_del (line 23) | def test_init_del(rainbow_class): function test_reset (line 30) | def test_reset(rainbow_class): function test_init_start_del (line 37) | def test_init_start_del(rainbow_class): FILE: tests/test_hook.py function test_hook_bypass_ctf2 (line 5) | def test_hook_bypass_ctf2(): function test_hook_bypass_ctf2_empty (line 18) | def test_hook_bypass_ctf2_empty(): function test_hook_bypass_missing_name (line 28) | def test_hook_bypass_missing_name(): function test_hook_prolog_missing_name (line 35) | def test_hook_prolog_missing_name(): function test_remove_hooks (line 47) | def test_remove_hooks(): FILE: tests/test_leakage_models.py function test_regs_tracer (line 14) | def test_regs_tracer(leakage_model, option, instr): function test_regs_tracer_discard (line 37) | def test_regs_tracer_discard(leakage_model, instr): FILE: tests/test_loaders.py function test_elfloader_cortexm_aes (line 4) | def test_elfloader_cortexm_aes(): function test_elfloader_trezor (line 13) | def test_elfloader_trezor(): function test_elfloader_trezor (line 19) | def test_elfloader_trezor(): function test_hexloader_trezor (line 25) | def test_hexloader_trezor(): function test_elfloader_hexloader_equal (line 31) | def test_elfloader_hexloader_equal(): function test_peloader_hacklu2009 (line 50) | def test_peloader_hacklu2009(): FILE: tests/test_mapping.py function test_map_space (line 78) | def test_map_space(rainbow_class, mapping): function test_map_space_invalid (line 84) | def test_map_space_invalid():