Home
last modified time | relevance | path

Searched refs:old_env_len (Results 1 – 1 of 1) sorted by relevance

/external/compiler-rt/lib/asan/
Dasan_mac.cc108 uptr old_env_len = dyld_insert_libraries ? in MaybeReexec() local
124 new_env = (char*)allocator_for_env.Allocate(old_env_len + fname_len + 2); in MaybeReexec()
125 internal_strncpy(new_env, dyld_insert_libraries, old_env_len); in MaybeReexec()
126 new_env[old_env_len] = ':'; in MaybeReexec()
128 internal_strncpy(new_env + old_env_len + 1, info.dli_fname, in MaybeReexec()
159 old_env_len + 2 + env_name_len); in MaybeReexec()
161 internal_memset(new_env, '\0', old_env_len + 2 + env_name_len); in MaybeReexec()
169 char *old_env_end = dyld_insert_libraries + old_env_len; in MaybeReexec()
173 if (!piece_end) piece_end = dyld_insert_libraries + old_env_len; in MaybeReexec()
174 if ((uptr)(piece_start - dyld_insert_libraries) > old_env_len) break; in MaybeReexec()