From 338c728cdf428c8c85bf1b8a0076234a2d0f8570 Mon Sep 17 00:00:00 2001 From: Oxore Date: Fri, 15 Mar 2024 23:14:40 +0300 Subject: Add an image describing the main use case pipeline --- Readme.md | 2 + pipeline.svg | 720 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 722 insertions(+) create mode 100644 pipeline.svg diff --git a/Readme.md b/Readme.md index 18896d6..83c8001 100644 --- a/Readme.md +++ b/Readme.md @@ -11,6 +11,8 @@ incompatible assembly listing, or it is not the same as original binary after translation into machine code. So I decided to build my own disassembler, that will do exactly what I need with full control over the process and maybe more. +![A typical use case flow][pipeline.svg] + ## Build To build this project, you will need CMake and some modern C++ compiler like GCC diff --git a/pipeline.svg b/pipeline.svg new file mode 100644 index 0000000..637ed14 --- /dev/null +++ b/pipeline.svg @@ -0,0 +1,720 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + m68k-disasm + m68k*-*-*-as + m68k*-*-*-ld + + + m68k*-*-*-objcopy + + m68k*-*-*-objcopy + output.S + output.o + output.ld + input.elf + trace-table.txt + input.bin + output.elf + output.bin + + + + + + + + + + + + + + + + cmp input.bin output.bin$? == 0 + + input.bin and output.bin areidentical, no matter what! + + You may want to pass an ELF file (input.elf) as an input to keep ELF symbols in the disassembly or just use a plain ROM binary (input.bin). + + Main use case flow + + -- cgit v1.2.3