---
id: 4560
title: "Turning Regular Code Into Atrocities With LLVM: The Return"
source_domain: blog.quarkslab.com
source_url: "https://blog.quarkslab.com/turning-regular-code-into-atrocities-with-llvm-the-return.html"
published_at: "2015-05-31T22:00:00Z"
tags: ["obfuscation", "tutorial", "llvm", "compilers", "programming", "xor"]
phying_url: "https://phying.com/item/4560"
lang: en
---

# Turning Regular Code Into Atrocities With LLVM: The Return

## Summary

LLVM obfuscation tutorial, part two: a pass that hides XOR operations by converting operands from base 2 to base 3 before adding them, turning a simple xor into a much harder-to-recognise sequence.

## Intelligence Metadata

- **Sources:** blog.quarkslab.com
- **Published:** 2015-05-31T22:00:00Z
- **Original:** https://blog.quarkslab.com/turning-regular-code-into-atrocities-with-llvm-the-return.html
- **Phying News:** https://phying.com/item/4560
