Skip to content

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

@98hq

Description

@98hq

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions