MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / StackGrowsDown

Function StackGrowsDown

tests/gtest/gtest-all.cc:8884–8891  ·  view source on GitHub ↗

Make sure AddressSanitizer does not tamper with the stack here.

Source from the content-addressed store, hash-verified

8882
8883// Make sure AddressSanitizer does not tamper with the stack here.
8884GTEST_ATTRIBUTE_NO_SANITIZE_ADDRESS_
8885GTEST_ATTRIBUTE_NO_SANITIZE_HWADDRESS_
8886static bool StackGrowsDown() {
8887 int dummy;
8888 bool result;
8889 StackLowerThanAddress(&dummy, &result);
8890 return result;
8891}
8892# endif // GTEST_HAS_CLONE
8893
8894// Spawns a child process with the same executable as the current process in

Callers 1

ExecDeathTestSpawnChildFunction · 0.85

Calls 1

StackLowerThanAddressFunction · 0.85

Tested by

no test coverage detected