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

fuzzer not working in native_posix #75407

Closed
aescolar opened this issue Jul 3, 2024 · 0 comments · Fixed by #75404
Closed

fuzzer not working in native_posix #75407

aescolar opened this issue Jul 3, 2024 · 0 comments · Fixed by #75404
Assignees
Labels
area: native port Host native arch port (native_sim) bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug Regression Something, which was working, does not anymore

Comments

@aescolar
Copy link
Member

aescolar commented Jul 3, 2024

Describe the bug
The fuzzer stopped working in native_posix after 6e977ae was merged.
But it continues working on native_sim

To Reproduce
Steps to reproduce the behavior:

  1. mkdir build; cd build
  2. ZEPHYR_TOOLCHAIN_VARIANT=llvm cmake -GNinja -DBOARD=native_posix ../samples/subsys/debug/fuzz/
  3. ninja
  4. zephyr/zephyr.exe
  5. See very early segfault

Expected behavior
No segfault (until the fuzzer actually triggers it a few steps down :D )

Impact
Fuzzer does not work on native_posix anymore even that native_posix is still supported.
Users need to migrate to native_sim for this.

Logs and console output
N/A

Environment (please complete the following information):

  • OS: Linux, Ubuntu 22.04
  • Toolchain : llvm 15.0.7
  • Commit SHA or Version used: main as of now 650227d

Additional context
Issue introduced in 6e977ae (#74682). Explanation of why in the PR that fixes this

@aescolar aescolar added bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug Regression Something, which was working, does not anymore labels Jul 3, 2024
@aescolar aescolar self-assigned this Jul 3, 2024
@aescolar aescolar added the area: native port Host native arch port (native_sim) label Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: native port Host native arch port (native_sim) bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug Regression Something, which was working, does not anymore
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant