retdec
|
Decodes specified bytes to LLVM IR using capstone2llvmir library. More...
#include <iomanip>
#include <keystone/keystone.h>
#include <llvm/IR/Module.h>
#include <llvm/Support/FileSystem.h>
#include <llvm/Support/raw_ostream.h>
#include "retdec/common/address.h"
#include "retdec/utils/conversion.h"
#include "retdec/utils/string.h"
#include "retdec/utils/io/log.h"
#include "retdec/capstone2llvmir/capstone2llvmir.h"
Classes | |
class | ProgramOptions |
Functions | |
void | printVersion () |
ks_arch | capstoneArchToKeystoneArch (cs_arch a) |
ks_mode | capstoneModeBasicToKeystoneMode (cs_arch a, cs_mode m) |
ks_mode | capstoneModeExtraToKeystoneMode (cs_arch a, cs_mode m) |
void | assemble (ProgramOptions &po) |
int | main (int argc, char *argv[]) |
Variables | |
std::vector< uint8_t > | CODE = retdec::utils::hexStringToBytes("80 05 78 56 34 12 11 00") |
Decodes specified bytes to LLVM IR using capstone2llvmir library.
void assemble | ( | ProgramOptions & | po | ) |
Use keystone do assemble input asm into bytes that will be disassembled.
ks_arch capstoneArchToKeystoneArch | ( | cs_arch | a | ) |
ks_mode capstoneModeBasicToKeystoneMode | ( | cs_arch | a, |
cs_mode | m | ||
) |
ks_mode capstoneModeExtraToKeystoneMode | ( | cs_arch | a, |
cs_mode | m | ||
) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
void printVersion | ( | ) |
Print capstone version get by cs_version().
std::vector<uint8_t> CODE = retdec::utils::hexStringToBytes("80 05 78 56 34 12 11 00") |