GithubHelp home page GithubHelp logo

reemit's Introduction

codecov

Reemit

ECMA-335 playground.

reemit's People

Contributors

john-leitch avatar v0idzz avatar

Stargazers

 avatar Daniel Olczyk avatar

Watchers

 avatar  avatar

Forkers

john-leitch

reemit's Issues

Extract data reading logic from constructors

Constructors, given their nameless nature, should not perform any unexpected heavy operations. I believe the I/O operations that are currently being performed in constructors should be extracted to either separate helper classes, or static factory methods.

This is in a way related to #2. That task also mentions refactoring logic of the code responsible for parsing structures.

Create a TreeView control displaying module metadata

The goal here is to have a TreeView-based control that displays the name of module as a top-level node. Module metadata can be displayed as children nodes. My suggestion is to have a hierarchy like this: <module_name> -> Metadata -> <metadata_table_name> -> <metadata_table_row_index> -> <metadata_table_row_column_name_and_value>.

Add means of lock-free module reading

For an additional performance boost, we should consider dropping the locks in SharedReader to enable parallel disassembly.
We're reading the whole file into memory, so reading it from a FileStream byte by byte doesn't make much sense now.

Handle RVA==0 in ClrMethod reader

Currently, a ClrMethod with RVA==0 will have its MaxStack set to 0 and body set to an empty array. In the future it may be necessary to set a flag on such method to distinguish it from other methods.
image

Add reading MethodDef metadata table

ECMA-335: II.22.26 MethodDef : 0x06
This will bring us closer to being able to read body of methods. In fact, the RVA column of the MethodDef table points to the COR_ILMETHOD structure.

Add reading COR_ILMETHOD

Create types enabling reading the COR_ILMETHOD structure. The goal here is to design classes to represent the layout of COR_ILMETHOD, and to add a helper (method?) that given RVA of COR_ILMETHOD, will read the struct, parse it, and return its object model representation.

Details about COR_ILMETHOD can be found in ECMA-335, §II.25.4.

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.