More correct elf loader (#1839)
* ELF File: more robust section loader * ELF File: faster and smaller preinit, init and fini arrays handling * ELF File: load sections on preload stage * ELF File: naming * Furi: fix use after free in thread join Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
		| @@ -70,6 +70,7 @@ static bool fap_loader_run_selected_app(FapLoader* loader) { | ||||
|     do { | ||||
|         file_selected = true; | ||||
|         loader->app = flipper_application_alloc(loader->storage, &hashtable_api_interface); | ||||
|         size_t start = furi_get_tick(); | ||||
|  | ||||
|         FURI_LOG_I(TAG, "FAP Loader is loading %s", furi_string_get_cstr(loader->fap_path)); | ||||
|  | ||||
| @@ -99,6 +100,7 @@ static bool fap_loader_run_selected_app(FapLoader* loader) { | ||||
|             break; | ||||
|         } | ||||
|  | ||||
|         FURI_LOG_I(TAG, "Loaded in %ums", (size_t)(furi_get_tick() - start)); | ||||
|         FURI_LOG_I(TAG, "FAP Loader is staring app"); | ||||
|  | ||||
|         FuriThread* thread = flipper_application_spawn(loader->app, NULL); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user