Lines Matching defs:file

376 		LD_LOGE("init_namespace ini file parse failed!");
377 /* Init_default_namespace is required even if the ini file parsing fails */
385 /* sys_path needs to be parsed through ini file */
1562 LD_LOGE("Xpm check failed for so file, errno for mmap is: %{public}d", errno);
1744 /* use map_len to mmap correct space for the dso with file mapping */
1776 /* If the loaded file is not relocatable and the requested address is
2054 /* Use ini file's system paths when Asan is not enabled */
2058 /* Use ini file's asan system paths when the Asan is enabled
2137 /* Find loaded so by file stat */
2219 LD_LOGD("load_library is_accessible return true, open file fd:%{public}d .", fd);
3284 /* Init all namespaces by config file. there is a default namespace always*/
3553 const char *file, int mode, const char *namespace, const void *caller_addr, const dl_extinfo *extinfo)
3581 if (!file) {
3582 LD_LOGD("dlopen_impl file is null, return head.");
3588 char *place = strstr(file, LIB);
3590 int ret = snprintf(asan_file, sizeof asan_file, "%.*s/asan%s", (int)(place - file), file, place);
3593 file = asan_file;
3620 trace_marker_begin(HITRACE_TAG_MUSL, "dlopen: ", file);
3692 task = create_loadtask(file, head, ns, true);
3697 trace_marker_begin(HITRACE_TAG_MUSL, "loading: entry so", file);
3703 file);
3717 file);
3752 trace_marker_begin(HITRACE_TAG_MUSL, "loading: entry so", file);
3753 p = load_library(file, head, ns, true, reserved_address ? &reserved_params : NULL);
3760 file);
3892 void *dlopen(const char *file, int mode)
3897 LD_LOGI("dlopen file:%{public}s, mode:%{public}x ,caller_addr:%{public}p .", file, mode, caller_addr);
3898 return dlopen_impl(file, mode, NULL, caller_addr, NULL);
3950 void *dlopen_ns(Dl_namespace *dlns, const char *file, int mode)
3959 LD_LOGI("dlopen_ns file:%{public}s, mode:%{public}x , caller_addr:%{public}p , dlns->name:%{public}s.",
3960 file,
3964 return dlopen_impl(file, mode, dlns->name, caller_addr, NULL);
3967 void *dlopen_ns_ext(Dl_namespace *dlns, const char *file, int mode, const dl_extinfo *extinfo)
3976 LD_LOGI("dlopen_ns_ext file:%{public}s, mode:%{public}x , caller_addr:%{public}p , "
3978 file,
3983 return dlopen_impl(file, mode, dlns->name, caller_addr, extinfo);
4849 void* dlopen_ext(const char *file, int mode, const dl_extinfo *extinfo)
4856 LD_LOGE("Error dlopen_ext %{public}s: invalid flag %{public}x", file, extinfo->flag);
4860 LD_LOGI("dlopen_ext file:%{public}s, mode:%{public}x , caller_addr:%{public}p , extinfo->flag:%{public}x",
4861 file,
4865 return dlopen_impl(file, mode, NULL, caller_addr, extinfo);
4933 /* Used to get an uncompress library offset in zip file, then we can use the offset to mmap the library directly. */
4957 LD_LOGD("Open uncompressed library: input path: %{public}s, zip file path: %{public}s, library path: %{public}s.",
4960 // Get zip file length
4973 LD_LOGE("Open uncompressed library: get zip file length failed.");
5008 LD_LOGE("Open uncompressed library: fread file name failed.");
5013 // Read local file header.
5015 LD_LOGE("Open uncompressed library: fseek local file header failed.");
5020 LD_LOGE("Open uncompressed library: fread local file header failed.");
5025 LD_LOGE("Open uncompressed library: read local file header signature error.");
5034 "compress method %{public}d, file offset %{public}lu",
5141 * The value of file_offset may be greater than 0 when opening library from zip file.
5367 /* use map_len to mmap correct space for the dso with file mapping */
5401 /* If the loaded file is not relocatable and the requested address is
5595 LD_LOGE("Open uncompressed library in zip file failed, name:%{public}s res:%{public}d", name, res);
5677 LD_LOGE("Error loading header %{public}s: failed to get file state errno=%{public}d", task->name, errno);
6057 LD_LOGE("Error mapping relro %{public}s: failed to get file state", dso->name);
6075 LD_LOGE("Error mapping relro %{public}s: invalid file size", dso->name);