Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AssertionError: Can't find displacement in lexp #24

Open
gomsoup opened this issue May 1, 2021 · 0 comments
Open

AssertionError: Can't find displacement in lexp #24

gomsoup opened this issue May 1, 2021 · 0 comments

Comments

@gomsoup
Copy link

gomsoup commented May 1, 2021

Tried to run kernel fuzzing campaign using kretrowrite, but I cannot proceed with the following error.

(retro) ➜  retrowrite git:(master) ✗ ./fuzzing/kernel/fuzz-module.sh ext4 
scripts/kconfig/conf  --syncconfig Kconfig

...

Added function num_clusters_in_group

...

[*] ext4_destroy_inline_data_nolock needs redzone stack
[*] trace_event_raw_event_ext4_discard_preallocations needs redzone stack
Traceback (most recent call last):
  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/user/retrowrite/rwtools/kasan/asantool.py", line 136, in <module>
    instrumenter.do_instrument()
  File "/home/user/retrowrite/rwtools/kasan/instrument.py", line 685, in do_instrument
    self.instrument_mem_accesses()
  File "/home/user/retrowrite/rwtools/kasan/instrument.py", line 382, in instrument_mem_accesses
    acsz, instruction, midx, free_registers, is_leaf)
  File "/home/user/retrowrite/rwtools/kasan/instrument.py", line 263, in get_mem_instrumentation
    assert False, 'Can\'t find displacement in lexp'
AssertionError: Can't find displacement in lexp

I tried to with not only ext4 but also several default kernel modules, but I cannot proceed with the same error.
I would appreciate it if you could tell me how to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant