Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

BogusControlFlow

Zhang edited this page Dec 12, 2018 · 1 revision

Hikari's BogusControlFlow is an improved version of Obfuscator-LLVM 's implementation.Main difference being OLLVM's BranchingCondition is hard-coded and always evaluates to true. Hikari's implementation is dynamically-generated and much less predictable. Plus,for the second pseudo branching instruction, Hikari jumps to a random Basic Block instead to avoid pattern recognition. Also, Hikari fixed a small and obscure bug in the original implementation usually hidden by the RNG god.
The original wiki page is available at https://github.com/obfuscator-llvm/obfuscator/wiki/Bogus-Control-Flow , however note the options have changed in Hikari

Options

-bcf_cond_compl

This value determines the complexity used as the branching condition.

-bcf_prob

Choose the probability [%] each basic blocks will be obfuscated by the -bcf pass

-bcf_loop

Choose how many time the -bcf pass loop on a function