You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling png-afl v0.2.0 (/home/kym000131/fuzzing_set/Rust/image-png/png-afl) error: declaration of ano_mangle` function
--> src/main.rs:11:1
|
11 | #[no_mangle]
| ^^^^^^^^^^^^
|
= note: the linker's behavior with multiple libraries exporting duplicate symbol names is undefined and Rust cannot provide guarantees when you manually override them
note: the lint level is defined here
--> src/main.rs:2:11
|
2 | #![forbid(unsafe_code)]
| ^^^^^^^^^^^
error[E0308]: mismatched types
--> src/main.rs:19:9
|
19 | let (info, mut reader) = decoder.read_info().map_err(|| ())?;
| ^^^^^^^^^^^^^^^^^^ ------------------------------------ this expression has type Reader<&[u8]>
| |
| expected Reader<&[u8]>, found (_, _)
|
= note: expected struct Reader<&[u8]>
found tuple `(, _)``
I think there is a problem in png-afl/src/main.rs
The text was updated successfully, but these errors were encountered:
after "cargo afl build", there is an error.
Compiling png-afl v0.2.0 (/home/kym000131/fuzzing_set/Rust/image-png/png-afl) error: declaration of a
no_mangle` function--> src/main.rs:11:1
|
11 | #[no_mangle]
| ^^^^^^^^^^^^
|
= note: the linker's behavior with multiple libraries exporting duplicate symbol names is undefined and Rust cannot provide guarantees when you manually override them
note: the lint level is defined here
--> src/main.rs:2:11
|
2 | #![forbid(unsafe_code)]
| ^^^^^^^^^^^
error[E0308]: mismatched types
--> src/main.rs:19:9
|
19 | let (info, mut reader) = decoder.read_info().map_err(|| ())?;
| ^^^^^^^^^^^^^^^^^^ ------------------------------------ this expression has type
Reader<&[u8]>
| |
| expected
Reader<&[u8]>
, found(_, _)
|
= note: expected struct
Reader<&[u8]>
found tuple `(, _)``
I think there is a problem in png-afl/src/main.rs
The text was updated successfully, but these errors were encountered: