name string | code string | asm string | file string |
|---|---|---|---|
testing::UnitTest::current_test_case() const | GTEST_LOCK_EXCLUDED_(mutex_) {
internal::MutexLock lock(&mutex_);
return impl_->current_test_suite();
} | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x8(%rdi), %r14
movq %r14, %rdi
callq 0x23d482
movq 0x40(%rbx), %rax
movq 0x168(%rax), %rbx
movq %r14, %rdi
callq 0x23d520
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rdi
callq 0x79c3c
nop
| /google[P]bloaty/third_party/googletest/googletest/src/gtest.cc |
testing::UnitTest::current_test_info() const | GTEST_LOCK_EXCLUDED_(mutex_) {
internal::MutexLock lock(&mutex_);
return impl_->current_test_info();
} | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x8(%rdi), %r14
movq %r14, %rdi
callq 0x23d482
movq 0x40(%rbx), %rax
movq 0x170(%rax), %rbx
movq %r14, %rdi
callq 0x23d520
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rdi
callq 0x79c3c
nop
| /google[P]bloaty/third_party/googletest/googletest/src/gtest.cc |
testing::UnitTest::PushGTestTrace(testing::internal::TraceInfo const&) | GTEST_LOCK_EXCLUDED_(mutex_) {
internal::MutexLock lock(&mutex_);
impl_->gtest_trace_stack().push_back(trace);
} | pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq 0x8(%rdi), %rbx
movq %rbx, %rdi
callq 0x23d482
movl $0x248, %edi # imm = 0x248
addq 0x40(%r15), %rdi
callq 0x23dba0
movq %rax, %rdi
movq %r14, %rsi
callq 0x23b39c
movq %rbx, %rdi
callq 0x23d520
popq %rbx
popq %r14
popq %r15
retq
jmp 0x22c3... | /google[P]bloaty/third_party/googletest/googletest/src/gtest.cc |
testing::internal::UnitTestImpl::ConfigureStreamingOutput() | int UnitTestImpl::reportable_test_count() const {
return SumOverTestSuiteList(test_suites_, &TestSuite::reportable_test_count);
} | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
cmpq $0x0, 0x4c50e8(%rip) # 0x6f1c78
je 0x22ccc3
movq %rdi, %r14
leaq 0x4c50d0(%rip), %rdi # 0x6f1c70
movl $0x3a, %esi
xorl %edx, %edx
callq 0x6d990
cmpq $-0x1, %rax
je 0x22cc58
movq %rax, %r15
movl $0x10, %edi
callq 0x6df30
movq %rax, %rbx
leaq 0x4c50a... | /google[P]bloaty/third_party/googletest/googletest/src/gtest.cc |
testing::internal::UnitTestImpl::UnshuffleTests() | void UnitTestImpl::UnshuffleTests() {
for (size_t i = 0; i < test_suites_.size(); i++) {
// Unshuffles the tests in each test suite.
test_suites_[i]->UnshuffleTests();
// Resets the index of each test suite.
test_suite_indices_[i] = static_cast<int>(i);
}
} | movq 0xb8(%rdi), %rax
movq 0xc0(%rdi), %rcx
subq %rax, %rcx
je 0x22d8bf
sarq $0x3, %rcx
movq 0xd0(%rdi), %rdx
cmpq $0x1, %rcx
adcq $0x0, %rcx
xorl %esi, %esi
movdqa 0x279256(%rip), %xmm0 # 0x4a6a50
movdqa 0x2748ae(%rip), %xmm1 # 0x4a20b0
pcmpeqd %xmm2, %xmm2
movdqa 0x285292(%rip), %xmm3 # 0x4b2aa0
movq (%rax,%rsi... | /google[P]bloaty/third_party/googletest/googletest/src/gtest.cc |
testing::internal::PrintOnOneLine(char const*, int) | static void PrintOnOneLine(const char* str, int max_length) {
if (str != nullptr) {
for (int i = 0; *str != '\0'; ++str) {
if (i >= max_length) {
printf("...");
break;
}
if (*str == '\n') {
printf("\\n");
i += 2;
} else {
printf("%c", *str);
... | pushq %rbp
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0x22dbb3
movq %rdi, %rbx
movb (%rdi), %al
testb %al, %al
je 0x22dbb3
incq %rbx
leaq 0x1df83(%rip), %r14 # 0x24baff
xorl %ebp, %ebp
cmpl $0xfa, %ebp
jae 0x22dbb8
cmpb $0xa, %al
jne 0x22db9b
movq %r14, %rdi
xorl %eax, %eax
callq 0x6d080
movl $0x2, %eax
jmp 0x22dba8... | /google[P]bloaty/third_party/googletest/googletest/src/gtest.cc |
testing::internal::ParseFlag(char const*, char const*, int*) | bool ParseFlag(const char* str, const char* flag_name, int32_t* value) {
// Gets the value of the flag as a string.
const char* const value_str = ParseFlagValue(str, flag_name, false);
// Aborts if the parsing failed.
if (value_str == nullptr) return false;
// Sets *value to the value of the flag.
return ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r12
xorl %ebp, %ebp
xorl %edx, %edx
callq 0x22dd21
testq %rax, %rax
je 0x22dcf7
movq %rax, %r15
movq %rsp, %rbx
movq %rbx, %rdi
callq 0x21b02a
movq (%rbx), %rbx
leaq 0x10(%rbx), %r13
leaq 0x2873a9(%rip), %rsi # 0... | /google[P]bloaty/third_party/googletest/googletest/src/gtest.cc |
testing::internal::ParseFlagValue(char const*, char const*, bool) | static const char* ParseFlagValue(const char* str, const char* flag_name,
bool def_optional) {
// str and flag must not be NULL.
if (str == nullptr || flag_name == nullptr) return nullptr;
// The flag must start with "--" followed by GTEST_FLAG_PREFIX_.
const std::string flag_... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
je 0x22dd46
xorl %ebx, %ebx
jmp 0x22de9b
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x58(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x2872ff(%rip), %rsi # 0x4b505... | /google[P]bloaty/third_party/googletest/googletest/src/gtest.cc |
testing::internal::ParseGoogleTestFlagsOnly(int*, char**) | void ParseGoogleTestFlagsOnly(int* argc, char** argv) {
ParseGoogleTestFlagsOnlyImpl(argc, argv);
// Fix the value of *_NSGetArgc() on macOS, but if and only if
// *_NSGetArgv() == argv
// Only applicable to char** version of argv
#if GTEST_OS_MAC
#ifndef GTEST_OS_IOS
if (*_NSGetArgv() == argv) {
*_NSGet... | jmp 0x23bc48
| /google[P]bloaty/third_party/googletest/googletest/src/gtest.cc |
testing::InitGoogleTest() | void InitGoogleTest() {
// Since Arduino doesn't have a command line, fake out the argc/argv arguments
int argc = 1;
const auto arg0 = "dummy";
char* argv0 = const_cast<char*>(arg0);
char** argv = &argv0;
#if defined(GTEST_CUSTOM_INIT_GOOGLE_TEST_FUNCTION_)
GTEST_CUSTOM_INIT_GOOGLE_TEST_FUNCTION_(&argc, ar... | subq $0x18, %rsp
leaq 0xc(%rsp), %rdi
movl $0x1, (%rdi)
leaq 0x27f047(%rip), %rax # 0x4acf5c
leaq 0x10(%rsp), %rsi
movq %rax, (%rsi)
callq 0x23bfda
addq $0x18, %rsp
retq
| /google[P]bloaty/third_party/googletest/googletest/src/gtest.cc |
testing::TempDir[abi:cxx11]() | std::string TempDir() {
#if defined(GTEST_CUSTOM_TEMPDIR_FUNCTION_)
return GTEST_CUSTOM_TEMPDIR_FUNCTION_();
#elif GTEST_OS_WINDOWS_MOBILE
return "\\temp\\";
#elif GTEST_OS_WINDOWS
const char* temp_dir = internal::posix::GetEnv("TEMP");
if (temp_dir == nullptr || temp_dir[0] == '\0') {
return "\\temp\\";
... | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x28712c(%rip), %rdi # 0x4b5061
callq 0x6d890
testq %rax, %rax
je 0x22df64
movq %rax, %r14
cmpb $0x0, (%rax)
je 0x22df64
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq %r14, %rdi
callq 0x6d2d0
movq %r14, %rdx
addq %rax, %rdx
movq %rbx, %rdi
movq %r14, %rsi
jmp 0x22... | /google[P]bloaty/third_party/googletest/googletest/src/gtest.cc |
testing::ScopedTrace::PushTrace(char const*, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | explicit FailureTest(const CodeLocation& loc, std::string error_message,
bool as_error)
: loc_(loc),
error_message_(std::move(error_message)),
as_error_(as_error) {} | pushq %r14
pushq %rbx
subq $0x38, %rsp
leaq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %r14
movq %r14, -0x10(%r14)
movq $0x0, -0x8(%r14)
movb $0x0, (%r14)
movq %rsi, -0x20(%r14)
movl %edx, -0x18(%r14)
movq %rcx, %rsi
callq 0x6d4e0
callq 0x2170b2
leaq 0x4c3d0f(%rip), %rdi # 0x6f1cd8
leaq 0x8(%rsp), %rsi
callq 0x22c39a
movq 0x... | /google[P]bloaty/third_party/googletest/googletest/src/gtest.cc |
testing::internal::InDeathTestChild() | bool InDeathTestChild() {
# if GTEST_OS_WINDOWS || GTEST_OS_FUCHSIA
// On Windows and Fuchsia, death tests are thread-safe regardless of the value
// of the death_test_style flag.
return !GTEST_FLAG_GET(internal_run_death_test).empty();
# else
if (GTEST_FLAG_GET(death_test_style) == "threadsafe")
return ... | pushq %rax
leaq 0x4c3d10(%rip), %rdi # 0x6f1d48
leaq 0x287059(%rip), %rsi # 0x4b5098
callq 0x6d1e0
xorl %ecx, %ecx
cmpq $0x0, 0x4c3ce2(%rip) # 0x6f1d30
setne %cl
testl %eax, %eax
movzbl 0x4c3d0f(%rip), %eax # 0x6f1d69
cmovel %ecx, %eax
andb $0x1, %al
popq %rcx
retq
nop
| /google[P]bloaty/third_party/googletest/googletest/src/gtest-death-test.cc |
testing::internal::DeathTest::DeathTest() | DeathTest::DeathTest() {
TestInfo* const info = GetUnitTestImpl()->current_test_info();
if (info == nullptr) {
DeathTestAbort("Cannot run a death test outside of a TEST or "
"TEST_F construct");
}
} | pushq %r14
pushq %rbx
subq $0x28, %rsp
leaq 0x3545ee(%rip), %rax # 0x5826d8
movq %rax, (%rdi)
callq 0x2170b2
movq 0x4c3c1f(%rip), %rax # 0x6f1d18
cmpq $0x0, 0x170(%rax)
je 0x22e10b
addq $0x28, %rsp
popq %rbx
popq %r14
retq
leaq 0x18(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x286f88(%rip), %rsi # 0x4b50a3
leaq 0... | /google[P]bloaty/third_party/googletest/googletest/src/gtest-death-test.cc |
testing::internal::DeathTestAbort(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | static void DeathTestAbort(const std::string& message) {
// On a POSIX system, this function may be called from a threadsafe-style
// death test child process, which operates on a very small stack. Use
// the heap for any additional non-minuscule memory requirements.
const InternalRunDeathTestFlag* const flag ... | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x2170b2
movq 0x4c3bac(%rip), %rax # 0x6f1d18
movq 0x238(%rax), %rax
testq %rax, %rax
jne 0x22e197
movq 0x354e41(%rip), %r14 # 0x582fc0
movq (%r14), %rsi
movq (%rbx), %rdi
callq 0x6d7a0
movq (%r14), %rdi
callq 0x6d820
callq 0x23a3bd
movl 0x28(%rax), %edi
leaq... | /google[P]bloaty/third_party/googletest/googletest/src/gtest-death-test.cc |
testing::internal::DeathTestImpl::Abort(testing::internal::DeathTest::AbortReason) | void DeathTestImpl::Abort(AbortReason reason) {
// The parent process considers the death test to be a failure if
// it finds any data in our pipe. So, here we write a single flag byte
// to the pipe, then exit.
const char status_ch =
reason == TEST_DID_NOT_DIE ? kDeathTestLived :
reason == TEST_TH... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp # imm = 0x118
movq %rdi, %rbx
cmpl $0x1, %esi
sete %al
addb %al, %al
addb $0x52, %al
cmpl $0x2, %esi
movzbl %al, %eax
movl $0x4c, %ecx
cmovnel %eax, %ecx
leaq 0xf(%rsp), %r14
movb %cl, (%r14)
movl 0x38(%rbx), %edi
movl $0x1, ... | /google[P]bloaty/third_party/googletest/googletest/src/gtest-death-test.cc |
testing::internal::DeathTestImpl::Passed(bool) | bool DeathTestImpl::Passed(bool status_ok) {
if (!spawned())
return false;
const std::string error_message = GetErrorLogs();
bool success = false;
Message buffer;
buffer << "Death test: " << statement() << "\n";
switch (outcome()) {
case LIVED:
buffer << " Result: failed to die.\n"
... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x1e8, %rsp # imm = 0x1E8
cmpb $0x1, 0x28(%rdi)
jne 0x22ef79
movl %esi, %ebp
movq %rdi, %r14
movq (%rdi), %rax
leaq 0x30(%rsp), %rdi
movq %r14, %rsi
callq *0x30(%rax)
leaq 0x28(%rsp), %rdi
callq 0x21b02a
movq 0x28(%rsp), %rbx
addq $0x10, %rbx
leaq 0x2862cb(%r... | /google[P]bloaty/third_party/googletest/googletest/src/gtest-death-test.cc |
testing::internal::FormatDeathTestOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | static ::std::string FormatDeathTestOutput(const ::std::string& output) {
::std::string ret;
for (size_t at = 0; ; ) {
const size_t line_end = output.find('\n', at);
ret += "[ DEATH ] ";
if (line_end == ::std::string::npos) {
ret += output.substr(at);
break;
}
ret += output.substr... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, 0x20(%rsp)
movq %rax, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
xorl %r15d, %r15d
movq %rsp, %r12
movq %r14, %rdi
movl $0xa, %esi
movq %r15, %rdx
callq 0x6d990
movq... | /google[P]bloaty/third_party/googletest/googletest/src/gtest-death-test.cc |
testing::internal::NoExecDeathTest::AssumeRole() | DeathTest::TestRole NoExecDeathTest::AssumeRole() {
const size_t thread_count = GetThreadCount();
if (thread_count != 1) {
GTEST_LOG_(WARNING) << DeathTestThreadWarning(thread_count);
}
int pipe_fd[2];
GTEST_DEATH_TEST_CHECK_(pipe(pipe_fd) != -1);
DeathTest::set_last_death_test_message("");
CaptureS... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp # imm = 0x118
movq %rdi, %rbx
callq 0x230d55
cmpq $0x1, %rax
je 0x22fd53
movq %rax, %r12
leaq 0x2854e8(%rip), %rdx # 0x4b50e1
leaq 0x28(%rsp), %rdi
movl $0x1, %esi
movl $0x464, %ecx # imm = 0x464
callq 0x235d96
... | /google[P]bloaty/third_party/googletest/googletest/src/gtest-death-test.cc |
testing::internal::GetThreadCount() | size_t GetThreadCount() {
const std::string filename =
(Message() << "/proc/" << getpid() << "/stat").GetString();
return ReadProcFileField<size_t>(filename, 19);
} | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x258, %rsp # imm = 0x258
leaq 0x50(%rsp), %rbx
movq %rbx, %rdi
callq 0x21b02a
movq (%rbx), %rbx
leaq 0x10(%rbx), %r14
leaq 0x284735(%rip), %rsi # 0x4b54b2
movl $0x6, %edx
movq %r14, %rdi
callq 0x6d7d0
callq 0x6daf0
movq %r14, %rdi
movl %eax, %esi
callq 0x... | /google[P]bloaty/third_party/googletest/googletest/src/gtest-port.cc |
testing::internal::ExecDeathTest::AssumeRole() | DeathTest::TestRole ExecDeathTest::AssumeRole() {
const UnitTestImpl* const impl = GetUnitTestImpl();
const InternalRunDeathTestFlag* const flag =
impl->internal_run_death_test_flag();
const TestInfo* const info = impl->current_test_info();
const int death_test_index = info->result()->death_test_count();
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2c8, %rsp # imm = 0x2C8
movq %rdi, %rbx
callq 0x2170b2
movq 0x4c0e04(%rip), %rax # 0x6f1d18
movq 0x170(%rax), %r14
movq 0x238(%rax), %rax
movl 0xf8(%r14), %ecx
movl %ecx, 0x130(%rsp)
testq %rax, %rax
je 0x230f45
movl 0x28(%rax), %ea... | /google[P]bloaty/third_party/googletest/googletest/src/gtest-death-test.cc |
testing::internal::DefaultDeathTestFactory::Create(char const*, testing::Matcher<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&>, char const*, int, testing::internal::DeathTest**) | bool DefaultDeathTestFactory::Create(const char* statement,
Matcher<const std::string&> matcher,
const char* file, int line,
DeathTest** test) {
UnitTestImpl* const impl = GetUnitTestImpl();
const Internal... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp # imm = 0x108
movq %r9, %rbx
movl %r8d, %ebp
movq %rcx, %r13
movq %rdx, %r12
movq %rsi, %r15
callq 0x2170b2
movq 0x4bdf34(%rip), %rax # 0x6f1d18
movq 0x238(%rax), %r14
movq 0x170(%rax), %rcx
movl 0xf8(%rcx), %eax
leal 0x1(... | /google[P]bloaty/third_party/googletest/googletest/src/gtest-death-test.cc |
testing::internal::FilePath::FileOrDirectoryExists() const | bool FilePath::FileOrDirectoryExists() const {
#if GTEST_OS_WINDOWS_MOBILE
LPCWSTR unicode = String::AnsiToUtf16(pathname_.c_str());
const DWORD attributes = GetFileAttributes(unicode);
delete [] unicode;
return attributes != kInvalidFileAttributes;
#else
posix::StatStruct file_stat{};
return posix::Stat(pa... | pushq %r14
pushq %rbx
subq $0x98, %rsp
movq %rdi, %rbx
leaq 0x8(%rsp), %r14
movl $0x90, %edx
movq %r14, %rdi
xorl %esi, %esi
callq 0x6d3c0
movq (%rbx), %rdi
movq %r14, %rsi
callq 0x6d600
testl %eax, %eax
sete %al
addq $0x98, %rsp
popq %rbx
popq %r14
retq
| /google[P]bloaty/third_party/googletest/googletest/src/gtest-filepath.cc |
testing::internal::PrintTo(char16_t const*, std::ostream*) | void PrintTo(const char16_t* s, ostream* os) { PrintCStringTo(s, os); } | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
testq %rdi, %rdi
je 0x23666a
movq %rdi, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6d560
leaq 0x27fe8b(%rip), %rsi # 0x4b64c2
movl $0xd, %edx
movq %rax, %rdi
callq 0x6d7d0
movq $-0x1, %rsi
cmpw $0x0, 0x2(%r14,%rsi,2)
leaq 0x1(%rsi), %rsi
jne 0x23664b
movq %r14, %rdi... | /google[P]bloaty/third_party/googletest/googletest/src/gtest-printers.cc |
testing::internal::CharFormat testing::internal::PrintCharsAsStringTo<char16_t>(char16_t const*, unsigned long, std::ostream*) | static CharFormat PrintCharsAsStringTo(
const CharType* begin, size_t len, ostream* os) {
const char* const quote_prefix = GetCharWidthPrefix(*begin);
*os << quote_prefix << "\"";
bool is_previous_hex = false;
CharFormat print_format = kAsIs;
for (size_t index = 0; index < len; ++index) {
const CharTy... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq 0x3055f(%rip), %rsi # 0x266ffb
movl $0x1, %edx
movq %rbx, %rdi
callq 0x6d7d0
leaq 0x276cac(%rip), %rsi # 0x4ad75c
movl $0x1, %edx
movq %rbx, %rdi
callq 0x6d7d0
testq %r14, %r14
je 0x2... | /google[P]bloaty/third_party/googletest/googletest/src/gtest-printers.cc |
testing::internal::HasNewFatalFailureHelper::~HasNewFatalFailureHelper() | HasNewFatalFailureHelper::~HasNewFatalFailureHelper() {
GetUnitTestImpl()->SetTestPartResultReporterForCurrentThread(
original_reporter_);
} | pushq %rbx
movq %rdi, %rbx
leaq 0x34b0c9(%rip), %rax # 0x582080
movq %rax, (%rdi)
callq 0x2170b2
movq 0x10(%rbx), %rbx
movl $0x90, %edi
addq 0x4bad49(%rip), %rdi # 0x6f1d18
callq 0x24036a
movq %rbx, (%rax)
popq %rbx
retq
movq %rax, %rdi
callq 0x79c3c
nop
| /google[P]bloaty/third_party/googletest/googletest/src/gtest-test-part.cc |
testing::internal::TypedTestSuitePState::VerifyRegisteredTestNames(char const*, char const*, int, char const*) | const char* TypedTestSuitePState::VerifyRegisteredTestNames(
const char* test_suite_name, const char* file, int line,
const char* registered_tests) {
RegisterTypeParameterizedTestSuite(test_suite_name, CodeLocation(file, line));
typedef RegisteredTestsMap::const_iterator RegisteredTestIter;
registered_ =... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %r8, %r15
movl %ecx, %ebp
movq %rdx, %r12
movq %rsi, %rbx
movq %rdi, 0x30(%rsp)
leaq 0x40(%rsp), %rdi
leaq 0x8(%rsp), %rdx
movq %r12, %rsi
callq 0x86e14
leaq 0xb0(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x40(%rsp), %rsi
movq 0x48(%r... | /google[P]bloaty/third_party/googletest/googletest/src/gtest-typed-test.cc |
testing::TestInfo* testing::RegisterTest<testing::internal::InsertSyntheticTestCase(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, testing::internal::CodeLocation, bool)::$_0>(char const*, char const*, char const*, char const*, char const*, int, testing::internal::InsertSynthetic... | explicit FactoryImpl(Factory f) : factory_(std::move(f)) {} | pushq %rbx
movq %rdi, %rbx
leaq 0x34a529(%rip), %rax # 0x5825c0
movq %rax, (%rdi)
movq 0x28(%rdi), %rdi
leaq 0x38(%rbx), %rax
cmpq %rax, %rdi
je 0x2380b2
movq (%rax), %rsi
incq %rsi
callq 0x6d6d0
movq 0x8(%rbx), %rdi
addq $0x18, %rbx
cmpq %rbx, %rdi
je 0x2380cb
movq (%rbx), %rsi
incq %rsi
popq %rbx
jmp 0x6d6d0
popq ... | /google[P]bloaty/third_party/googletest/googletest/include/gtest/gtest.h |
testing::TestInfo* testing::RegisterTest<testing::internal::InsertSyntheticTestCase(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, testing::internal::CodeLocation, bool)::$_0>(char const*, char const*, char const*, char const*, char const*, int, testing::internal::InsertSynthetic... | Test* CreateTest() override { return factory_(); } | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %r14
movl $0x60, %edi
callq 0x6df30
movq %rax, %rbx
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
addq %rsi, %rdx
movq %rsp, %rdi
callq 0x79bac
addq $0x28, %r14
movq %rsp, %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x... | /google[P]bloaty/third_party/googletest/googletest/include/gtest/gtest.h |
testing::internal::(anonymous namespace)::FailureTest::TestBody() | void TestBody() override {
if (as_error_) {
AssertHelper(TestPartResult::kNonFatalFailure, loc_.file.c_str(),
loc_.line, "") = Message() << error_message_;
} else {
std::cout << error_message_ << std::endl;
}
} | pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %r14
cmpb $0x1, 0x58(%rdi)
jne 0x238396
leaq 0x10(%rsp), %rbx
movq %rbx, %rdi
callq 0x21b02a
movq (%rbx), %rbx
leaq 0x10(%rbx), %rdi
movq 0x38(%r14), %rsi
movq 0x40(%r14), %rdx
callq 0x6d7d0
movq 0x10(%r14), %rdx
movl 0x30(%r14), %ecx
leaq 0x163839(%rip), %r8 # 0x39... | /google[P]bloaty/third_party/googletest/googletest/src/gtest.cc |
testing::internal::FormatCxxExceptionMessage[abi:cxx11](char const*, char const*) | static std::string FormatCxxExceptionMessage(const char* description,
const char* location) {
Message message;
if (description != nullptr) {
message << "C++ exception with description \"" << description << "\"";
} else {
message << "Unknown C++ exception";
}
... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %rbx
movq %rsp, %r15
movq %r15, %rdi
callq 0x21b02a
movq (%r15), %r15
addq $0x10, %r15
testq %r12, %r12
je 0x2385c1
leaq 0x27dcb4(%rip), %rsi # 0x4b6244
movl $0x20, %edx
movq %r15, %rdi
callq 0x6d7d0
movq %r12, %rdi
cal... | /google[P]bloaty/third_party/googletest/googletest/src/gtest.cc |
testing::internal::ParseGoogleTestFlag(char const*) | static bool ParseGoogleTestFlag(const char* const arg) {
#define GTEST_INTERNAL_PARSE_FLAG(flag_name) \
do { \
auto value = GTEST_FLAG_GET(flag_name); \
if (ParseFlag(arg, #flag_name, &value)) { \
GTEST_FLAG_SET(flag_name, value); \
return true; ... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movb 0x4b9568(%rip), %al # 0x6f1beb
leaq 0x8(%rsp), %rdx
movb %al, (%rdx)
leaq 0x27b585(%rip), %rsi # 0x4b3c16
callq 0x238f49
testb %al, %al
je 0x2386a6
movb 0x8(%rsp), %al
movb %al, 0x4b9547(%rip) # 0x6f1beb
jmp 0x2386fc
movb 0x4b9... | /google[P]bloaty/third_party/googletest/googletest/src/gtest.cc |
testing::internal::HasGoogleTestFlagPrefix(char const*) | static bool HasGoogleTestFlagPrefix(const char* str) {
return (SkipPrefix("--", &str) ||
SkipPrefix("-", &str) ||
SkipPrefix("/", &str)) &&
!SkipPrefix(GTEST_FLAG_PREFIX_ "internal_", &str) &&
(SkipPrefix(GTEST_FLAG_PREFIX_, &str) ||
SkipPrefix(GTEST_FLAG_PREFIX_DASH_, ... | pushq %rax
movq %rsp, %rsi
movq %rdi, (%rsi)
leaq 0x27c2a1(%rip), %rdi # 0x4b505e
callq 0x22dc26
testb %al, %al
jne 0x238dec
leaq 0x27c292(%rip), %rdi # 0x4b505f
movq %rsp, %rsi
callq 0x22dc26
testb %al, %al
jne 0x238dec
leaq 0x27bdc7(%rip), %rdi # 0x4b4ba7
movq %rsp, %rsi
callq 0x22dc26
testb %al, %al
je 0x23... | /google[P]bloaty/third_party/googletest/googletest/src/gtest.cc |
testing::AssertionResult& testing::AssertionResult::operator<<<char [15]>(char const (&) [15]) | AssertionResult& operator<<(const T& value) {
AppendMessage(Message() << value);
return *this;
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x21b02a
movq (%r15), %r15
addq $0x10, %r15
movq %r14, %rdi
callq 0x6d2d0
movq %r15, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x6d7d0
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x7a328
movq 0x8... | /google[P]bloaty/third_party/googletest/googletest/include/gtest/gtest.h |
testing::internal::GTestFlagSaver::GTestFlagSaver() | GTestFlagSaver() {
also_run_disabled_tests_ = GTEST_FLAG_GET(also_run_disabled_tests);
break_on_failure_ = GTEST_FLAG_GET(break_on_failure);
catch_exceptions_ = GTEST_FLAG_GET(catch_exceptions);
color_ = GTEST_FLAG_GET(color);
death_test_style_ = GTEST_FLAG_GET(death_test_style);
death_test_use_... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %r13
addq $0x8, %rdi
leaq 0x18(%r13), %rax
movq %rax, 0x18(%rsp)
movq %rax, 0x8(%r13)
xorl %eax, %eax
movq %rax, 0x10(%r13)
movb %al, 0x18(%r13)
leaq 0x28(%r13), %rcx
movq %rcx, 0x28(%rsp)
leaq 0x38(%r13), %rcx
movq %rcx, 0x10... | /google[P]bloaty/third_party/googletest/googletest/src/gtest-internal-inl.h |
void testing::internal::InitGoogleTestImpl<wchar_t>(int*, wchar_t**) | void InitGoogleTestImpl(int* argc, CharType** argv) {
// We don't want to run the initialization code twice.
if (GTestIsInitialized()) return;
if (*argc <= 0) return;
g_argvs.clear();
for (int i = 0; i != *argc; i++) {
g_argvs.push_back(StreamableToString(argv[i]));
}
#if GTEST_HAS_ABSL
absl::Initi... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r13
movq %rdi, %r14
leaq 0x4b5bbb(%rip), %rsi # 0x6f1cb8
leaq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x7d99c
movq 0x8(%r15), %rbx
movq (%r15), %r12
movq %r15, %rdi
callq 0x7b038
cmpq %r12, %rbx
jne 0x23c1b9
cmpl $0x0, (%r14... | /google[P]bloaty/third_party/googletest/googletest/src/gtest.cc |
testing::internal::MatcherBase<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&>::~MatcherBase() | ~MatcherBase() override { Destroy(); } | pushq %rax
leaq 0x34688e(%rip), %rax # 0x582a80
movq %rax, (%rdi)
movq 0x8(%rdi), %rax
testq %rax, %rax
je 0x23c219
cmpq $0x0, 0x18(%rax)
je 0x23c219
movq 0x10(%rdi), %rax
lock
decl (%rax)
jne 0x23c219
movq 0x8(%rdi), %rax
movq 0x10(%rdi), %rdi
callq *0x18(%rax)
popq %rax
retq
movq %rax, %rdi
callq 0x79c3c
nop
| /google[P]bloaty/third_party/googletest/googletest/include/gtest/gtest-matchers.h |
testing::Matcher<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>::~Matcher() | class GTEST_API_ Matcher<std::string>
: public internal::MatcherBase<std::string> {
public:
Matcher() {}
explicit Matcher(const MatcherInterface<const std::string&>* impl)
: internal::MatcherBase<std::string>(impl) {}
explicit Matcher(const MatcherInterface<std::string>* impl)
: internal::Matche... | pushq %rbx
movq %rdi, %rbx
callq 0x23ff3c
movl $0x18, %esi
movq %rbx, %rdi
popq %rbx
jmp 0x6d6d0
nop
| /google[P]bloaty/third_party/googletest/googletest/include/gtest/gtest-matchers.h |
testing::Matcher<std::basic_string_view<char, std::char_traits<char>> const&>::~Matcher() | class GTEST_API_ Matcher<const internal::StringView&>
: public internal::MatcherBase<const internal::StringView&> {
public:
Matcher() {}
explicit Matcher(const MatcherInterface<const internal::StringView&>* impl)
: internal::MatcherBase<const internal::StringView&>(impl) {}
template <typename M, type... | pushq %rbx
movq %rdi, %rbx
callq 0x23ff8e
movl $0x18, %esi
movq %rbx, %rdi
popq %rbx
jmp 0x6d6d0
nop
| /google[P]bloaty/third_party/googletest/googletest/include/gtest/gtest-matchers.h |
testing::Matcher<std::basic_string_view<char, std::char_traits<char>>>::~Matcher() | class GTEST_API_ Matcher<internal::StringView>
: public internal::MatcherBase<internal::StringView> {
public:
Matcher() {}
explicit Matcher(const MatcherInterface<const internal::StringView&>* impl)
: internal::MatcherBase<internal::StringView>(impl) {}
explicit Matcher(const MatcherInterface<internal... | pushq %rbx
movq %rdi, %rbx
callq 0x23ffe0
movl $0x18, %esi
movq %rbx, %rdi
popq %rbx
jmp 0x6d6d0
nop
| /google[P]bloaty/third_party/googletest/googletest/include/gtest/gtest-matchers.h |
testing::AssertionResult& testing::AssertionResult::operator<<<char [14]>(char const (&) [14]) | AssertionResult& operator<<(const T& value) {
AppendMessage(Message() << value);
return *this;
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x21b02a
movq (%r15), %r15
addq $0x10, %r15
movq %r14, %rdi
callq 0x6d2d0
movq %r15, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x6d7d0
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x7a328
movq 0x8... | /google[P]bloaty/third_party/googletest/googletest/include/gtest/gtest.h |
testing::internal::StreamingListener::OnTestProgramStart(testing::UnitTest const&) | void OnTestProgramStart(const UnitTest& /* unit_test */) override {
SendLn("event=TestProgramStart");
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x277cae(%rip), %rsi # 0x4b5c2e
leaq 0x277cbd(%rip), %rdx # 0x4b5c44
movq %rsp, %r14
movq %r14, %rdi
callq 0x7b4ac
movq 0x8(%rbx), %rdi
movq %r14, %rsi
callq 0x23f6a4
movq (%rsp), %rdi
cmpq %r15, %r... | /google[P]bloaty/third_party/googletest/googletest/src/gtest-internal-inl.h |
testing::internal::StreamingListener::SocketWriter::~SocketWriter() | ~SocketWriter() override {
if (sockfd_ != -1)
CloseConnection();
} | pushq %rbx
movq %rdi, %rbx
leaq 0x34358d(%rip), %rax # 0x582a28
movq %rax, (%rdi)
cmpl $-0x1, 0x8(%rdi)
je 0x23f4ac
movq %rbx, %rdi
callq 0x23f616
movq 0x30(%rbx), %rdi
leaq 0x40(%rbx), %rax
cmpq %rax, %rdi
je 0x23f4c4
movq (%rax), %rsi
incq %rsi
callq 0x6d6d0
movq 0x10(%rbx), %rdi
addq $0x20, %rbx
cmpq %rbx, %rdi
j... | /google[P]bloaty/third_party/googletest/googletest/src/gtest-internal-inl.h |
testing::internal::StreamingListener::SocketWriter::CloseConnection() | void CloseConnection() override {
GTEST_CHECK_(sockfd_ != -1)
<< "CloseConnection() can be called only when there is a connection.";
close(sockfd_);
sockfd_ = -1;
} | pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
cmpl $-0x1, 0x8(%rdi)
jne 0x23f679
leaq 0x27633c(%rip), %rdx # 0x4b5967
leaq 0xc(%rsp), %rdi
movl $0x3, %esi
movl $0x44a, %ecx # imm = 0x44A
callq 0x235d96
movq 0x3439aa(%rip), %rdi # 0x582ff0
leaq 0x2764fd(%rip), %rsi # 0x4b5b4a
movl $0x20, %edx
callq 0x6... | /google[P]bloaty/third_party/googletest/googletest/src/gtest-internal-inl.h |
testing::internal::StreamingListener::AbstractSocketWriter::SendLn(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | void SendLn(const std::string& message) { Send(message + "\n"); } | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
addq %rax, %rdx
movq %rsp, %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x79bac
leaq 0x27520d(%rip), %rsi # 0x4b48e5
movq %r14, %rdi
callq 0x6de90
movq (%rbx), %rax
movq... | /google[P]bloaty/third_party/googletest/googletest/src/gtest-internal-inl.h |
testing::internal::MatcherBase<std::basic_string_view<char, std::char_traits<char>>>::operator=(testing::internal::MatcherBase<std::basic_string_view<char, std::char_traits<char>>>&&) | MatcherBase& operator=(MatcherBase&& other) {
if (this == &other) return *this;
Destroy();
vtable_ = other.vtable_;
buffer_ = other.buffer_;
other.vtable_ = nullptr;
return *this;
} | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpq %rsi, %rdi
je 0x23facb
movq %rsi, %r14
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x23fab3
cmpq $0x0, 0x18(%rax)
je 0x23fab3
movq 0x10(%rbx), %rax
lock
decl (%rax)
jne 0x23fab3
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rdi
callq *0x18(%rax)
movq 0x8(%r14), %rax
movq %rax... | /google[P]bloaty/third_party/googletest/googletest/include/gtest/gtest-matchers.h |
testing::internal::CapturedStream::CapturedStream(int) | explicit CapturedStream(int fd) : fd_(fd), uncaptured_fd_(dup(fd)) {
# if GTEST_OS_WINDOWS
char temp_dir_path[MAX_PATH + 1] = { '\0' }; // NOLINT
char temp_file_path[MAX_PATH + 1] = { '\0' }; // NOLINT
::GetTempPathA(sizeof(temp_dir_path), temp_dir_path);
const UINT success = ::GetTempFileNameA(temp_... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rdi, %r14
movl %esi, (%rdi)
movl %esi, %edi
callq 0x6db90
movl %eax, 0x4(%r14)
leaq 0x8(%r14), %rbx
leaq 0x18(%r14), %r15
movq %r15, 0x8(%r14)
xorl %eax, %eax
movq %rax, 0x10(%r14)
movb %al, 0x18(%r14)
leaq 0x20(%rsp), %r12
movq %r12, -0x10(%... | /google[P]bloaty/third_party/googletest/googletest/src/gtest-port.cc |
testing::internal::CapturedStream::GetCapturedString[abi:cxx11]() | std::string GetCapturedString() {
if (uncaptured_fd_ != -1) {
// Restores the original stream.
fflush(nullptr);
dup2(uncaptured_fd_, fd_);
close(uncaptured_fd_);
uncaptured_fd_ = -1;
}
FILE* const file = posix::FOpen(filename_.c_str(), "r");
if (file == nullptr) {
GT... | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r15
movq %rdi, %rbx
cmpl $-0x1, 0x4(%rsi)
je 0x23fc89
xorl %edi, %edi
callq 0x6d820
movl (%r15), %esi
movl 0x4(%r15), %edi
callq 0x6d640
movl 0x4(%r15), %edi
callq 0x6ded0
movl $0xffffffff, 0x4(%r15) # imm = 0xFFFFFFFF
movq 0x8(%r15), %rdi
leaq 0x7f89c(%rip... | /google[P]bloaty/third_party/googletest/googletest/src/gtest-port.cc |
testing::internal::MatcherBase<std::basic_string_view<char, std::char_traits<char>> const&>::~MatcherBase() | ~MatcherBase() override { Destroy(); } | pushq %rax
leaq 0x342b4a(%rip), %rax # 0x582ae0
movq %rax, (%rdi)
movq 0x8(%rdi), %rax
testq %rax, %rax
je 0x23ffbd
cmpq $0x0, 0x18(%rax)
je 0x23ffbd
movq 0x10(%rdi), %rax
lock
decl (%rax)
jne 0x23ffbd
movq 0x8(%rdi), %rax
movq 0x10(%rdi), %rdi
callq *0x18(%rax)
popq %rax
retq
movq %rax, %rdi
callq 0x79c3c
nop
| /google[P]bloaty/third_party/googletest/googletest/include/gtest/gtest-matchers.h |
testing::internal::MatcherBase<std::basic_string_view<char, std::char_traits<char>>>::~MatcherBase() | ~MatcherBase() override { Destroy(); } | pushq %rax
leaq 0x342b28(%rip), %rax # 0x582b10
movq %rax, (%rdi)
movq 0x8(%rdi), %rax
testq %rax, %rax
je 0x24000f
cmpq $0x0, 0x18(%rax)
je 0x24000f
movq 0x10(%rdi), %rax
lock
decl (%rax)
jne 0x24000f
movq 0x8(%rdi), %rax
movq 0x10(%rdi), %rdi
callq *0x18(%rax)
popq %rax
retq
movq %rax, %rdi
callq 0x79c3c
nop
| /google[P]bloaty/third_party/googletest/googletest/include/gtest/gtest-matchers.h |
testing::internal::FloatingPoint<float>::AlmostEquals(testing::internal::FloatingPoint<float> const&) const | Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } | movl (%rdi), %eax
movl %eax, %ecx
notl %ecx
testl $0x7f800000, %ecx # imm = 0x7F800000
sete %cl
testl $0x7fffff, %eax # imm = 0x7FFFFF
setne %dl
testb %dl, %cl
jne 0x240a4d
movl (%rsi), %ecx
movl %ecx, %edx
notl %edx
testl $0x7f800000, %edx # imm = 0x7F800000
sete %dl
testl $0x7fffff, %ecx #... | /google[P]bloaty/third_party/googletest/googletest/include/gtest/internal/gtest-internal.h |
testing::internal::FloatingPoint<double>::AlmostEquals(testing::internal::FloatingPoint<double> const&) const | bool AlmostEquals(const FloatingPoint& rhs) const {
// The IEEE standard says that any comparison operation involving
// a NAN must return false.
if (is_nan() || rhs.is_nan()) return false;
return DistanceBetweenSignAndMagnitudeNumbers(u_.bits_, rhs.u_.bits_)
<= kMaxUlps;
} | movabsq $0x7ff0000000000000, %rdx # imm = 0x7FF0000000000000
movq (%rdi), %rax
movq %rax, %rcx
notq %rcx
testq %rdx, %rcx
sete %cl
movq %rax, %rdi
shlq $0xc, %rdi
setne %dil
testb %dil, %cl
jne 0x240ace
movabsq $0xfffffffffffff, %rdi # imm = 0xFFFFFFFFFFFFF
movq (%rsi), %rcx
movq %rcx, %rsi
notq %rsi
testq %rsi, %rdx
... | /google[P]bloaty/third_party/googletest/googletest/include/gtest/internal/gtest-internal.h |
testing::AssertionResult& testing::AssertionResult::operator<<<wchar_t const*>(wchar_t const* const&) | AssertionResult& operator<<(const T& value) {
AppendMessage(Message() << value);
return *this;
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x21b02a
movq (%r14), %rsi
movq %r15, %rdi
callq 0x21b07a
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x7a328
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x240bd6
movq (%rdi), %rax
callq *0x8(%rax)
m... | /google[P]bloaty/third_party/googletest/googletest/include/gtest/gtest.h |
void __gnu_cxx::new_allocator<testing::TestPartResult>::construct<testing::TestPartResult, testing::TestPartResult>(testing::TestPartResult*, testing::TestPartResult&&) | class GTEST_API_ TestPartResult {
public:
// The possible outcomes of a test part (i.e. an assertion or an
// explicit SUCCEED(), FAIL(), or ADD_FAILURE()).
enum Type {
kSuccess, // Succeeded.
kNonFatalFailure, // Failed but the test can continue.
kFatalFailure, // Failed and the test s... | movl (%rdx), %eax
movl %eax, (%rsi)
leaq 0x18(%rsi), %rcx
movq %rcx, 0x8(%rsi)
movq 0x8(%rdx), %rdi
leaq 0x18(%rdx), %rax
cmpq %rax, %rdi
je 0x240fc2
movq %rdi, 0x8(%rsi)
movq (%rax), %rcx
movq %rcx, 0x18(%rsi)
jmp 0x240fc8
movups (%rax), %xmm0
movups %xmm0, (%rcx)
movq 0x10(%rdx), %rcx
movq %rcx, 0x10(%rsi)
movq %rax,... | /google[P]bloaty/third_party/googletest/googletest/include/gtest/gtest-test-part.h |
testing::internal::GTestFlagSaver::~GTestFlagSaver() | ~GTestFlagSaver() {
GTEST_FLAG_SET(also_run_disabled_tests, also_run_disabled_tests_);
GTEST_FLAG_SET(break_on_failure, break_on_failure_);
GTEST_FLAG_SET(catch_exceptions, catch_exceptions_);
GTEST_FLAG_SET(color, color_);
GTEST_FLAG_SET(death_test_style, death_test_style_);
GTEST_FLAG_SET(deat... | pushq %rbx
movq %rdi, %rbx
movb (%rdi), %al
movb %al, 0x4b05e7(%rip) # 0x6f1beb
movb 0x1(%rdi), %al
movb %al, 0x4b05df(%rip) # 0x6f1bec
movb 0x2(%rdi), %al
movb %al, 0x4b05d7(%rip) # 0x6f1bed
leaq 0x8(%rdi), %rsi
leaq 0x4b05cf(%rip), %rdi # 0x6f1bf0
callq 0x6d3a0
leaq 0x28(%rbx), %rsi
leaq 0x4b0717(%rip)... | /google[P]bloaty/third_party/googletest/googletest/src/gtest-internal-inl.h |
testing::internal::ThreadLocal<std::vector<testing::internal::TraceInfo, std::allocator<testing::internal::TraceInfo>>>::CreateKey() | static pthread_key_t CreateKey() {
pthread_key_t key;
// When a thread exits, DeleteThreadLocalValue() will be called on
// the object managed for that thread.
GTEST_CHECK_POSIX_SUCCESS_(
pthread_key_create(&key, &DeleteThreadLocalValue));
return key;
} | pushq %rbx
subq $0x10, %rsp
leaq -0x52(%rip), %rsi # 0x241ed2
leaq 0xc(%rsp), %rdi
callq 0x6dc00
testl %eax, %eax
je 0x241f97
movl %eax, %ebx
leaq 0x273893(%rip), %rdx # 0x4b57ce
leaq 0x8(%rsp), %rdi
movl $0x3, %esi
movl $0x705, %ecx # imm = 0x705
callq 0x235d96
movq 0x34109a(%rip), %rdi # 0x582f... | /google[P]bloaty/third_party/googletest/googletest/include/gtest/internal/gtest-port.h |
testing::MatcherDescriberInterface const* testing::internal::MatcherBase<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&>::GetDescriberImpl<testing::internal::MatcherBase<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&>::ValuePolicy<testing::in... | static const MatcherDescriberInterface* GetDescriberImpl(
const MatcherBase& m) {
// If the impl is a MatcherDescriberInterface, then return it.
// Otherwise use MatcherBase itself.
// This allows us to implement the GetDescriber() function without support
// from the impl, but some users really w... | movq %rdi, %rax
retq
| /google[P]bloaty/third_party/googletest/googletest/include/gtest/gtest-matchers.h |
decltype(testing::internal::MatcherBase<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>::ValuePolicy<testing::internal::EqMatcher<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, false>::Get(fp).MatchAndExplain(fp0, fp1->stream())) testing::internal::Match... | static const M& Get(const MatcherBase& m) {
return static_cast<Shared*>(m.buffer_.shared)->value;
} | movq 0x10(%rdi), %rax
movq 0x8(%rsi), %rdx
cmpq 0x10(%rax), %rdx
jne 0x2425eb
testq %rdx, %rdx
je 0x2425ee
pushq %rax
movq 0x8(%rax), %rax
movq (%rsi), %rdi
movq %rax, %rsi
callq 0x6d6f0
testl %eax, %eax
sete %al
addq $0x8, %rsp
retq
xorl %eax, %eax
retq
movb $0x1, %al
retq
nop
| /google[P]bloaty/third_party/googletest/googletest/include/gtest/gtest-matchers.h |
decltype(testing::internal::MatcherBase<std::basic_string_view<char, std::char_traits<char>> const&>::ValuePolicy<testing::internal::EqMatcher<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, false>::Get(fp).MatchAndExplain(fp0, fp1->stream())) testing::internal::MatcherBase<std::basic_s... | static const M& Get(const MatcherBase& m) {
return static_cast<Shared*>(m.buffer_.shared)->value;
} | movq 0x10(%rdi), %rax
movq (%rsi), %rdx
cmpq 0x10(%rax), %rdx
jne 0x242636
testq %rdx, %rdx
je 0x242639
pushq %rax
movq 0x8(%rsi), %rdi
movq 0x8(%rax), %rsi
callq 0x6d6f0
testl %eax, %eax
sete %al
addq $0x8, %rsp
retq
xorl %eax, %eax
retq
movb $0x1, %al
retq
| /google[P]bloaty/third_party/googletest/googletest/include/gtest/gtest-matchers.h |
decltype(testing::internal::MatcherBase<std::basic_string_view<char, std::char_traits<char>>>::ValuePolicy<testing::internal::EqMatcher<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, false>::Get(fp).MatchAndExplain(fp0, fp1->stream())) testing::internal::MatcherBase<std::basic_string_v... | static const M& Get(const MatcherBase& m) {
return static_cast<Shared*>(m.buffer_.shared)->value;
} | movq 0x10(%rdi), %rax
movq (%rsi), %rdx
cmpq 0x10(%rax), %rdx
jne 0x242680
testq %rdx, %rdx
je 0x242683
pushq %rax
movq 0x8(%rsi), %rdi
movq 0x8(%rax), %rsi
callq 0x6d6f0
testl %eax, %eax
sete %al
addq $0x8, %rsp
retq
xorl %eax, %eax
retq
movb $0x1, %al
retq
| /google[P]bloaty/third_party/googletest/googletest/include/gtest/gtest-matchers.h |
testing::MatcherDescriberInterface const* testing::internal::MatcherBase<std::basic_string_view<char, std::char_traits<char>>>::GetDescriberImpl<testing::internal::MatcherBase<std::basic_string_view<char, std::char_traits<char>>>::ValuePolicy<testing::internal::EqMatcher<std::__cxx11::basic_string<char, std::char_trait... | static const MatcherDescriberInterface* GetDescriberImpl(
const MatcherBase& m) {
// If the impl is a MatcherDescriberInterface, then return it.
// Otherwise use MatcherBase itself.
// This allows us to implement the GetDescriber() function without support
// from the impl, but some users really w... | movq %rdi, %rax
retq
| /google[P]bloaty/third_party/googletest/googletest/include/gtest/gtest-matchers.h |
OPLL_dump2patch | void
OPLL_dump2patch (const e_uint8 * dump, OPLL_PATCH * patch)
{
patch[0].AM = (dump[0] >> 7) & 1;
patch[1].AM = (dump[1] >> 7) & 1;
patch[0].PM = (dump[0] >> 6) & 1;
patch[1].PM = (dump[1] >> 6) & 1;
patch[0].EG = (dump[0] >> 5) & 1;
patch[1].EG = (dump[1] >> 5) & 1;
patch[0].KR = (dump[0] >> 4... | movzbl (%rdi), %eax
shrl $0x7, %eax
movl %eax, 0x28(%rsi)
movzbl 0x1(%rdi), %eax
shrl $0x7, %eax
movl %eax, 0x5c(%rsi)
movzbl (%rdi), %eax
shrl $0x6, %eax
andl $0x1, %eax
movl %eax, 0x2c(%rsi)
movzbl 0x1(%rdi), %eax
shrl $0x6, %eax
andl $0x1, %eax
movl %eax, 0x60(%rsi)
movzbl (%rdi), %eax
shrl $0x5, %eax
andl $0x1, %ea... | /Wohlstand[P]scc/emidi_alpha/device/emu2413.c |
OPLL_set_rate | void
OPLL_set_rate (OPLL * opll, e_uint32 r)
{
if (opll->quality)
rate = 49716;
else
rate = r;
internal_refresh ();
rate = r;
} | pushq %rbx
movl %esi, %ebx
cmpl $0x0, 0x104(%rdi)
movl $0xc234, %eax # imm = 0xC234
cmovel %esi, %eax
movl %eax, 0x11d8e(%rip) # 0x1d190
callq 0xb40f
movl %ebx, 0x11d83(%rip) # 0x1d190
popq %rbx
retq
| /Wohlstand[P]scc/emidi_alpha/device/emu2413.c |
OPLL_setMask | e_uint32
OPLL_setMask (OPLL * opll, e_uint32 mask)
{
e_uint32 ret;
if (opll)
{
ret = opll->mask;
opll->mask = mask;
return ret;
}
else
return 0;
} | testq %rdi, %rdi
je 0xbe9f
movl 0xf48(%rdi), %eax
movl %esi, 0xf48(%rdi)
retq
xorl %eax, %eax
retq
| /Wohlstand[P]scc/emidi_alpha/device/emu2413.c |
internal_refresh | static void
internal_refresh (SCC * scc)
{
if (scc->quality)
{
scc->base_incr = 2 << GETA_BITS;
scc->realstep = (e_uint32) ((1 << 31) / scc->rate);
scc->sccstep = (e_uint32) ((1 << 31) / (scc->clk / 2));
scc->scctime = 0;
}
else
{
scc->base_incr = (e_uint32) ((double) scc->clk ... | cmpl $0x0, 0xc(%rdi)
je 0xcf84
movl $0x800000, 0x8(%rdi) # imm = 0x800000
xorl %ecx, %ecx
movl $0x80000000, %eax # imm = 0x80000000
xorl %edx, %edx
divl 0x4(%rdi)
movl %eax, 0x28(%rdi)
movl (%rdi), %esi
shrl %esi
movl $0x80000000, %eax # imm = 0x80000000
xorl %edx, %edx
divl %esi
movl %eax, 0x30(%rdi)
mo... | /Wohlstand[P]scc/emidi_alpha/device/emu2212.c |
hexdump | char *hexdump(const unsigned char *buffer, size_t len)
{
static char dump[200 * 3 + 1];
char *p = dump;
size_t i;
if(len > 200)
return NULL;
for(i = 0; i<len; i++, p += 3)
snprintf(p, 4, "%02x ", buffer[i]);
return dump;
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
cmpq $0xc8, %rsi
jbe 0x134b
xorl %ebx, %ebx
jmp 0x1395
movq %rsi, %r14
testq %rsi, %rsi
je 0x138e
movq %rdi, %r15
leaq 0x2d53(%rip), %rbx # 0x40b0
leaq 0xd62(%rip), %r12 # 0x20c6
xorl %ebp, %ebp
movq %rbx, %r13
movzbl (%r15,%rbp), %... | /mitls[P]mitls-curl/tests/libtest/first.c |
comex_fence_proc | int comex_fence_proc(int proc, comex_group_t group)
{
int *notify = NULL;
CHECK_GROUP(group,proc);
#if DEBUG
printf("[%d] comex_fence_proc(proc=%d,group=$d)\n",
l_state.rank, proc, group);
#endif
/* Corner case */
if (proc == l_state.rank) {
return COMEX_SUCCESS;
}
/* ... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebp
movl %edi, %ebx
movq %rsp, %rsi
movl %ebp, %edi
callq 0xb204
testl %eax, %eax
jne 0x9eeb
testl %ebx, %ebx
js 0x9ef4
cmpl %ebx, (%rsp)
jle 0x9efd
testl %ebp, %ebp
je 0x9e83
leaq 0x4(%rsp), %r14
movl %ebp, %edi
movl %ebx, %esi
movq %r14, %rdx
callq 0x... | /GlobalArrays[P]ga/comex/src-mpi/comex.c |
comex_finalize | int comex_finalize()
{
/* it's okay to call multiple times -- extra calls are no-ops */
if (!initialized) {
return COMEX_SUCCESS;
}
initialized = 0;
/* Make sure that all outstanding operations are done */
comex_barrier(COMEX_GROUP_WORLD);
/* groups */
comex_group_finalize();
... | cmpb $0x1, 0xdb42(%rip) # 0x181a8
jne 0xa69a
pushq %rax
movb $0x0, 0xdb38(%rip) # 0x181a8
xorl %edi, %edi
callq 0x9f1c
xorl %eax, %eax
callq 0xb560
movq 0xdb1b(%rip), %rdi # 0x181a0
callq 0x2190
leaq 0xdaaf(%rip), %rdi # 0x18140
callq 0x2260
addq $0x8, %rsp
xorl %eax, %eax
retq
| /GlobalArrays[P]ga/comex/src-mpi/comex.c |
comex_group_rank | int comex_group_rank(comex_group_t group, int *rank)
{
int status;
comex_igroup_t *igroup = comex_get_igroup_from_group(group);
status = MPI_Group_rank(igroup->group, rank);
if (status != MPI_SUCCESS) {
comex_error("MPI_Group_rank: Failed ", status);
}
return COMEX_SUCCESS;
} | pushq %rbx
movq %rsi, %rbx
callq 0xb188
movq 0x18(%rax), %rdi
movq %rbx, %rsi
callq 0x2100
testl %eax, %eax
je 0xb200
leaq 0x5a83(%rip), %rdi # 0x10c7c
movl %eax, %esi
callq 0x240f
xorl %eax, %eax
popq %rbx
retq
| /GlobalArrays[P]ga/comex/src-mpi/groups.c |
MA_push_get | public Boolean MA_push_get(
Integer datatype, /* of elements in this block */
Integer nelem, /* # of elements in this block */
const char *name, /* assigned to this block by client */
Integer *memhandle, /* RETURN: handle for this block */
MA_AccessIndex *index /*... | pushq %r14
pushq %rbx
pushq %rax
movq %r8, %rbx
movq %rcx, %r14
incq 0xb2d1(%rip) # 0x182b8
callq 0xd00d
testq %rax, %rax
je 0xd003
movq (%r14), %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xbb8c
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
| /GlobalArrays[P]ga/ma/ma.c |
ctemplate::StringToFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | void StringToFile(const string& s, const string& filename) {
FILE* fp = fopen(filename.c_str(), "wb");
ASSERT(fp);
size_t r = fwrite(s.data(), 1, s.length(), fp);
ASSERT(r == s.length());
fclose(fp);
g_time_mutex.Lock();
const time_t file_time = mock_time++;
g_time_mutex.Unlock();
struct utimbuf timb... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rdi
leaq 0x23da(%rip), %rsi # 0x8209
callq 0x5270
testq %rax, %rax
je 0x5ed4
movq %rax, %r15
movq (%r14), %rdi
movq 0x8(%r14), %rdx
movl $0x1, %esi
movq %rax, %rcx
callq 0x5400
cmpq 0x8(%r14), %rax
jne 0x5f0c... | /rockdreamer[P]ctemplate/src/tests/template_test_util.cc |
ctemplate::AssertExpandWithDataIs(ctemplate::Template const*, ctemplate::TemplateDictionary const*, ctemplate::PerExpandData*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool) | void AssertExpandWithDataIs(const Template* tpl,
const TemplateDictionary *dict,
PerExpandData* per_expand_data,
const string& is, bool expected) {
const char* buf = ExpandIs(tpl, dict, per_expand_data, expected);
if (strcmp(buf, is... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rcx, %rbx
movl %r8d, %ecx
callq 0x6199
movq %rax, %r14
movq (%rbx), %r15
movq %rax, %rdi
movq %r15, %rsi
callq 0x52e0
testl %eax, %eax
je 0x64ee
leaq 0x1fcf(%rip), %rdi # 0x84a2
movq %r15, %rsi
xorl %eax, %eax
callq 0x5040
leaq 0x1fcf(%rip), %rdi ... | /rockdreamer[P]ctemplate/src/tests/template_test_util.cc |
ctemplate::AssertExpandWithCacheIs(ctemplate::TemplateCache*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, ctemplate::Strip, ctemplate::TemplateDictionary const*, ctemplate::PerExpandData*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, b... | void AssertExpandWithCacheIs(TemplateCache* cache,
const string& filename, Strip strip,
const TemplateDictionary *dict,
PerExpandData* per_expand_data,
const string& is, bool expected) {
const char* buf... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %r9, %rbx
movzbl 0x50(%rsp), %r9d
callq 0x633e
movq %rax, %r14
movq (%rbx), %r15
movq %rax, %rdi
movq %r15, %rsi
callq 0x52e0
testl %eax, %eax
je 0x663e
leaq 0x1e7f(%rip), %rdi # 0x84a2
movq %r15, %rsi
xorl %eax, %eax
callq 0x5040
leaq 0x1e7f(%rip),... | /rockdreamer[P]ctemplate/src/tests/template_test_util.cc |
ctemplate::TemporaryRegisterTemplate::TemporaryRegisterTemplate(char const*) | TemporaryRegisterTemplate::TemporaryRegisterTemplate(const char* name) {
old_namelist_ = TemplateNamelist::namelist_;
if (old_namelist_) {
namelist_ = *old_namelist_;
}
namelist_.insert(name);
TemplateNamelist::namelist_ = &namelist_;
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r14
leaq 0x8(%rdi), %rbx
leaq 0x38(%rdi), %rax
movq %rax, 0x8(%rdi)
movq $0x1, 0x10(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x18(%rdi)
movl $0x3f800000, 0x28(%rdi) # imm = 0x3F800000
movups %xmm0, 0x30(%rdi)
movq 0x486d(%rip), %r15 # 0xafd8
movq (%r15), ... | /rockdreamer[P]ctemplate/src/tests/template_test_util.cc |
ctemplate::TemplateDictionaryPeer::GetSectionDictionaries(ctemplate::TemplateString const&, std::vector<ctemplate::TemplateDictionary const*, std::allocator<ctemplate::TemplateDictionary const*>>*) const | int TemplateDictionaryPeer::GetSectionDictionaries(
const TemplateString& section_name,
vector<const TemplateDictionary*>* dicts) const {
dicts->clear();
if (dict_->IsHiddenSection(section_name))
return 0;
TemplateDictionaryInterface::Iterator* di =
dict_->CreateSectionIterator(section_name);
... | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq (%rdx), %rax
cmpq %rax, 0x8(%rdx)
je 0x68b7
movq %rax, 0x8(%rbx)
movq (%r15), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x18(%rax)
movl %eax, %ecx
xorl %eax, %eax
testb %cl, %cl
jne 0x693a
movq (%r15), %rdi
movq (... | /rockdreamer[P]ctemplate/src/tests/template_test_util.cc |
ctemplate::TemplateDictionaryPeer::GetIncludeDictionaries(ctemplate::TemplateString const&, std::vector<ctemplate::TemplateDictionary const*, std::allocator<ctemplate::TemplateDictionary const*>>*) const | int TemplateDictionaryPeer::GetIncludeDictionaries(
const TemplateString& section_name,
vector<const TemplateDictionary*>* dicts) const {
dicts->clear();
if (dict_->IsHiddenTemplate(section_name))
return 0;
TemplateDictionaryInterface::Iterator* di =
dict_->CreateTemplateIterator(section_name);... | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq (%rdx), %rax
cmpq %rax, 0x8(%rdx)
je 0x6963
movq %rax, 0x8(%rbx)
movq (%r15), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x28(%rax)
movl %eax, %ecx
xorl %eax, %eax
testb %cl, %cl
jne 0x69e6
movq (%r15), %rdi
movq (... | /rockdreamer[P]ctemplate/src/tests/template_test_util.cc |
ycqian::thread_pool::thread_pool(unsigned long) | explicit thread_pool(size_t size) : data_(std::make_shared<data>()) {
for (size_t i = 0; i < size; ++i) {
std::thread([data = data_]{
std::unique_lock<std::mutex> lk(data->mutex);
for (;;) {
if (data->tasks.size()>0) {
... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r15
movq %rdi, %rbx
callq 0x291a
leaq 0x18(%rsp), %r14
leaq 0x10(%rsp), %r12
leaq 0x8(%rsp), %r13
subq $0x1, %r15
jb 0x2695
movq %r12, %rdi
movq %rbx, %rsi
callq 0x2f20
movq %r13, %rdi
movq %r12, %rsi
callq 0x2936
movq %r13, %rdi
callq ... | /QianYC[P]libycqian/examples/thread/../../thread/thread_pool.hpp |
compute_padded_integral_img_simd_early_cast_int(unsigned char*, integral_image*) | void compute_padded_integral_img_simd_early_cast_int(uint8_t *gray_image, struct integral_image *iimage) {
float *iimage_padded_data = iimage->padded_data;
int data_width = iimage->data_width;
int data_height = iimage->data_height;
int width = iimage->width;
int height = iimage->height;
i... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movslq 0x10(%rsi), %r9
movslq (%rsi), %r8
movq 0x18(%rsi), %r12
movslq 0x14(%rsi), %r15
movslq 0x4(%rsi), %r13
movl $0x2, %ecx
vxorps %xmm0, %xmm0, %xmm0
movq %rdi, %r11
movl %r9d, %eax
subl %r8d, %eax
leaq (,%r9,4), %r14
leaq -0x7(%r9), %rbx
cltd
idivl ... | /laurinpaech[P]Haswellhof/src/optimization/integral_image_simd.cpp |
get_msurf_descriptor_precompute_gauss_case(integral_image*, interest_point*) | void get_msurf_descriptor_precompute_gauss_case(struct integral_image* iimage, struct interest_point* ipoint) {
/*
applied optimizations:
- all of get_msurf_inlinedHaarWavelets
- precompute gauss_s2 like get_msurf_descriptor_gauss_s2_precomputed
(changed to use case statements here)
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
vpbroadcastd 0x16832(%rip), %xmm1 # 0x600a0
vpbroadcastd 0x16825(%rip), %xmm0 # 0x6009c
vmovd 0x8(%rsi), %xmm14
vmovss 0x16a00(%rip), %xmm3 # 0x60284
vmovsd 0x1683c(%rip), %xmm5 # 0x600c8
movq %rdi, %r14
movq %rsi, 0x98(%rsp)
vmovd... | /laurinpaech[P]Haswellhof/src/optimization/descriptor_opt.cpp |
get_msurf_descriptor_rounding_unroll_2_24_True_winner_unconditional(integral_image*, interest_point*) | void get_msurf_descriptor_rounding_unroll_2_24_True_winner_unconditional(struct integral_image* iimage, struct interest_point* ipoint) {
float scale = ipoint->scale;
int int_scale = (int) roundf(scale);
float scale_squared = scale*scale;
float g1_factor = -0.08f / (scale_squared);
float ipoint_x ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
vmovss 0x8(%rsi), %xmm4
vpbroadcastd 0x10bdb(%rip), %xmm5 # 0x600a0
vpbroadcastd 0x10bce(%rip), %xmm6 # 0x6009c
vmovd 0x4(%rsi), %xmm2
movq %rdi, 0xc0(%rsp)
movq %rsi, 0x98(%rsp)
vmulss %xmm4, %xmm4, %xmm1
vmovaps %xmm4, 0xa0(%rsp)
vmovd... | /laurinpaech[P]Haswellhof/src/optimization/descriptor_opt.cpp |
haarXY(integral_image*, int, int, int, float*, float*) | inline void haarXY(struct integral_image *iimage, int row, int col, int scale, float* haarX, float* haarY) {
// TODO: (Sebastian) fix for iimage with padding
int width = iimage->width;
int height = iimage->height;
// subtracting by one for row/col because row/col is inclusive.
int r0 = MIN(row... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movl 0x4(%rdi), %r10d
movl (%rdi), %eax
leal (%rcx,%rsi), %r14d
movl %esi, %r12d
leal (%rsi,%rcx,2), %ebp
movl %edx, %ebx
vxorps %xmm0, %xmm0, %xmm0
vxorps %xmm1, %xmm1, %xmm1
cmpl %esi, %r10d
leal (%rcx,%rdx), %esi
leal (%rdx,%rcx,2), %ecx
cmovll %r10d,... | /laurinpaech[P]Haswellhof/src/optimization/descriptor_opt.h |
box_integral_improved(integral_image*, int, int, int, int) | inline float box_integral_improved(struct integral_image *iimage, int row, int col, int rows, int cols) {
float *data = (float *)iimage->data;
int data_width = iimage->data_width;
int width = iimage->width;
int height = iimage->height;
float temp0, temp1, res;
// subtracting by one for row/col ... | pushq %rbp
pushq %r14
pushq %rbx
movl 0x4(%rdi), %r14d
movl (%rdi), %ebp
movl %esi, %ebx
movl %edx, %r10d
movq 0x8(%rdi), %rax
movl 0x10(%rdi), %r9d
vxorps %xmm0, %xmm0, %xmm0
vxorps %xmm1, %xmm1, %xmm1
cmpl %esi, %r14d
cmovll %r14d, %ebx
cmpl %edx, %ebp
cmovll %ebp, %r10d
addl %esi, %ecx
leal -0x1(%rbx), %r11d
cmpl %r... | /laurinpaech[P]Haswellhof/src/optimization/integral_image_opt.h |
validate_integral_image_int(void (*)(unsigned char*, integral_image*), std::vector<void (*)(unsigned char*, integral_image*), std::allocator<void (*)(unsigned char*, integral_image*)>> const&, int, int, unsigned char*, bool) | bool validate_integral_image_int(void (*original_function)(uint8_t *, struct integral_image *),
const std::vector<void (*)(uint8_t *, struct integral_image *)> &test_functions, int width,
int height, uint8_t *image, bool is_padded) {
// Checking ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r12
movq %rdi, %rbx
movq %r8, 0x10(%rsp)
movl %ecx, %ebp
movl %edx, %r15d
movl %r9d, 0xc(%rsp)
movl %edx, %edi
movl %ecx, %esi
testl %r9d, %r9d
je 0x53e1d
callq 0xc01b
jmp 0x53e22
callq 0x8590
movq 0x10(%rsp), %rdi
movq %rax,... | /laurinpaech[P]Haswellhof/src/validation/validation.cpp |
validate_get_msurf_descriptors(void (*)(integral_image*, interest_point*), std::vector<void (*)(integral_image*, interest_point*), std::allocator<void (*)(integral_image*, interest_point*)>> const&, integral_image*, std::vector<interest_point, std::allocator<interest_point>> const*) | bool validate_get_msurf_descriptors(
void (*original_function)(struct integral_image *, struct interest_point *),
const std::vector<void (*)(struct integral_image *, struct interest_point *)> &test_functions,
struct integral_image *iimage, const std::vector<struct interest_point> *interest_points) {
// ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x258, %rsp # imm = 0x258
movq %rdi, 0x10(%rsp)
leaq 0x18(%rsp), %rdi
movq %rsi, %r15
movq %rcx, %rsi
movq %rcx, %rbx
movq %rdx, 0x8(%rsp)
callq 0x54852
movb $0x1, %bpl
pushq $0x32
popq %r12
movq 0x8(%rbx), %rax
movl $0x114, %ecx ... | /laurinpaech[P]Haswellhof/src/validation/validation.cpp |
are_bool_matrices_equal(bool*, bool*, int, int) | inline bool are_bool_matrices_equal(bool *matrix1, bool *matrix2, int width, int height) {
for (int i = 0; i < height; i++) {
for (int j = 0; j < width; j++) {
if (matrix1[i * width + j] != matrix2[i * width + j]) {
printf("DIFFERENCE LAPLACIAN: (%i, %i)\n", i, j);
... | pushq %r14
pushq %rbx
pushq %rax
movl %ecx, %ebx
movl %edx, %eax
sarl $0x1f, %eax
movl %ebx, %r8d
sarl $0x1f, %r8d
movslq %edx, %rcx
xorl %r14d, %r14d
andnl %edx, %eax, %eax
andnl %ebx, %r8d, %r8d
cmpq %r8, %r14
je 0x547a4
xorl %edx, %edx
cmpq %rdx, %rax
je 0x54788
movb (%rdi,%rdx), %r9b
cmpb (%rsi,%rdx), %r9b
jne 0x54... | /laurinpaech[P]Haswellhof/src/base/helper.h |
stbi__load_and_postprocess_16bit(stbi__context*, int*, int*, int*, int) | static stbi__uint16 *stbi__load_and_postprocess_16bit(stbi__context *s, int *x, int *y, int *comp, int req_comp)
{
stbi__result_info ri;
void *result = stbi__load_main(s, x, y, comp, req_comp, &ri, 16);
if (result == NULL)
return NULL;
if (ri.bits_per_channel != 16) {
STBI_ASSERT(ri.bits_per_c... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
leaq 0x1c(%rsp), %r9
movl %r8d, %ebx
movq %rcx, %r13
movq %rdx, %r14
movq %rsi, %r15
movl $0x10, (%rsp)
callq 0x56ab1
testq %rax, %rax
je 0x54d95
cmpl $0x10, 0x1c(%rsp)
movq %rax, %rbp
movq %r13, 0x10(%rsp)
jne 0x54d9d
movq %rbp, %r13
jm... | /laurinpaech[P]Haswellhof/src/base/stb_image.h |
stbi_load_16_from_memory | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels)
{
stbi__context s;
stbi__start_mem(&s,buffer,len);
return stbi__load_and_postprocess_16bit(&s,x,y,channels_in_file,desired_channels);
} | subq $0xd8, %rsp
movq %rsp, %rax
andq $0x0, 0x10(%rax)
andl $0x0, 0x30(%rax)
movslq %esi, %rsi
movq %rdi, 0xc8(%rax)
movq %rdi, 0xb8(%rax)
addq %rdi, %rsi
movq %rax, %rdi
movq %rsi, 0xd0(%rax)
movq %rsi, 0xc0(%rax)
movq %rdx, %rsi
movq %rcx, %rdx
movq %r8, %rcx
movl %r9d, %r8d
callq 0x54d51
addq $0xd8, %rsp
retq
| /laurinpaech[P]Haswellhof/src/base/stb_image.h |
stbi_load_from_memory | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp)
{
stbi__context s;
stbi__start_mem(&s,buffer,len);
return stbi__load_and_postprocess_8bit(&s,x,y,comp,req_comp);
} | subq $0xd8, %rsp
movq %rsp, %rax
andq $0x0, 0x10(%rax)
andl $0x0, 0x30(%rax)
movslq %esi, %rsi
movq %rdi, 0xc8(%rax)
movq %rdi, 0xb8(%rax)
addq %rdi, %rsi
movq %rax, %rdi
movq %rsi, 0xd0(%rax)
movq %rsi, 0xc0(%rax)
movq %rdx, %rsi
movq %rcx, %rdx
movq %r8, %rcx
movl %r9d, %r8d
callq 0x54bd2
addq $0xd8, %rsp
retq
| /laurinpaech[P]Haswellhof/src/base/stb_image.h |
stbi_loadf | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp)
{
float *result;
FILE *f = stbi__fopen(filename, "rb");
if (!f) return stbi__errpf("can't fopen", "Unable to open file");
result = stbi_loadf_from_file(f,x,y,comp,req_comp);
fclose(f);
return result;
} | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %r12
leaq 0xbcae(%rip), %rsi # 0x61290
movl %r8d, %ebx
movq %rcx, %r14
movq %rdx, %r15
callq 0x8180
testq %rax, %rax
je 0x5561c
movq %rax, %r13
movq %rax, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
movl %ebx, %r8d
callq 0x55638
movq %r13, ... | /laurinpaech[P]Haswellhof/src/base/stb_image.h |
stbi__hdr_test(stbi__context*) | static int stbi__hdr_test(stbi__context* s)
{
int r = stbi__hdr_test_core(s, "#?RADIANCE\n");
stbi__rewind(s);
if(!r) {
r = stbi__hdr_test_core(s, "#?RGBE\n");
stbi__rewind(s);
}
return r;
} | pushq %rbx
leaq 0xc0ed(%rip), %rsi # 0x617c3
movq %rdi, %rbx
callq 0x5f693
vmovups 0xc8(%rbx), %xmm0
vmovups %xmm0, 0xb8(%rbx)
testl %eax, %eax
je 0x556f7
pushq $0x1
popq %rax
popq %rbx
retq
leaq 0xc0d1(%rip), %rsi # 0x617cf
movq %rbx, %rdi
callq 0x5f693
vmovups 0xc8(%rbx), %xmm0
vmovups %xmm0, 0xb8(%rbx)
pop... | /laurinpaech[P]Haswellhof/src/base/stb_image.h |
stbi_zlib_decode_malloc_guesssize_headerflag | STBIDEF char *stbi_zlib_decode_malloc_guesssize_headerflag(const char *buffer, int len, int initial_size, int *outlen, int parse_header)
{
stbi__zbuf a;
char *p = (char *) stbi__malloc(initial_size);
if (p == NULL) return NULL;
a.zbuffer = (stbi_uc *) buffer;
a.zbuffer_end = (stbi_uc *) buffer + len;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x1000, %rsp # imm = 0x1000
movq %rdi, %r15
movslq %edx, %rdi
movl %r8d, %ebp
movq %rcx, %rbx
movl %edx, %r14d
movl %esi, %r12d
callq 0x81b0
testq %rax, %rax
je 0x55e70
movslq %r12d, %rcx
movq %rsp, %rdi
movq %r15, (%rdi)
addq %r15, %rcx
movq %rcx, ... | /laurinpaech[P]Haswellhof/src/base/stb_image.h |
stbi_zlib_decode_noheader_malloc | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen)
{
stbi__zbuf a;
char *p = (char *) stbi__malloc(16384);
if (p == NULL) return NULL;
a.zbuffer = (stbi_uc *) buffer;
a.zbuffer_end = (stbi_uc *) buffer+len;
if (stbi__do_zlib(&a, p, 16384, 1, 0)) {
if (outlen... | pushq %rbp
pushq %r14
pushq %rbx
subq $0x1000, %rsp # imm = 0x1000
movq %rdi, %r14
movl $0x4000, %edi # imm = 0x4000
movq %rdx, %rbx
movl %esi, %ebp
callq 0x81b0
testq %rax, %rax
je 0x55f33
movslq %ebp, %rcx
movq %rsp, %rdi
movq %r14, (%rdi)
addq %r14, %rcx
movq %rcx, 0x8(%rdi)
pushq $0x1
popq %rcx
... | /laurinpaech[P]Haswellhof/src/base/stb_image.h |
stbi__info_main(stbi__context*, int*, int*, int*) | static int stbi__info_main(stbi__context *s, int *x, int *y, int *comp)
{
#ifndef STBI_NO_JPEG
if (stbi__jpeg_info(s, x, y, comp)) return 1;
#endif
#ifndef STBI_NO_PNG
if (stbi__png_info(s, x, y, comp)) return 1;
#endif
#ifndef STBI_NO_GIF
if (stbi__gif_info(s, x, y, comp)) return 1;
#end... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x428, %rsp # imm = 0x428
movq %rdi, %r12
movl $0x4888, %edi # imm = 0x4888
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
callq 0x81b0
movq %rax, %r13
movq %r12, (%rax)
pushq $0x2
popq %rsi
movq %rax, %rdi
callq 0x5a51d
movl ... | /laurinpaech[P]Haswellhof/src/base/stb_image.h |
stbi_is_16_bit_from_file | STBIDEF int stbi_is_16_bit_from_file(FILE *f)
{
int r;
stbi__context s;
long pos = ftell(f);
stbi__start_file(&s, f);
r = stbi__is_16_main(&s);
fseek(f,pos,SEEK_SET);
return r;
} | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0xd8, %rsp
movq %rdi, %rbx
callq 0x8030
movq %rsp, %r15
movq %rax, %r14
movq %r15, %rdi
movq %rbx, %rsi
callq 0x54bc3
movq %r15, %rdi
callq 0x566b1
movl %eax, %ebp
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x8170
movl %ebp, %eax
addq $0xd8, %rsp
popq %rbx
po... | /laurinpaech[P]Haswellhof/src/base/stb_image.h |
main | int main(int argc, char const *argv[])
{
if (argc != 3) {
printf("Invaid argument count.\nUsage:\n\t./surf image_path descriptor_file_target_path\n");
return 1;
}
int width, height, channels;
// Load image
stbi_ldr_to_hdr_gamma(1.0f);
float* image = stbi_loadf(argv[1], &width, &height, &cha... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
cmpl $0x3, %edi
jne 0x569da
movl $0x3f800000, 0x128ee(%rip) # imm = 0x3F800000
movq %rsi, %r12
leaq 0x8(%rsp), %rdx
leaq 0x4(%rsp), %rcx
movq 0x8(%rsi), %rdi
leaq 0xc(%rsp), %rsi
pushq $0x1
popq %r8
callq 0x555cf
testq %rax, %rax
je 0x56... | /laurinpaech[P]Haswellhof/src/playground/main_playground.cpp |
stbi__gif_test(stbi__context*) | static int stbi__gif_test(stbi__context *s)
{
int r = stbi__gif_test_raw(s);
stbi__rewind(s);
return r;
} | pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x5b739
xorl %ebp, %ebp
cmpb $0x47, %al
jne 0x5a04e
movq %rbx, %rdi
callq 0x5b739
cmpb $0x49, %al
jne 0x5a04e
movq %rbx, %rdi
callq 0x5b739
cmpb $0x46, %al
jne 0x5a04e
movq %rbx, %rdi
callq 0x5b739
cmpb $0x38, %al
jne 0x5a04e
movq %rbx, %rdi
callq 0x5b739
cmpb $0x3... | /laurinpaech[P]Haswellhof/src/base/stb_image.h |
stbi__decode_jpeg_header(stbi__jpeg*, int) | static int stbi__decode_jpeg_header(stbi__jpeg *z, int scan)
{
int m;
z->jfif = 0;
z->app14_color_transform = -1; // valid values are 0,1,2
z->marker = STBI__MARKER_none; // initialize cached marker to empty
m = stbi__get_marker(z);
if (!stbi__SOI(m)) return stbi__err("no SOI","Corrupt JPEG");
if (... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movabsq $-0x100000000, %rax # imm = 0xFFFFFFFF00000000
movl %esi, %r14d
movq %rdi, %rbx
movq %rax, 0x4848(%rdi)
movb $-0x1, 0x4828(%rdi)
callq 0x5b265
cmpb $-0x28, %al
jne 0x5a5a5
pushq $0x1
popq %rbp
cmpl $0x1, %r14d
je 0x5a5b7
movq... | /laurinpaech[P]Haswellhof/src/base/stb_image.h |
stbi__at_eof(stbi__context*) | stbi_inline static int stbi__at_eof(stbi__context *s)
{
if (s->io.read) {
if (!(s->io.eof)(s->io_user_data)) return 0;
// if feof() is true, check if buffer = end
// special case: we've only got the special 0 character at the end
if (s->read_from_callbacks == 0) return 1;
}
return s->i... | pushq %rbx
cmpq $0x0, 0x10(%rdi)
movq %rdi, %rbx
je 0x5b71b
movq 0x28(%rbx), %rdi
callq *0x20(%rbx)
testl %eax, %eax
je 0x5b730
cmpl $0x0, 0x30(%rbx)
je 0x5b734
movq 0xb8(%rbx), %rcx
xorl %eax, %eax
cmpq 0xc0(%rbx), %rcx
setae %al
jmp 0x5b737
xorl %eax, %eax
jmp 0x5b737
pushq $0x1
popq %rax
popq %rbx
retq
| /laurinpaech[P]Haswellhof/src/base/stb_image.h |
stbi__skip(stbi__context*, int) | static void stbi__skip(stbi__context *s, int n)
{
if (n < 0) {
s->img_buffer = s->img_buffer_end;
return;
}
if (s->io.read) {
int blen = (int) (s->img_buffer_end - s->img_buffer);
if (blen < n) {
s->img_buffer = s->img_buffer_end;
(s->io.skip)(s->io_user_data, n - blen... | testl %esi, %esi
js 0x5b996
cmpq $0x0, 0x10(%rdi)
je 0x5b99f
movq 0xc0(%rdi), %rdx
movq 0xb8(%rdi), %rcx
movl %esi, %eax
movl %edx, %r8d
subl %ecx, %r8d
subl %r8d, %eax
jle 0x5b9a6
movq %rdx, 0xb8(%rdi)
movl %eax, %esi
movq 0x18(%rdi), %rcx
movq 0x28(%rdi), %rdi
jmpq *%rcx
movq 0xc0(%rdi), %rax
jmp 0x5b9ab
movq 0xb8(%r... | /laurinpaech[P]Haswellhof/src/base/stb_image.h |
stbi__check_png_header(stbi__context*) | static int stbi__check_png_header(stbi__context *s)
{
static const stbi_uc png_sig[8] = { 137,80,78,71,13,10,26,10 };
int i;
for (i=0; i < 8; ++i)
if (stbi__get8(s) != png_sig[i]) return stbi__err("bad png sig","Not a PNG");
return 1;
} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
xorl %r15d, %r15d
pushq $0x1
popq %rbx
leaq 0x5163(%rip), %r12 # 0x61288
cmpq $0x8, %r15
je 0x5c152
movq %r14, %rdi
callq 0x5b739
leaq 0x1(%r15), %rcx
cmpb (%r15,%r12), %al
movq %rcx, %r15
je 0x5c125
leaq 0x531c(%rip), %rax # 0x61463
xorl ... | /laurinpaech[P]Haswellhof/src/base/stb_image.h |
Subsets and Splits
SQL Console for LLM4Binary/decompile-bench
Filters out entries with file names ending in .cpp, providing a basic subset of the dataset that excludes C++ files.