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

bash: ./toy: No such file or directory #61

Open
98hq opened this issue Dec 21, 2022 · 1 comment · May be fixed by #70
Open

bash: ./toy: No such file or directory #61

98hq opened this issue Dec 21, 2022 · 1 comment · May be fixed by #70

Comments

@98hq
Copy link

98hq commented Dec 21, 2022

Hello,I have been trying to use lava , but when I test the buggy program, I got the following error:

  1. According the setup.md,I successfully installed lava
  2. run python2 init-host.py generate the host.json
  3. ./scripts/lava.sh toy
    image
  4. test the buggy program:
    cd ~/Desktop/lava/target_injections/toy/bugs/0/toy/lava-install/bin
    ./toy ~/Desktop/lava/target_injections/toy/inputs/testsmall.bin
    but i meet the following error:
    bash: ./toy: No such file or directory

Then I test toy programs in other paths, however, the following error can still occur.
The following picture shows the process of the test:
image

Source code

Also, based on the previous question #44 ,The source code that injected the vulnerability was in the local git repository
I looked at the branches in the buggy program directory,
The following image shows the results. which branch should I look at to see the source code for the injection vulnerability?
image

Controls the number and type of injection vulnerabilities

image

The above figure above shows the number of vulnerabilities inserted into the program, i want to know how to control the number and type of insertion vulnerabilities, and which scripts need to be modified

@98hq
Copy link
Author

98hq commented Dec 21, 2022

The first error has been resolved and was caused by a lack of packages in the system. The error is unrelated to lava.

A question about ”Controls the number and type of injection vulnerabilities",
I know that we can control the option of lava.sh to do this, but is there any other way?

@AndrewQuijano AndrewQuijano linked a pull request Aug 13, 2024 that will close this issue
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 a pull request may close this issue.

1 participant