Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/test/Analysis/cert/
H A Dpos34-c-fp-suppression.cpp8 int putenv(char *);
15 return putenv(ex); // no-warning: extern storage class. in test_extern()
24 putenv(buffer); in foo()
35 putenv(buffer); in bar()
41 putenv(env); in baz()
48 putenv((char *)"NAME=anothervalue"); in baz()
H A Dpos34-c.cpp11 int putenv(char *);
23 return putenv(env); in volatile_memory1()
39 return putenv(env); in test_static()
50 if (putenv(env) != 0) { // no-warning: env was dynamically allocated. in test_heap_memory()
H A Denv31-c.c29 int putenv(char *string);
/llvm-project-15.0.7/lldb/unittests/tools/lldb-server/tests/
H A DLLGSTest.cpp25 putenv(const_cast<char *>("LLDB_TEST_MAGIC_VARIABLE=LLDB_TEST_MAGIC_VALUE")); in TEST_F()
42 putenv(const_cast<char *>("LLDB_TEST_MAGIC_VARIABLE=foobar")); in TEST_F()
/llvm-project-15.0.7/flang/unittests/Runtime/
H A DStop.cpp28 putenv(const_cast<char *>("NO_STOP_MESSAGE=1")); in TEST()
54 putenv(const_cast<char *>("NO_STOP_MESSAGE=1")); in TEST()
/llvm-project-15.0.7/lldb/unittests/Host/
H A DHostTest.cpp24 putenv(const_cast<char *>("LLDB_TEST_ENVIRONMENT_VAR=Host::GetEnvironment")); in TEST()
/llvm-project-15.0.7/clang/tools/c-arcmt-test/
H A Dc-arcmt-test.c116 putenv("LIBCLANG_LOGGING=1"); in main()
/llvm-project-15.0.7/compiler-rt/lib/fuzzer/
H A DFuzzerDataFlowTrace.cpp259 putenv(DFSanEnv); in CollectDataFlow()
/llvm-project-15.0.7/clang/docs/analyzer/
H A Dcheckers.rst2257 Finds calls to the ``putenv`` function which pass a pointer to an automatic variable as the argumen…
2268 return putenv(env); // putenv function should not be called with auto variables
2273 - Technically, one can pass automatic variables to ``putenv``,
2284 putenv(env); // false-positive warning: putenv function should not be called...
2286 putenv((char *)"NAME=anothervalue");
2287 // This putenv call overwrites the previous entry, thus that can no longer dangle.
2305 such as putenv, setenv or others, It may happen that memory is reallocated,
/llvm-project-15.0.7/compiler-rt/lib/msan/
H A Dmsan_interceptors.cpp649 INTERCEPTOR(int, putenv, char *string) { in INTERCEPTOR() argument
651 int res = REAL(putenv)(string); in INTERCEPTOR()
1717 INTERCEPT_FUNCTION(putenv); in InitializeInterceptors()
/llvm-project-15.0.7/compiler-rt/lib/msan/tests/
H A Dmsan_test.cpp1449 TEST(MemorySanitizer, putenv) { in TEST() argument
1451 putenv(s); in TEST()
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Checkers/
H A DCheckers.td982 HelpText<"Finds calls to the 'putenv' function which pass a pointer to "
/llvm-project-15.0.7/compiler-rt/lib/dfsan/
H A Dlibc_ubuntu1404_abilist.txt2663 fun:putenv=uninstrumented