AFLplusplus / AFLplusplus/LibAFL

Implement TypeNamed to allow for consistent deserialization of metadata

未关闭
#2,131 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Rust
星标
2.6k
派生
481
平均合并
2 天 30 分钟
30 天内合并 PR
16

描述

Currently, a rebuild will potentially cause existing metadata naming to become invalid as `type_name` is unstable. This means that, between builds, metadata stored in corpora are not guaranteed to be loaded.

Instead, we should implement a trait, `TypeNamed`, which allows a structure to provide a consistent name. This should be implemented such that generic structures have different type names per monomorphisation by way of invoking `TypeNamed` implementations on its generic parameters. To be performant, this function should accept a `Write` type (e.g. `Vec`) and recursively invoke children.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。