# dynamic-binary-instrumentation

Published articles for dynamic-binary-instrumentation.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Binary rewriting with syzygy, Pt. I

DevFeed: [Binary rewriting with syzygy, Pt. I](<https://devfeed.tech/articles/binary-rewriting-with-syzygy-pt-i-39702.md>)

Original publisher: [Read original article](<https://doar-e.github.io/blog/2017/08/05/binary-rewriting-with-syzygy/>)

Author: Axel "0vercl0k" Souchet

Published: 2017-08-05T23:08:00Z

Content type: tutorial

Language: en

Sources: [Diary of a reverse-engineer](<https://devfeed.tech/sources/diary-of-a-reverse-engineer.md>)

Topics: [Instrumentation](<https://devfeed.tech/topics/instrumentation.md>), [toolchain](<https://devfeed.tech/topics/toolchain.md>), [MSVC](<https://devfeed.tech/topics/msvc.md>), [x86](<https://devfeed.tech/topics/x86.md>), [C++](<https://devfeed.tech/topics/c-plus-plus.md>), [function](<https://devfeed.tech/topics/function.md>), [Chromium](<https://devfeed.tech/topics/chromium.md>)

Tags: [binaries](<https://devfeed.tech/tags/binaries.md>), [binary-rewriting](<https://devfeed.tech/tags/binary-rewriting.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [chromium](<https://devfeed.tech/tags/chromium.md>), [dynamic-binary-instrumentation](<https://devfeed.tech/tags/dynamic-binary-instrumentation.md>), [instrumentation](<https://devfeed.tech/tags/instrumentation.md>), [intel](<https://devfeed.tech/tags/intel.md>), [misc](<https://devfeed.tech/tags/misc.md>), [msvc](<https://devfeed.tech/tags/msvc.md>), [program-analysis](<https://devfeed.tech/tags/program-analysis.md>), [syzygy](<https://devfeed.tech/tags/syzygy.md>)

### AI overview

This introductory article presents Syzygy, Google's transformation tool chain for statically instrumenting PE images. It outlines the framework's capabilities and limitations and introduces analysis and transformation passes, including call-graph generation and rewriting functions in /GS-protected binaries.

### Source excerpt

Introduction Binary instrumentation and analysis have been subjects that I have always found fascinating. At compile time via clang, or at runtime with dynamic binary instrumentation frameworks like Pin or DynamoRIO. One thing I have always looked for though, is a framework able to statically instrument a PE image. A ...

## Some thoughts about code-coverage measurement with Pin

DevFeed: [Some thoughts about code-coverage measurement with Pin](<https://devfeed.tech/articles/some-thoughts-about-code-coverage-measurement-with-pin-39689.md>)

Original publisher: [Read original article](<https://doar-e.github.io/blog/2013/08/31/some-thoughts-about-code-coverage-measurement-with-pin/>)

Author: Axel "0vercl0k" Souchet

Published: 2013-09-01T01:57:00Z

Content type: tutorial

Language: en

Sources: [Diary of a reverse-engineer](<https://devfeed.tech/sources/diary-of-a-reverse-engineer.md>)

Topics: [test-coverage](<https://devfeed.tech/topics/test-coverage.md>), [Reverse Engineering](<https://devfeed.tech/topics/reverse-engineering.md>), [Code](<https://devfeed.tech/topics/code.md>), [Fuzzing/Fuzz testing](<https://devfeed.tech/topics/fuzzing.md>), [JSON](<https://devfeed.tech/topics/json.md>), [intel](<https://devfeed.tech/topics/intel.md>), [Windows](<https://devfeed.tech/topics/windows.md>), [x86](<https://devfeed.tech/topics/x86.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [code-coverage](<https://devfeed.tech/tags/code-coverage.md>), [dynamic-binary-instrumentation](<https://devfeed.tech/tags/dynamic-binary-instrumentation.md>), [fuzzing](<https://devfeed.tech/tags/fuzzing.md>), [intel](<https://devfeed.tech/tags/intel.md>), [json](<https://devfeed.tech/tags/json.md>), [misc](<https://devfeed.tech/tags/misc.md>), [reverse-engineering](<https://devfeed.tech/tags/reverse-engineering.md>)

### AI overview

This tutorial explains how to build an Intel Pin tool for comparing code coverage across executions of reverse-engineered binaries. The proposed tool records executed basic blocks and instruction counts, then produces JSON reports that can be analyzed with Python scripts.

### Source excerpt

Introduction Sometimes, when you are reverse-engineering binaries you need somehow to measure, or just to have an idea about how much "that" execution is covering the code of your target. It can be for fuzzing purpose, maybe you have a huge set of inputs (it can be files, network traffic ...