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

Python projects #14

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Python projects #14

wants to merge 3 commits into from

Conversation

ethanbwang
Copy link

No description provided.


from py_io_capture import decorate_module, dump_records, DUMP_FILE_NAME
import atexit
cffi = decorate_module(cffi)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if there is no import cffi, this decoration will case error. We can either decorate recompiler or add import cffi to the top


from py_io_capture import decorate_module, dump_records, DUMP_FILE_NAME
import atexit
charset_normalizer = decorate_module(charset_normalizer)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same error here, in this case we should decorate from_bytes.

@ethanbwang
Copy link
Author

I think I tried only decorating the above before instead of what's in this PR and it still didn't dump any data.

@EYH0602
Copy link
Member

EYH0602 commented Sep 26, 2023

I think I tried only decorating the above before instead of what's in this PR and it still didn't dump any data.

After the changes, the fuzzers should be runningwithout dumping. This can be verified by running ./oss-fuzz/build/out/charset_normalizer/fuzz_normalize. If the fuzzer works, that good for now. We will try to find why its not dumping later

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 this pull request may close these issues.

2 participants