Home
last modified time | relevance | path

Searched refs:safe (Results 1 – 25 of 452) sorted by relevance

12345678910>>...19

/llvm-project-15.0.7/clang/docs/
H A DSafeStack.rst14 the safe stack and the unsafe stack. The safe stack stores return addresses,
15 register spills, and local variables that are always accessed in a safe way,
18 on the safe stack.
56 changed to look for the live pointers on both safe and unsafe stacks.
64 ``__attribute__((no_sanitize("safe-stack")))`` below).
72 are always accessed in a safe way by separating them in a dedicated safe stack
75 is always accessed in a safe way. In the current implementation, the safe stack
79 ever stored outside of the safe stack itself (see limitations below).
107 implementation in glibc), or store it in a safe region instead.
110 stronger safe stack protection mechanisms, that rely on software fault
[all …]
/llvm-project-15.0.7/clang/test/ARCMT/
H A Dcheck-api.m23 …[invok getReturnValue:&strong_id]; // expected-error {{NSInvocation's getReturnValue is not safe t…
24 …[invok getReturnValue:&weak_id]; // expected-error {{NSInvocation's getReturnValue is not safe to …
28 …[invok setReturnValue:&strong_id]; // expected-error {{NSInvocation's setReturnValue is not safe t…
29 …[invok setReturnValue:&weak_id]; // expected-error {{NSInvocation's setReturnValue is not safe to …
33 …rong_id atIndex:0]; // expected-error {{NSInvocation's getArgument is not safe to be used with an …
34 …weak_id atIndex:0]; // expected-error {{NSInvocation's getArgument is not safe to be used with an …
38 …rong_id atIndex:0]; // expected-error {{NSInvocation's setArgument is not safe to be used with an …
39 …weak_id atIndex:0]; // expected-error {{NSInvocation's setArgument is not safe to be used with an …
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/GlobalISel/
H A Dgisel-commandline-option.ll2 ; RUN: --debugify-and-strip-all-safe=0 \
7 ; RUN: --debugify-and-strip-all-safe=0 \
12 ; RUN: --debugify-and-strip-all-safe=0 \
17 ; RUN: --debugify-and-strip-all-safe=0 \
22 ; RUN: --debugify-and-strip-all-safe=0 \
27 ; RUN: --debugify-and-strip-all-safe=0 \
32 ; RUN: --debugify-and-strip-all-safe=0 \
37 ; RUN: --debugify-and-strip-all-safe=0 \
42 ; RUN: --debugify-and-strip-all-safe=0 \
47 ; RUN: --debugify-and-strip-all-safe=0 \
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/SafeStack/X86/
H A Dabi_ssp.ll1 ; RUN: opt -safe-stack -S -mtriple=i686-pc-linux-gnu < %s -o - | FileCheck --check-prefixes=COMMON,…
2 ; RUN: opt -safe-stack -S -mtriple=x86_64-pc-linux-gnu < %s -o - | FileCheck --check-prefixes=COMMO…
4 ; RUN: opt -safe-stack -S -mtriple=i686-linux-android < %s -o - | FileCheck --check-prefixes=COMMON…
5 ; RUN: opt -safe-stack -S -mtriple=i686-linux-android24 < %s -o - | FileCheck --check-prefixes=COMM…
7 ; RUN: opt -safe-stack -S -mtriple=x86_64-linux-android < %s -o - | FileCheck --check-prefixes=COMM…
9 ; RUN: opt -safe-stack -S -mtriple=x86_64-unknown-fuchsia < %s -o - | FileCheck --check-prefixes=CO…
H A Dabi.ll1 ; RUN: opt -safe-stack -S -mtriple=i386-pc-linux-gnu < %s -o - | FileCheck %s --check-prefix=TLS
2 ; RUN: opt -safe-stack -S -mtriple=x86_64-pc-linux-gnu < %s -o - | FileCheck %s --check-prefix=TLS
3 ; RUN: opt -safe-stack -S -mtriple=i686-linux-android < %s -o - | FileCheck %s --check-prefix=DIREC…
4 ; RUN: opt -safe-stack -S -mtriple=x86_64-linux-android < %s -o - | FileCheck %s --check-prefix=DIR…
H A Dcoloring.ll1 ; RUN: opt -safe-stack -safe-stack-coloring=1 -S -mtriple=i386-pc-linux-gnu < %s -o - | FileCheck %s
2 ; RUN: opt -safe-stack -safe-stack-coloring=1 -S -mtriple=x86_64-pc-linux-gnu < %s -o - | FileCheck…
H A Dconstant-gep-call.ll1 ; RUN: opt -safe-stack -S -mtriple=i386-pc-linux-gnu < %s -o - | FileCheck %s
2 ; RUN: opt -safe-stack -S -mtriple=x86_64-pc-linux-gnu < %s -o - | FileCheck %s
11 ; a safe stack protector.
H A Descape-call.ll1 ; RUN: opt -safe-stack -S -mtriple=i386-pc-linux-gnu < %s -o - | FileCheck %s
2 ; RUN: opt -safe-stack -S -mtriple=x86_64-pc-linux-gnu < %s -o - | FileCheck %s
H A Dret.ll1 ; RUN: opt -safe-stack -S -mtriple=i386-pc-linux-gnu < %s -o - | FileCheck %s
2 ; RUN: opt -safe-stack -S -mtriple=x86_64-pc-linux-gnu < %s -o - | FileCheck %s
H A Dmemintrinsic-oob-read.ll1 ; RUN: opt -safe-stack -S -mtriple=i386-pc-linux-gnu < %s -o - | FileCheck %s
2 ; RUN: opt -safe-stack -S -mtriple=x86_64-pc-linux-gnu < %s -o - | FileCheck %s
H A Daddr-taken.ll1 ; RUN: opt -safe-stack -S -mtriple=i386-pc-linux-gnu < %s -o - | FileCheck %s
2 ; RUN: opt -safe-stack -S -mtriple=x86_64-pc-linux-gnu < %s -o - | FileCheck %s
H A Descape-addr-pointer.ll1 ; RUN: opt -safe-stack -S -mtriple=i386-pc-linux-gnu < %s -o - | FileCheck %s
2 ; RUN: opt -safe-stack -S -mtriple=x86_64-pc-linux-gnu < %s -o - | FileCheck %s
H A Descape-casted-pointer.ll1 ; RUN: opt -safe-stack -S -mtriple=i386-pc-linux-gnu < %s -o - | FileCheck %s
2 ; RUN: opt -safe-stack -S -mtriple=x86_64-pc-linux-gnu < %s -o - | FileCheck %s
/llvm-project-15.0.7/llvm/test/Analysis/StackSafetyAnalysis/
H A Dlocal.ll23 ; GLOBAL-NEXT: safe accesses:
37 ; GLOBAL-NEXT: safe accesses:
52 ; GLOBAL-NEXT: safe accesses:
79 ; GLOBAL-NEXT: safe accesses:
99 ; GLOBAL-NEXT: safe accesses:
113 ; GLOBAL-NEXT: safe accesses:
130 ; GLOBAL-NEXT: safe accesses:
147 ; GLOBAL-NEXT: safe accesses:
163 ; GLOBAL-NEXT: safe accesses:
180 ; GLOBAL-NEXT: safe accesses:
[all …]
H A Dipa.ll122 ; GLOBAL-NEXT: safe accesses:
138 ; GLOBAL-NEXT: safe accesses:
154 ; GLOBAL-NEXT: safe accesses:
170 ; GLOBAL-NEXT: safe accesses:
187 ; GLOBAL-NEXT: safe accesses:
204 ; GLOBAL-NEXT: safe accesses:
220 ; GLOBAL-NEXT: safe accesses:
237 ; GLOBAL-NEXT: safe accesses:
253 ; GLOBAL-NEXT: safe accesses:
267 ; GLOBAL-NEXT: safe accesses:
[all …]
H A Dmemintrin.ll17 ; GLOBAL-NEXT: safe accesses:
33 ; GLOBAL-NEXT: safe accesses:
48 ; GLOBAL-NEXT: safe accesses:
62 ; GLOBAL-NEXT: safe accesses:
78 ; GLOBAL-NEXT: safe accesses:
94 ; GLOBAL-NEXT: safe accesses:
113 ; GLOBAL-NEXT: safe accesses:
131 ; GLOBAL-NEXT: safe accesses
148 ; GLOBAL-NEXT: safe accesses
165 ; GLOBAL-NEXT: safe accesses
[all …]
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dsignal-handler.rst6 Finds functions registered as signal handlers that call non asynchronous-safe
7 functions. Any function that cannot be determined to be an asynchronous-safe
8 function call is assumed to be non-asynchronous-safe by the checker,
17 `SIG30-C. Call only asynchronous-safe functions within signal handlers
18 <https://www.securecoding.cert.org/confluence/display/c/SIG30-C.+Call+only+asynchronous-safe+functi…
23 Selects which set of functions is considered as asynchronous-safe
33 The checker includes ``quick_exit`` in the set of safe functions.
H A Dnot-null-terminated-result.rst57 efficient than the safe version.
62 the safe version (ending with ``cpy_s``).
64 - If the new function is could be safe version and C++ files are analyzed and
68 - If the new function is could be safe version and the destination array is
80 as it is more efficient than the safe version (ending with ``cpy_s``).
104 If safe functions are available the new function is ``memmove_s``, which has
107 If safe functions are not available the given length is incremented by one.
/llvm-project-15.0.7/llvm/docs/
H A DStackSafetyAnalysis.rst10 considered 'safe' from memory access bugs.
13 unnecessary instrumentation of 'safe' variables. SafeStack is going to be the
16 'safe' variables can be defined as variables that can not be used out-of-scope
47 'unsafe' when in-fact it's 'safe'. This may lead to inefficient code. However, we
48 can't accept false 'safe' classification which may cause sanitizers to miss actual
52 as usual but additionally store stack-safe information in the
54 a 'safe' variable we can produce an additional report to let the user know that
/llvm-project-15.0.7/llvm/test/CodeGen/X86/GC/
H A Derlang-gc.ll10 ; CHECK64-NEXT: .short 1 # safe point count
11 ; CHECK64-NEXT: .long .Ltmp0 # safe point address
18 ; CHECK32-NEXT: .short 1 # safe point count
19 ; CHECK32-NEXT: .long .Ltmp0 # safe point address
/llvm-project-15.0.7/lld/test/MachO/
H A Dicf-safe.ll6 ; RUN: %lld -arch arm64 -lSystem --icf=safe -dylib -o %t/icf-safe.dylib %t/icf-obj.o
8 ; RUN: llvm-objdump %t/icf-safe.dylib -d --macho | FileCheck %s --check-prefix=ICFSAFE
12 ; RUN: %lld -arch arm64 -lSystem --icf=safe -dylib -o %t/icf-safe-bitcode.dylib %t/icf-bitcode.o
14 ; RUN: llvm-objdump %t/icf-safe-bitcode.dylib -d --macho | FileCheck %s --check-prefix=ICFSAFE
/llvm-project-15.0.7/lld/test/ELF/
H A Dicf-safe.s5 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %S/Inputs/icf-safe.s -o %t2.o
6 # RUN: ld.lld %t1.o %t2.o -o %t2 --icf=safe --print-icf-sections | FileCheck %s
7 # RUN: ld.lld %t1.o %t2.o -o %t3 --icf=safe --print-icf-sections -shared | FileCheck --check-prefix…
8 # RUN: ld.lld %t1.o %t2.o -o %t3 --icf=safe --print-icf-sections --export-dynamic | FileCheck --che…
11 # RUN: ld.lld %t1copy.o -o %t4 --icf=safe 2>&1 | FileCheck --check-prefix=OBJCOPY %s
/llvm-project-15.0.7/llvm/docs/CommandGuide/
H A Dbugpoint.rst64 **--safe-tool-args** *tool args*
66 Pass all arguments specified after **--safe-tool-args** to the "safe" execution
126 by compiling the program with the "safe" backend and running it.
135 **--safe-{llc,custom}**
138 generator as the "safe" code generator. This is a known-good code generator
144 be used as the "safe" backends.
149 **--safe-custom** options to execute the bitcode testcase. This can
174 **--safe-path** *path*
177 **--safe-{int,jit,llc,custom}**
/llvm-project-15.0.7/llvm/test/CodeGen/Mips/
H A Dmicromips-delay-slot-jr.ll39 …%safe = getelementptr inbounds [4 x %struct.barstruct], [4 x %struct.barstruct]* @bar_ary, i32 0, …
40 store float 1.420000e+02, float* %safe, align 4, !tbaa !1
41 ret float* %safe
/llvm-project-15.0.7/llvm/test/Transforms/SafeStack/AArch64/
H A Dunreachable.ll1 ; RUN: opt -safe-stack -safe-stack-coloring -S -mtriple=aarch64-linux-android < %s -o - | FileCheck…

12345678910>>...19