ΒΆLLVMMemoryBufferRef LLVMBinaryCopyMemoryBuffer(
    LLVMBinaryRef BR)

Description

Retrieves a copy of the memory buffer associated with this object file. The returned buffer is merely a shallow copy and does not own the actual backing buffer of the binary. Nevertheless, it is the responsibility of the caller to free it with \c LLVMDisposeMemoryBuffer.

Declared at: llvm/include/llvm-c/Object.h:97

Parameters

LLVMBinaryRef BR