runtime loader: Export get_executable_architecture() function
Given a path of an ELF file, it tries to determine its architecture.
This commit is contained in:
@@ -41,6 +41,8 @@ struct rld_export {
|
||||
image_id* _imageID, char** _imagePath, char** _symbolName,
|
||||
int32* _type, void** _location);
|
||||
status_t (*test_executable)(const char *path, char *interpreter);
|
||||
status_t (*get_executable_architecture)(const char *path,
|
||||
const char** _architecture);
|
||||
status_t (*get_next_image_dependency)(image_id id, uint32 *cookie,
|
||||
const char **_name);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user