CCTLib
Calling-context and data-object attribution library for Intel Pin
deadspy_integration_test.cpp File Reference
#include <cerrno>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <fcntl.h>
#include <fstream>
#include <regex>
#include <sstream>
#include <string>
#include <sys/wait.h>
#include <unistd.h>
#include <vector>
#include <gtest/gtest.h>
+ Include dependency graph for deadspy_integration_test.cpp:

Go to the source code of this file.

Classes

class  anonymous_namespace{deadspy_integration_test.cpp}::DeadspyIntegration
 
struct  anonymous_namespace{deadspy_integration_test.cpp}::IsaVictim
 
class  anonymous_namespace{deadspy_integration_test.cpp}::DeadspyIsa
 

Namespaces

 anonymous_namespace{deadspy_integration_test.cpp}
 

Functions

std::string anonymous_namespace{deadspy_integration_test.cpp}::env (const char *name)
 
std::string anonymous_namespace{deadspy_integration_test.cpp}::cctlib_root ()
 
std::string anonymous_namespace{deadspy_integration_test.cpp}::pin_root ()
 
int anonymous_namespace{deadspy_integration_test.cpp}::run_pin (const std::string &tool, const std::vector< std::string > &args)
 
std::string anonymous_namespace{deadspy_integration_test.cpp}::find_newest (const std::string &dir, const std::string &prefix)
 
std::string anonymous_namespace{deadspy_integration_test.cpp}::read_file (const std::string &path)
 
void anonymous_namespace{deadspy_integration_test.cpp}::cleanup (const std::string &dir, const std::string &prefix)
 
long anonymous_namespace{deadspy_integration_test.cpp}::parse_grand_total_dead (const std::string &content)
 
long anonymous_namespace{deadspy_integration_test.cpp}::parse_grand_total_writes (const std::string &content)
 
 anonymous_namespace{deadspy_integration_test.cpp}::TEST_F (DeadspyIntegration, RunsCleanlyOnLs)
 
 anonymous_namespace{deadspy_integration_test.cpp}::TEST_F (DeadspyIntegration, DeadWritesAppReportsDeads)
 
 anonymous_namespace{deadspy_integration_test.cpp}::TEST_F (DeadspyIntegration, TruePositiveMoreDeadsThanTrueNegative)
 
 anonymous_namespace{deadspy_integration_test.cpp}::TEST_F (DeadspyIntegration, MultiSizeTruePositiveExceedsTrueNegative)
 
 anonymous_namespace{deadspy_integration_test.cpp}::TEST_F (DeadspyIntegration, TPReportAttributesToStore8)
 
 anonymous_namespace{deadspy_integration_test.cpp}::TEST_P (DeadspyIsa, ExceedsBaseline)
 
 anonymous_namespace{deadspy_integration_test.cpp}::INSTANTIATE_TEST_SUITE_P (IsaBreadth, DeadspyIsa, ::testing::Values(IsaVictim{"deadspy_sse16_tp", 100000}, IsaVictim{"deadspy_avx32_tp", 200000}, IsaVictim{"deadspy_partial_qword_then_byte_tp", 15000}, IsaVictim{"deadspy_partial_qword_then_byte_high_tp", 15000}, IsaVictim{"deadspy_repstos_tp", 200000}, IsaVictim{"deadspy_addressing_tp", 100000}, IsaVictim{"deadspy_cross_page_qword_tp", 40000}, IsaVictim{"deadspy_pushpop_dead_tp", 40000}, IsaVictim{"deadspy_movnti_tp", 40000}, IsaVictim{"deadspy_prefetch_tp", 200000}), [](const testing::TestParamInfo< IsaVictim > &info) { return info.param.name;})
 
 anonymous_namespace{deadspy_integration_test.cpp}::TEST_F (DeadspyIsa, CmpxchgIsNotFalselyDead)
 
 anonymous_namespace{deadspy_integration_test.cpp}::TEST_F (DeadspyIsa, XchgIsNotFalselyDead)