AFLplusplus / AFLplusplus/LibAFL

Inputs need a `serialize_for_exchange` (or similar) method to serialize for sending them over the wire

オープン
#1,967 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
Rust
スター
2.6k
フォーク
481
平均マージ
2日 30分
マージ済み PR(30日)
16

説明

Similar to how `to_file` works today (it serializes an input _for storage on disk_), we need a way to exchange inputs with other nodes.
Specifically, simply serializing inputs with Serde won't work for any input that references local fuzzer state, such as this: https://github.com/AFLplusplus/LibAFL/blob/4d3c6a3b9af1469dd253f2cc154822497b25b107/libafl/src/inputs/encoded.rs#L199

In this example, token mutations is builds up a mapping of tokens to ids internally, so deserializing with a different mapping will lead to useless inputs.
This means that sharing inputs right now may be broken for some input types.

In contrast to `to_file` we don't need to optimize storage size, for example, but speed of transfer / low amount of reruns.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。