utilsΒΆ

Functions

get_target_triple([arch, system])

MacOS needs pointing to libSystem compatible with 11.0, as the default is the current platform which selene components might be incompatible with.

get_undefined_symbol_from_llvm_ir_line(line)

get_undefined_symbols_from_llvm_ir_file(ir)

Extract undefined symbols from an LLVM IR file.

get_undefined_symbols_from_llvm_ir_string(ir)

Extract undefined symbols from an LLVM IR string.

get_undefined_symbols_from_object(path)

Extract undefined symbols from an object file, with help from the lief library.

invoke_zig(*args[, handle_triple, verbose])

Invoke zig with the given arguments, after conversion to strings.