mirror of
https://github.com/ZuneDev/ZuneUIXTools.git
synced 2026-07-27 13:11:59 -07:00
Mark disassembled object section with label
This commit is contained in:
@@ -54,6 +54,10 @@ public class Disassembler
|
||||
{
|
||||
var reader = _loadResult.ObjectSection;
|
||||
|
||||
// Insert a label to mark the start of the object section.
|
||||
// In the future, this might use a special directive like `.section object`
|
||||
yield return new Label("code");
|
||||
|
||||
while (reader.CurrentOffset < reader.Size)
|
||||
{
|
||||
var opCode = (OpCode)reader.ReadByte();
|
||||
|
||||
Reference in New Issue
Block a user