question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Program 'test.py' not found or not executable

See original GitHub issue

Hello everyone! Why this error does not allow me to run fuzzing?

I tried to manually set the AFL_SKIP_BIN_CHECK=1 environment variables, but it doesn’t help.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:1
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
NikParam42commented, Feb 14, 2020

I solved this error. It was correct to run this way $ py-afl-fuzz [options] -- python /path/to/fuzzed/python/script [...]

But why is it written like this in README if it’s wrong? $ py-afl-fuzz [options] -- /path/to/fuzzed/python/script [...]

0reactions
soemthlngcommented, Nov 18, 2021

@jwilk Ok, I set shebang like this. #!/home/myname/anaconda3/bin/python3.8 import asyncio import logging

and I set the executable bit rwxr-xr-x.

but py-afl-fuzz still does not work.

I print this error. [-] PROGRAM ABORT : Program 'test_device.py' not found or not executable Location : check_binary(), afl-fuzz.c:6548

And I have no idea how to specify the interpreter explicitly on the command line. Could you let me know?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Py.test command not found, but library is installed
Are you using a virtualenv? If so, pip (at least older versions) will not install the py.test binary if it's already installed systemwide....
Read more >
4. Using Python on Windows — Python 3.11.1 documentation
This document aims to give an overview of Windows-specific behaviour you should know about when using Python on Microsoft Windows. Unlike most Unix...
Read more >
Pytest is in PATH but not found - Ask Ubuntu
It's in a location that should be accessible through the PATH variable, but (to the best of my ability to describe the problem)...
Read more >
Python is not recognized as an internal or external command
You learned previously that this error occurs when Windows can't find the location of the Python executable file. One way to fix the...
Read more >
Pip Command Not Found on Windows: A Guide | Built In
A “pip: command not found” error occurs when you fail to properly install the package installer for Python (pip) needed to run Python...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found