Skip to content

Implement optimal BufferElement packing algorithm for BufferAssignment #29

Description

@jryans

We currently just packing BufferElements tightly in the buffer based on the order we encounter them when traversing the constraints.

This strategy minimises wasted bits (bits that the fuzzer mutates that has no impact on the constraints) but it means that BufferElementss are not byte aligned. We now support byte alignment but the packing algorithm is sub-optimal. We need an algorithm to perform optimal packing of BufferElements that is

  • Byte aligned
  • Minimises wasted bits
  • Is stable (i.e. with a fixed random seed we should get the same result every time)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions