Giter VIP home page Giter VIP logo

gexto's People

Stargazers

Jeremy Price avatar  avatar Axel Etcheverry avatar Brendon Carroll avatar  avatar Phaneron avatar Haikal Zain avatar Abanoub Hanna avatar Denys Sedchenko avatar  avatar José Luis Macedo avatar  avatar KAYUII avatar Yige avatar Dawid Pogorzelski avatar Gaurav Gogia avatar Chris Lin avatar zbv avatar Meng Zhuo avatar Fuwn avatar fanbingxin avatar Matt Niedelman avatar  avatar George Pantazis avatar  avatar  avatar 5l1v3r1 avatar Masahiro331 avatar Alexander Pantyukhin avatar Ayami Shunka avatar Jonas Köritz avatar Hal Heisler avatar Tom avatar Burak Sezer avatar Vasiliy Tolstov avatar Sergio Rubio avatar Ayush Ranjan avatar  avatar Yijun Zhao avatar Lucas Käldström avatar

Watchers

Vasiliy Tolstov avatar James Cloos avatar Sam Lancia avatar

gexto's Issues

Extent Traversal Logic

I think the implemented extent traversal logic is incorrect.
This is not documented anywhere but ext4_extent_idx structs after the ext4_extent_header are sorted by the ei_block.

The current logic picks the ext4_extent_idx which satisfies ext4_extent_idx.ei_block < file_block_no but that will always choose the first ext4_extent_idx struct. This will lead to incorrect results for larger files.

The linux kernel implementation does a binary search: look at ext4_ext_binsearch_idx.

how safe is it

i don't want to use it in production data, but only for newly created vm images. But do you have some expensive tests for all functions to guarantee data safety?

Support 256 inode size

Hi,

Thanks for this great library!
How easy/hard would it be to start supporting 256 inode size instead of only 128?
That'd be awesome to have

Cheers!

Add LICENSE

Hey!
Great project! It is a really interesting implementation of ext2/3/4. I was planning on integrating your project into something I am working on. It would be great if you could a license so I could use it.

Usually the MIT or Apache 2.0 are good enough.

Block Group Descriptor Size

You should be using sb.s_desc_size if sb.s_rev_level == 1 and 32 if ifsb.s_rev_level == 0` over here because in ext4 the block group descriptor could be larger.

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.