Giter VIP home page Giter VIP logo

Comments (14)

mxmssh avatar mxmssh commented on July 20, 2024

can you provide an executable to test please?

from manul.

chbest0102 avatar chbest0102 commented on July 20, 2024

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.

mxmssh avatar mxmssh commented on July 20, 2024

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.

chbest0102 avatar chbest0102 commented on July 20, 2024

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.

mxmssh avatar mxmssh commented on July 20, 2024

I see, then it is definitely needed :)

from manul.

chbest0102 avatar chbest0102 commented on July 20, 2024

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.

chbest0102 avatar chbest0102 commented on July 20, 2024

The test bmp file attached
not_kitty.zip

from manul.

chbest0102 avatar chbest0102 commented on July 20, 2024

the client lib is gdiplus.dll,gdi32full.dll,GDI32.dll

from manul.

chbest0102 avatar chbest0102 commented on July 20, 2024

Correction: The windows 10 I tested is version 1909

from manul.

mxmssh avatar mxmssh commented on July 20, 2024

Thank you @chbest0102, It helps a lot. I will take a look what's going on today.

from manul.

mxmssh avatar mxmssh commented on July 20, 2024

I was able to reproduce that. Seems like manul doesn't receive everything from shared libraries.

from manul.

chbest0102 avatar chbest0102 commented on July 20, 2024

Nice to hear this, hope to fix it soon, thanks

from manul.

mxmssh avatar mxmssh commented on July 20, 2024

Fixed, Manul can explore paths at the same speed as winAFL.

from manul.

chbest0102 avatar chbest0102 commented on July 20, 2024

I tested this issue has been fixed, thanks

from manul.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.