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

Update snapshot2 fuzzing #3

Merged
merged 2 commits into from
Mar 18, 2024

Conversation

XuJiandong
Copy link

  • Let some branches returned early in case of errors.
  • Make a lot of cases possible from ELF data.
  • Add more logs

* Let some branches returned early in case of errors.
* Make a lot of cases possible from ELF data.
* Add more logs
@XuJiandong
Copy link
Author

XuJiandong commented Mar 18, 2024

crash.tar.gz
This is one of crashes.

Running: artifacts/snapshot2/crash-2b169de52511868e7c2553f22bc0e22cca24aeba
mem1[0..16] = [0, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2]
mem2[0..16] = [0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1]
program length = 372224
content length = 52928
LoadingAction: addr = 0, size = 0, source = 256..33024, offset_from_addr = 0
LoadingAction: addr = 0, size = 0, source = 0..256, offset_from_addr = 0
StoreBytesAction { addr: 0, offset: 0, length: 32768 }
StoreBytesAction { addr: 1, offset: 257, length: 46515456 }
thread 'snapshot2' panicked at fuzz_targets/snapshot2.rs:181:13:
The memory restored by operation resume is not same as snapshot operation at page 0

@mohanson mohanson merged commit bcacb6b into libraries:snapshot2_fuzz Mar 18, 2024
11 checks passed
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

Successfully merging this pull request may close these issues.

2 participants