Giter Club home page Giter Club logo

Comments (7)

ptdropper avatar ptdropper commented on July 20, 2024 1

I am taking a look at the several discussions on this topic to learn about the issues and desired enhancement.

from boofuzz.

bsmelo avatar bsmelo commented on July 20, 2024

[First of all: Is it better to discuss this issue here or on the mailing list thread?]

I really need this feature, and I'm thinking about giving it a shot in the next few days. I saw some directions on the code I'd need to touch on the mail, so I'll start trying to implement it.

I've tried the sulley_l2 pointed out in the mail thread as well, but it gives me the same packet here (with padded bitfields).

from boofuzz.

jtpereyda avatar jtpereyda commented on July 20, 2024

from boofuzz.

winter3angle avatar winter3angle commented on July 20, 2024

This one will be really useful. As a solution we could somewhat combine two bitfields with shift and or.
The algo may be quite simple, assume that FIRST and SECOND is a bitfields then we can combine it just like that:

FIRST << 8 - FIRST.width | SECOND

will work if FIRST and SECOND is a big-endian bitfields

from boofuzz.

jtpereyda avatar jtpereyda commented on July 20, 2024

@ptdropper Feel free to drop any discussion Qs here. Cheers!

from boofuzz.

ptdropper avatar ptdropper commented on July 20, 2024

I spent time digging into the code and I cannot see that it has the ability to support bit field manipulation. I also see the strong potential for user disagreement on endianess interpretation so to make this work there needs to be some clear definitions on which bit we are manipulating. So - I am concerned that this may be a fruitless effort. I need some advice from this group and discussion on what we could hope to achieve.
Thanks for the reminder! I look forward to keeping this discussion going.
Currently my open source contribution time is being used on my other open source project: https://github.com/CycloneDX/cyclonedx-buildroot which is making progress as a new project.

from boofuzz.

jtpereyda avatar jtpereyda commented on July 20, 2024

@ptdropper This is not a trivial change at the moment, certainly, but the requirements are basically to allow BitField to take a number of bits not divisible by 8. What questions about endianness do you have in mind?

from boofuzz.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.