Git Product home page Git Product logo

dalvik's People

Contributors

atk avatar gnieto avatar razican avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dalvik's Issues

Unknown data between `class_defs` and `data`

Seems that there is some unknown data between the class_defs section and the data section. For example, the test file has 76,792 bytes of unknown data. We should understand what this is and try to parse it.

Use new Cargo.toml keywords

We are not taking advantage of the new Cargo.toml keywords, we should add them. This is the list of keywords we should add in the [badges] section:

  • codecov = { repository = "...", branch = "master", service = "github" }: Adds Codecov coverage report for the project.
  • is-it-maintained-issue-resolution = { repository = "..." }: Adds information about issue resolution time.
  • is-it-maintained-open-issues = { repository = "..." }: Adds information about open issues.
  • maintenance = { status = "..." }: Adds information about the current maintenance status. Options are actively-developed, passively-maintained, as-is, none, experimental, looking-for-maintainer and deprecated. I would propose experimental, but suggestions are welcome. Maybe one day we can move it to actively-developed ;)

For more information, check the Package metadata section in the Cargo documentation.

Add tests for parsers

Currently we only have big integration tests (that still do not pass for not being implemented), but no tests for small element parsers. We need those to verify correctness.

Implement parsers for different item types

Here is the tracking issue for parser implementations:

  • Header
  • StringIdList
  • TypeIdList
  • PrototypeIdList
  • FieldIdList
  • MethodIdList
  • ClassDefList
  • Map
  • TypeList
  • AnnotationSetList
  • AnnotationSet
  • ClassData
  • Code - No bytecode parsing yet.
  • StringData
  • DebugInfo
  • Annotation
  • EncodedArray
  • AnnotationsDirectory

New in version 038:

  • call_site_id_item
  • method_handle_item
  • Values for method handles and method types.

Consider switching to nom for easier parser creation

nom is a parser combinator crate which makes parsing binary formats quite easy.

I was thinking about starting a dex parser using it, but your project already exists so it’d be better to just contribute; if you are fine with this new dependency I will try to migrate the existing parsers.

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.