Skip to content

Conversation

rmalmain
Copy link
Member

No description provided.

], default-features = false } # A faster hashmap, nostd compatible
num-traits = { workspace = true, default-features = false }
serde = { workspace = true, features = ["alloc"] } # serialization lib
serde = { workspace = true, features = ["alloc", "rc"] } # serialization lib
Copy link
Member

Choose a reason for hiding this comment

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

They warn against adding rc

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

they just say it will clone the inner data, i don't think it's a problem for us

@tokatoka tokatoka added this to the LibAFL 1.0 milestone Apr 28, 2025
@domenukk
Copy link
Member

domenukk commented May 27, 2025

One big thing we may need to address for corpus at some point is that we now keep all metadata in memory at all times.
Maybe metadata should (optionally?) be treated and cached like part of the testcase, instead

@rmalmain
Copy link
Member Author

One big thing we may need to address for corpus at some point is that we now keep all metadata in memory at all times. Maybe metadata should (optionally?) be treated and cached like part of the testcase, instead

it is partially done this way in the patch.
but the metadata is attached to the testcase for now, so if the testcase gets flushed from the cache, the metadata will be flushed as well.
i don't know if we should keep all the metadata in memory all the time, idk if the size of metadata can explode as well

rename testcase metadata cell trait.
cache dirty cell writeback implementation.
implemented cache policies.
continue adapting new corpus stuff for more code.
add generic add function to corpus / store.
@rmalmain rmalmain requested a review from tokatoka September 19, 2025 13:03
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.

3 participants