LIEF: Library to Instrument Executable Formats Version 1.0.0
Loading...
Searching...
No Matches
assembler.hpp File Reference
#include <LIEF/visibility.h>
#include <vector>
#include "LIEF/asm/AssemblerConfig.hpp"
Include dependency graph for assembler.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  llvm
namespace  LIEF
 LIEF namespace.
namespace  LIEF::runtime

Functions

std::vector< uint8_t > LIEF::runtime::assemble (uint64_t addr, const std::string &Asm, assembly::AssemblerConfig &config=assembly::AssemblerConfig::default_config())
 Assemble the provided assembly code at the specified (absolute) virtual address.
std::vector< uint8_t > LIEF::runtime::assemble (uint64_t address, const llvm::MCInst &inst)
 Assemble the provided LLVM MCInst instruction at the specified (absolute) virtual address and return the generated assembly bytes.
std::vector< uint8_t > LIEF::runtime::assemble (uint64_t address, const std::vector< llvm::MCInst > &insts)
 Assemble the provided sequence of LLVM MCInst instructions at the specified (absolute) virtual address and return the generated assembly bytes.