mirror of
https://github.com/Colton1skees/Dna
synced 2026-06-21 13:42:09 +00:00
36 lines
877 B
C#
36 lines
877 B
C#
using Dna.Binary;
|
|
using Dna.Reconstruction;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Dna
|
|
{
|
|
public class Dna : IDna
|
|
{
|
|
/// <summary>
|
|
/// <see cref="IDna.Binary"/>
|
|
/// </summary>
|
|
public IBinary Binary { get; }
|
|
|
|
/// <summary>
|
|
/// <see cref="IDna.BinaryDisassembler"/>
|
|
/// </summary>
|
|
public BinaryDisassembler BinaryDisassembler { get; }
|
|
|
|
/// <summary>
|
|
/// <see cref="IDna.RecursiveDescent"/>
|
|
/// </summary>
|
|
public ICfgReconstructor RecursiveDescent { get; }
|
|
|
|
public Dna(IBinary binary)
|
|
{
|
|
Binary = binary;
|
|
BinaryDisassembler = new BinaryDisassembler(binary);
|
|
RecursiveDescent = new RecursiveDescentReconstructor(this);
|
|
}
|
|
}
|
|
}
|