/src/sys/external/bsd/compiler_rt/dist/lib/asan/ |
asan_interceptors.cc | 382 uptr from_length = REAL(strlen)(from); local in function:DEFINE_REAL 383 ASAN_READ_RANGE(ctx, from, from_length + 1); 386 ASAN_WRITE_RANGE(ctx, to + to_length, from_length + 1); 389 // to_length + from_length + 1. 390 if (from_length > 0) { 391 CHECK_RANGES_OVERLAP("strcat", to, from_length + to_length + 1, 392 from, from_length + 1); 403 uptr from_length = MaybeRealStrnlen(from, size); local in function:INTERCEPTOR 404 uptr copy_length = Min(size, from_length + 1); 408 ASAN_WRITE_RANGE(ctx, to + to_length, from_length + 1) [all...] |
asan_interceptors.cc | 382 uptr from_length = REAL(strlen)(from); local in function:DEFINE_REAL 383 ASAN_READ_RANGE(ctx, from, from_length + 1); 386 ASAN_WRITE_RANGE(ctx, to + to_length, from_length + 1); 389 // to_length + from_length + 1. 390 if (from_length > 0) { 391 CHECK_RANGES_OVERLAP("strcat", to, from_length + to_length + 1, 392 from, from_length + 1); 403 uptr from_length = MaybeRealStrnlen(from, size); local in function:INTERCEPTOR 404 uptr copy_length = Min(size, from_length + 1); 408 ASAN_WRITE_RANGE(ctx, to + to_length, from_length + 1) [all...] |