Function r_core::r_codemeta_print[][src]

pub unsafe extern "C" fn r_codemeta_print(
    code: *mut RCodeMeta,
    line_offsets: *mut RVector
)
Expand description

@brief Prints the decompiled code from the specified RAnnotatedCode.

This function is used for printing the output of commands pdg and pdgo. It can print the decompiled code with or without offsets. If line_offsets is a null pointer, the output will be printed without offsets (pdg), otherwise, the output will be printed with offsets. This function will print the output in console using the function r_cons_printf();

@param code Pointer to a RAnnotatedCode. @param line_offsets Pointer to a @ref RVector that contains offsets for the decompiled code.