Comments (9)
Could you post the output of the following?
$ cd src/emulator
$ ./emulator.py -i ../samples/oracle/btrfs-10.image -t btrfs -v -p $(find /tmp/mosbench/tmpfs-separate/10/log/ -name "*prog" | head -n 1)
from hydra.
/emulator.py -i ../samples/oracle/btrfs-10.image -t btrfs -v -p $(find /tmp/mosbench/tmpfs-separate/10/log/ -name "*prog" | head -n 1)
Thats what I am getting now:
~/hydra/src/emulator$ ./emulator.py -i ../samples/oracle/btrfs-10.image -t btrfs -v -p $(find /tmp/mosbench/tmpfs-separate/10/log/ -name "*prog" | head -n 1)
find: ‘/tmp/mosbench/tmpfs-separate/10/log/’: No such file or directory
-bash: ./emulator.py: /usr/bin/python2: bad interpreter: No such file or directory
I changed /usr/bin/python2
to `/usr/bin/python3'
Then got this error:
~/hydra/src/emulator$ ./emulator.py -i ../samples/oracle/btrfs-10.image -t btrfs -v -p $(find /tmp/mosbench/tmpfs-separate/10/log/ -name "*prog" | head -n 1)
find: ‘/tmp/mosbench/tmpfs-separate/10/log/’: No such file or directory
File "./emulator.py", line 107
print "ARGS:", args
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("ARGS:", args)?
from hydra.
Ah, seems like Ubuntu 20.04 does not ship with python 2 installed anymore.
Please install python2:
$ sudo apt update
$ sudo apt install python2
(ref: https://linuxconfig.org/install-python-2-on-ubuntu-20-04-focal-fossa-linux)
from hydra.
~run.py
[-] PROGRAM ABORT : Pipe at the beginning of 'core_pattern'
Location : check_crash_handling(), afl-fuzz.c:7540
from hydra.
Have you re-booted after you opened the issue? If so, please run sudo ./prepare_fuzzing
(step 4) again.
from hydra.
it stopped within few seconds
Hydra was originally implemented for Ubuntu 18.04, and it seems that there is a compatibility issue on Ubuntu 20.04. Someone recently reported the issue, and we've been working on a fix. I will let you know as soon as this is resolved.
from hydra.
Based on line#72
fs/{2}/{2}_wrapper.so -e samples/oracle/{2}-.image -y seed -i {3} -o {4} -u {5} -- lkl/tools/lkl/{2}-combined-consistency -t {2} -i samples/oracle/{2}-.image
- Whats that {2} refering here and wrapper.so file
- seed -i {3} -o {4} -u {5}: this instruction for what reason
samples/oracle/{2}-.image
- if I wanna use some different .image file here, If I wanna use other .image file does this syntax is the correct format or I need to change {2} into btrfs or ext4- eg:samples/oracle/{2}-'+str(i)+'.image
{i}
is replaced with the i-th argument of format()
following the string.
Please refer to python2's format string documentation (https://docs.python.org/2/library/string.html#format-examples) for further information.
from hydra.
I guess I got another question before you close it, based on line #72, what would {0}, {1}, {2}, {3}, {4}, {5} and {6} be in that line? just make myself little clear about those argument.
from hydra.
As I mentioned above, {i}
is replaced with the i-th argument of format()
following the string. So, 0: instance_name, 1: shm_name, 2: args.fstype, and so on.
Closing!
from hydra.
Related Issues (20)
- Run out of memory and segfault reported? HOT 1
- c5d1b0c make build-xfs-imgwrp failed HOT 1
- how to enable kasan? HOT 2
- How to test FUSE filesystems? HOT 2
- No instrumentation detected HOT 5
- Who did u report the bug to? HOT 2
- can't find setup logic bug HOT 2
- Makefile Issue
- Step 3: Errors HOT 18
- Question about new image HOT 7
- Debug Issue on Hydra
- test image fail on my os
- Can not reproduce bugs with ubuntu 18.04 and back-port LKL kernel 4.16 HOT 2
- Image Failed
- make build-xfs-imgwrp error
- got crashes reported in ALF UI, but there is no test case exists in 'log directory'
- Expand to other filesystems? HOT 2
- How do the raw images generate? HOT 3
- SilbylFS checker? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hydra.