probably should be: ~~~ if (MainFunc) createDecodeStubBlock(MainFunc, DecodeStub); ~~~ https://github.com/tsarpaul/llvm-string-obfuscator/blob/22c57d5b29063d2348da6a24a5cd507e28d9ecb3/StringObfuscator/StringObfuscator.cpp#L207