Binary Diffing for IES
Go to file
DataHoarder 8fe32572d1 Compile using multiple threads 2021-10-28 03:35:32 +02:00
docker Compile using multiple threads 2021-10-28 03:35:32 +02:00
output Initial project import from IES 2021-10-27 21:33:20 +02:00
.gitattributes Initial project import from IES 2021-10-27 21:33:20 +02:00
.gitignore Initial project import from IES 2021-10-27 21:33:20 +02:00
LICENSE Initial project import from IES 2021-10-27 21:33:20 +02:00
README.md Fix entrypoint branch selection 2021-10-27 21:39:43 +02:00
do-binary-diff.sh Initial project import from IES 2021-10-27 21:33:20 +02:00
do-build-as-silicom.sh Initial project import from IES 2021-10-27 21:33:20 +02:00

README.md

Build instructions for Binary Diffing

Use normal build for your own usage. The tools here are used to copy how Intel/Silicom compiles their released versions.

Requirements

  • Docker
  • patience (specific GCC build will take a while)

Usage

  • $ ./do-build-as-silicom.sh [commit]
    • Creates CentOS 6.10 container with GCC 4.4.2-7 on it, and builds IES from commit (default origin/master). Re-run to build new changes.
    • Alternatively you can build via GCC 4.4.4-10, but it has slight differences. Do this via $ GCC_VERSION=4.4.4-10.el6 ./do-build-as-silicom.sh
  • $ ./do-binary-diff.sh
    • Creates elf_diff container, and diffs produced build on first step. Grabs known Silicom .so
  • Outputs for both steps exist under ./output folder.