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

Fuzz slightly on CI #62

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

Fuzz slightly on CI #62

wants to merge 4 commits into from

Conversation

Dinnerbone
Copy link
Contributor

The other fuzz targets don't work, but we can at least run this for 2 minutes and see what happens

@Dinnerbone Dinnerbone force-pushed the fuzz branch 2 times, most recently from 7a1f79a to 2b0d865 Compare July 5, 2024 12:42
flash-lso/src/lib.rs Outdated Show resolved Hide resolved
@torokati44
Copy link
Member

torokati44 commented Jul 5, 2024

The other fuzz targets don't work

Even after #63? 🤔

@Dinnerbone
Copy link
Contributor Author

The other fuzz targets don't work

I haven't updated this PR yet! Working on it!

@Dinnerbone
Copy link
Contributor Author

Test based on the fuzz it found already:

    #[test]
    fn fuzz_b0e663fb5e6fa41096be51b5a425a9219502040b() {
        let input = &[
            0x01, // str len, size of 0
            0x11, // type marker: dictionary
            0x03, // new object, size of 1 (object ID becomes 0)
            0x01, // weak keys: 1 (true?)
            0x04, // key type marker: integer
            0x01, // key value: 1
            0x0a, // value type marker: object
            0x00, // value is reference to object ID 0
        ];
        let body = AMF3Decoder::default().parse_body(input);
    }

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