Comments (14)
can you provide an executable to test please?
from manul.
I find the issue root cause, it is caused by manul_utils.py save_content fd.flush() not actually write file content to disk, so the test case file content not updated, so manul cannot find new path.
I add os.fsync(fd) after fd.flush() desnot work either. I still haven't solved it now
I used python is python-3.7.6,
I see fd.flush have following comment:
Note flush() does not necessarily write the fileβs data to disk. Use flush() followed by os.fsync() to ensure this behavior.
https://docs.python.org/2/library/stdtypes.html#file.flush
from manul.
Well, the doc relevant to python2 while you are running Python3, not sure if it helps at all. A simple test source code or binary would help.
from manul.
Sorry I paste python2 doc, The Python3 doc also have same request for fd.flush,
https://docs.python.org/3/library/os.html #search os.fsync
from manul.
I see, then it is definitely needed :)
from manul.
The manul still doesnot increase new path on windows 1903 after I fixed test case generate, I try test_gdiplus.exe in dbi_persistence_mode in manul, manul only detect 4 new path after long run, but winafl detect 11 new path shortly
My test environ:
Python 3.8.2 x86, DynamoRIO-Windows-7.91.18299-0
The test_gdiplus comes with winafl, I attched
test_gdiplus.zip
from manul.
The test bmp file attached
not_kitty.zip
from manul.
the client lib is gdiplus.dll,gdi32full.dll,GDI32.dll
from manul.
Correction: The windows 10 I tested is version 1909
from manul.
Thank you @chbest0102, It helps a lot. I will take a look what's going on today.
from manul.
I was able to reproduce that. Seems like manul doesn't receive everything from shared libraries.
from manul.
Nice to hear this, hope to fix it soon, thanks
from manul.
Fixed, Manul can explore paths at the same speed as winAFL.
from manul.
I tested this issue has been fixed, thanks
from manul.
Related Issues (20)
- AttributeError: 'ModuleNotFoundError' object has no attribute 'message'
- ModuleNotFoundError: No module named 'adamsa' HOT 2
- Suggest : Stdin option (Like afl) HOT 2
- Suggest : verbose option HOT 3
- Crashes saved aren't really crashes HOT 2
- Windows test32/64 DR client crash
- windows issues HOT 4
- Add Radamsa as a library HOT 1
- It seems afl mutator never grows a buffer HOT 14
- Manul reports exception instead of crash in forkmode
- Integrate manul with FuzzBench HOT 1
- Add/test support of __afl_persistent_loop
- test_network.exe fuzzing config?
- Problem with crash detection in the fuzzstati0n/fuzzgoat project? HOT 2
- Performance manul vs afl++ HOT 1
- real path of input file HOT 7
- [Linux] Some python bugs (with fix) in dbi driver
- [linux] dbi mode doesn't work (as expected) HOT 1
- FileNotFoundError: [Errno 2] No such file or directory: 'manul.config'
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 manul.