Skip to content

Commit

Permalink
#102 improve error logging for macos image slide
Browse files Browse the repository at this point in the history
  • Loading branch information
fdefelici committed Jun 18, 2024
1 parent 99da1b3 commit 7c68c4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion clove-unit.h
Original file line number Diff line number Diff line change
Expand Up @@ -3880,7 +3880,8 @@ int __clove_symbols_macos_open_module_handle(const char* module_abs_path, __clov
out_module->size = st.st_size;
bool found = __clove_symbols_macos_image_slide(module_abs_path, &out_module->address);
if (!found) {
puts("cannot find image slide");
//TODO: add logging api like __clove_log_erro(frmt, args)
printf("[ERRO] cannot find image slide for: %s", module_abs_path);
return 4;
}
return 0;
Expand Down

0 comments on commit 7c68c4b

Please sign in to comment.