Home
last modified time | relevance | path

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

/external/llvm-project/compiler-rt/lib/asan/
Dasan_interceptors.cpp386 uptr from_length = REAL(strlen)(from); in DEFINE_REAL() local
387 ASAN_READ_RANGE(ctx, from, from_length + 1); in DEFINE_REAL()
390 ASAN_WRITE_RANGE(ctx, to + to_length, from_length + 1); in DEFINE_REAL()
394 if (from_length > 0) { in DEFINE_REAL()
395 CHECK_RANGES_OVERLAP("strcat", to, from_length + to_length + 1, from, in DEFINE_REAL()
396 from_length + 1); in DEFINE_REAL()
407 uptr from_length = MaybeRealStrnlen(from, size); in INTERCEPTOR() local
408 uptr copy_length = Min(size, from_length + 1); in INTERCEPTOR()
412 ASAN_WRITE_RANGE(ctx, to + to_length, from_length + 1); in INTERCEPTOR()
413 if (from_length > 0) { in INTERCEPTOR()
/external/llvm-project/compiler-rt/lib/memprof/
Dmemprof_interceptors.cpp205 uptr from_length = REAL(strlen)(from); in INTERCEPTOR() local
206 MEMPROF_READ_RANGE(from, from_length + 1); in INTERCEPTOR()
209 MEMPROF_WRITE_RANGE(to + to_length, from_length + 1); in INTERCEPTOR()
217 uptr from_length = MaybeRealStrnlen(from, size); in INTERCEPTOR() local
218 uptr copy_length = Min(size, from_length + 1); in INTERCEPTOR()
222 MEMPROF_WRITE_RANGE(to + to_length, from_length + 1); in INTERCEPTOR()
/external/compiler-rt/lib/asan/
Dasan_interceptors.cc497 uptr from_length = REAL(strlen)(from); in DEFINE_REAL() local
498 ASAN_READ_RANGE(ctx, from, from_length + 1); in DEFINE_REAL()
501 ASAN_WRITE_RANGE(ctx, to + to_length, from_length + 1); in DEFINE_REAL()
505 if (from_length > 0) { in DEFINE_REAL()
506 CHECK_RANGES_OVERLAP("strcat", to, from_length + to_length + 1, in DEFINE_REAL()
507 from, from_length + 1); in DEFINE_REAL()
518 uptr from_length = MaybeRealStrnlen(from, size); in INTERCEPTOR() local
519 uptr copy_length = Min(size, from_length + 1); in INTERCEPTOR()
523 ASAN_WRITE_RANGE(ctx, to + to_length, from_length + 1); in INTERCEPTOR()
524 if (from_length > 0) { in INTERCEPTOR()