retdec
Namespaces | Macros | Functions
main_detection.cpp File Reference

Detect main function. More...

#include <algorithm>
#include <cstdint>
#include <llvm/IR/Operator.h>
#include "retdec/bin2llvmir/optimizations/main_detection/main_detection.h"
#include "retdec/bin2llvmir/providers/asm_instruction.h"
#include "retdec/bin2llvmir/utils/debug.h"
#include "retdec/bin2llvmir/utils/ir_modifier.h"
#include "retdec/bin2llvmir/utils/llvm.h"

Namespaces

 retdec
 
 retdec::bin2llvmir
 

Macros

#define debug_enabled   false
 

Functions

static RegisterPass< MainDetection > retdec::bin2llvmir::X ("retdec-main-detection", "Main function identification optimization", false, false)
 

Detailed Description

Detect main function.

Macro Definition Documentation

◆ debug_enabled

#define debug_enabled   false