namespace X86Disassembler.Analysers;
///
/// Represents a disassembled function with its control flow graph
///
public class AsmFunction
{
///
/// The starting address of the function
///
public ulong Address { get; set; }
///
/// The list of basic blocks that make up the function
///
public List Blocks { get; set; } = [];
public override string ToString()
{
return $"{Address:X8}\n{string.Join("\n", Blocks)}";
}
}