ECMA-335 playground.
reemit's Introduction
reemit's People
Forkers
john-leitchreemit'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
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.
Ensure every metadata table has a parsing test
- FieldRow
- ModuleRow
- TypeDefRow
- TypeRefRow
Show methods in Module Explorer Tree
Create a type facilitating reading PE structures described by data directories
Inspired by this comment under my recent PR. It would be nice to have a helper type/method allowing to read PE data structures described by data directories by providing data structure name--for example, ClrHeader. For a list of all PE data directories describing PE sections, see docs.
Research what are the next steps to read method bodies
We need to have our own equivalent of MethodBase.GetMethodBody. Research has to be done to find out what are the next steps to be able to read method bodies.
This ticket tracks ongoing work to implement such functionality.
Separate metadata tables reading logic from the actual data types
It would be nice to separate metadata tables reading logic from types holding the actual data. This way, the = null!
nullability warning silencer hack could be avoided when declaring properties of reference type.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.