147 const char **LocalFile TEMU_NONNULL,
148 const char **Symbol TEMU_NONNULL,
180 const char **LocalFile TEMU_NONNULL,
181 const char **Symbol TEMU_NONNULL,
198 const char *FuncName TEMU_NONNULL,
199 uint64_t *Addr TEMU_NONNULL,
218 const char *FileName TEMU_NONNULL,
219 const char *FuncName TEMU_NONNULL,
220 uint64_t *Addr TEMU_NONNULL,
221 uint64_t *Size TEMU_NONNULL);
237 const char *ObjectName TEMU_NONNULL,
238 uint64_t *Addr TEMU_NONNULL,
239 uint64_t *Size TEMU_NONNULL);
257 const char *FileName TEMU_NONNULL,
258 const char *ObjectName TEMU_NONNULL,
259 uint64_t *Addr TEMU_NONNULL,
260 uint64_t *Size TEMU_NONNULL);
293 const char *FuncName,
294 uint64_t *Start, uint64_t *End);
298 const char *FuncName,
TEMU_API int temu_loadDebugInfo(const char *File, temu_DebugInfoCtxt **DICtxt)
Loads a debug info context from the given file.
TEMU_API int temu_debugGetEntryPoint(temu_DebugInfoCtxt *DICtxt, const char *FuncName, uint64_t *Entry)
TEMU_API int temu_loadSymtab(const char *FileName, temu_Symtab **Sym TEMU_NONNULL)
Loads the symbol table from a given ELF file.
TEMU_API void temu_disposeDebugInfo(temu_DebugInfoCtxt *DICtxt)
Delete loaded debug info.
TEMU_API void temu_disposeSymtab(temu_Symtab *Sym)
Dispose (deallocate) the symbol table.
TEMU_API void TEMU_API void __attribute__((deprecated))
TEMU_API int temu_loadSrecImageAndStartAddr(void *Mem, const char *FileName, uint32_t *StartAddr TEMU_NONNULL)
TEMU_API int temu_imageIsELF(const char *file)
Return non-zero if file is an ELF file.
TEMU_API int temu_loadBinaryImage(void *mem, const char *file, uint64_t pa)
Loads a raw binary image to the memory object at the given address.
TEMU_API void temu_symtabGetFuncName(temu_Symtab *Sym TEMU_NONNULL, const char **LocalFile TEMU_NONNULL, const char **Symbol TEMU_NONNULL, uint64_t Addr)
Get the function name associated with the given address.
TEMU_API int temu_symtabGetLocalObjRange(temu_Symtab *Sym TEMU_NONNULL, const char *FileName TEMU_NONNULL, const char *ObjectName TEMU_NONNULL, uint64_t *Addr TEMU_NONNULL, uint64_t *Size TEMU_NONNULL)
Get the range of a local/static object.
TEMU_API int temu_loadElfImage(void *mem, const char *file, uint64_t pa)
Loads an ELF file without going through filetype detection.
TEMU_API int temu_loadImage(void *mem, const char *file)
Loads a binary image to the memory object.
TEMU_API int temu_symtabGetLocalFuncRange(temu_Symtab *Sym TEMU_NONNULL, const char *FileName TEMU_NONNULL, const char *FuncName TEMU_NONNULL, uint64_t *Addr TEMU_NONNULL, uint64_t *Size TEMU_NONNULL)
Get the range of a local/static function.
TEMU_API int temu_loadImageAndStartAddr(void *Mem, const char *FileName, uint64_t *StartAddr TEMU_NONNULL)
Loads a binary image to the memory object.
TEMU_API int temu_loadElfImageAndStartAddr(void *Mem, const char *FileName, uint64_t *StartAddr TEMU_NONNULL)
Loads an ELF file without going through filetype detection.
TEMU_API int temu_symtabGetGlobalObjRange(temu_Symtab *Sym TEMU_NONNULL, const char *ObjectName TEMU_NONNULL, uint64_t *Addr TEMU_NONNULL, uint64_t *Size TEMU_NONNULL)
Get the range of a global object.
TEMU_API int temu_debugGetAddressRange(temu_DebugInfoCtxt *DICtxt, const char *FuncName, uint64_t *Start, uint64_t *End)
TEMU_API int temu_loadSrecImage(void *mem, const char *file, uint64_t pa)
Loads an SREC file without going through filetype detection.
TEMU_API int temu_symtabGetGlobalFuncRange(temu_Symtab *Sym TEMU_NONNULL, const char *FuncName TEMU_NONNULL, uint64_t *Addr TEMU_NONNULL, uint64_t *Size)
Get the range of a global function.
TEMU_API void temu_symtabGetObjName(temu_Symtab *Sym TEMU_NONNULL, const char **LocalFile TEMU_NONNULL, const char **Symbol TEMU_NONNULL, uint64_t Addr)
Get the object name associated with the given address.
TEMU_API int temu_loadRelocatedImage(void *mem, const char *file, uint64_t pa) __attribute__((deprecated))