Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Disassemble command improvements #71
I have been using part of the code of msos to display the disassembly code for BenchmarkDotNet and I have realized, that always the last line of source code was printed.
The bug fix was trivial: when you find smaller distance, set the current distance to it. So far the value of distance was always int.Max, so the value of
I also added more defensive way of looking for the source lines in the file, which can handle "nop" (clrmd reports some another magic number for it)
I implemented the support for printing epilogue. It looks like always the first element of