use lief_ffi as ffi;
use crateAssemblerConfig;
/// Assemble the provided assembly code at the specified (absolute) virtual
/// address.
///
/// The generated assembly bytes are returned by the function.
///
/// ```rust,no_run
/// use lief::runtime;
///
/// let code = runtime::assemble(0x7f0011223344, r#"
/// xor rax, rbx;
/// mov rcx, rax;
/// "#);
/// ```
/// Same as [`assemble`] but this function takes an extra [`AssemblerConfig`]
/// that is used to configure the assembly engine: dialect, symbols definitions.