microsoft / microsoft/CLRInstrumentationEngine
Return byte array of entire re-written method in OnInstrumentationComplete callback
Open
Nobody has claimed this yet.
task
- Dominant language
- C++
- Stars
- 102
- Forks
- 52
- Avg merge
- 13h 11m
- Merged PRs (30d)
- 6
Description
After re-writing a method using the InstrumentMethod callback, it should be possible to get the entire method's IL bytes as an array in the OnInstrumentationComplete callback for validation and debugging purposes.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the InstrumentMethod and OnInstrumentationComplete callback entry points and how rewritten method IL is represented between them. Define the callback output so it contains the entire rewritten method as a byte array; done means callers can retrieve those bytes for validation and debugging.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100