name string | code string | asm string | file string |
|---|---|---|---|
ComparisonFailure::ComparisonFailure(UtestShell*, char const*, unsigned long, SimpleString const&, SimpleString const&, SimpleString const&) | ComparisonFailure::ComparisonFailure(UtestShell *test, const char *fileName, size_t lineNumber, const SimpleString& checkString, const SimpleString &comparisonString, const SimpleString &text)
: TestFailure(test, fileName, lineNumber)
{
message_ = createUserText(text);
message_ += checkString;
message_ += "... | subq $0x58, %rsp
movq 0x60(%rsp), %rax
movq %rdi, 0x50(%rsp)
movq %rsi, 0x48(%rsp)
movq %rdx, 0x40(%rsp)
movq %rcx, 0x38(%rsp)
movq %r8, 0x30(%rsp)
movq %r9, 0x28(%rsp)
movq 0x50(%rsp), %rdi
movq %rdi, (%rsp)
movq 0x48(%rsp), %rsi
movq 0x40(%rsp), %rdx
movq 0x38(%rsp), %rcx
callq 0x78d90
movq (%rsp), %rsi
leaq 0x4a669(... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/TestFailure.cpp |
ContainsFailure::ContainsFailure(UtestShell*, char const*, unsigned long, SimpleString const&, SimpleString const&, SimpleString const&) | ContainsFailure::ContainsFailure(UtestShell* test, const char* fileName, size_t lineNumber, const SimpleString& expected, const SimpleString& actual, const SimpleString& text)
: TestFailure(test, fileName, lineNumber)
{
message_ = createUserText(text);
message_ += StringFromFormat("actual <%s>\n\tdid not conta... | subq $0x78, %rsp
movq 0x80(%rsp), %rax
movq %rdi, 0x70(%rsp)
movq %rsi, 0x68(%rsp)
movq %rdx, 0x60(%rsp)
movq %rcx, 0x58(%rsp)
movq %r8, 0x50(%rsp)
movq %r9, 0x48(%rsp)
movq 0x70(%rsp), %rdi
movq %rdi, 0x10(%rsp)
movq 0x68(%rsp), %rsi
movq 0x60(%rsp), %rdx
movq 0x58(%rsp), %rcx
callq 0x78d90
movq 0x10(%rsp), %rsi
leaq ... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/TestFailure.cpp |
CheckFailure::CheckFailure(UtestShell*, char const*, unsigned long, SimpleString const&, SimpleString const&, SimpleString const&) | CheckFailure::CheckFailure(UtestShell* test, const char* fileName, size_t lineNumber, const SimpleString& checkString, const SimpleString& conditionString, const SimpleString& text)
: TestFailure(test, fileName, lineNumber)
{
message_ = createUserText(text);
message_ += checkString;
message_ += "(";
me... | subq $0x58, %rsp
movq 0x60(%rsp), %rax
movq %rdi, 0x50(%rsp)
movq %rsi, 0x48(%rsp)
movq %rdx, 0x40(%rsp)
movq %rcx, 0x38(%rsp)
movq %r8, 0x30(%rsp)
movq %r9, 0x28(%rsp)
movq 0x50(%rsp), %rdi
movq %rdi, (%rsp)
movq 0x48(%rsp), %rsi
movq 0x40(%rsp), %rdx
movq 0x38(%rsp), %rcx
callq 0x78d90
movq (%rsp), %rsi
leaq 0x4a4a9(... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/TestFailure.cpp |
LongsEqualFailure::LongsEqualFailure(UtestShell*, char const*, unsigned long, long, long, SimpleString const&) | LongsEqualFailure::LongsEqualFailure(UtestShell* test, const char* fileName, size_t lineNumber, long expected, long actual, const SimpleString& text)
: TestFailure(test, fileName, lineNumber)
{
message_ = createUserText(text);
SimpleString aDecimal = StringFrom(actual);
SimpleString eDecimal = StringFrom(e... | subq $0x108, %rsp # imm = 0x108
movq 0x110(%rsp), %rax
movq %rdi, 0x100(%rsp)
movq %rsi, 0xf8(%rsp)
movq %rdx, 0xf0(%rsp)
movq %rcx, 0xe8(%rsp)
movq %r8, 0xe0(%rsp)
movq %r9, 0xd8(%rsp)
movq 0x100(%rsp), %rdi
movq %rdi, (%rsp)
movq 0xf8(%rsp), %rsi
movq 0xf0(%rsp), %rdx
movq 0xe8(%rsp), %rcx
callq 0x78d90
mo... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/TestFailure.cpp |
StringEqualFailure::StringEqualFailure(UtestShell*, char const*, unsigned long, char const*, char const*, SimpleString const&) | StringEqualFailure::StringEqualFailure(UtestShell* test, const char* fileName, size_t lineNumber, const char* expected, const char* actual, const SimpleString& text)
: TestFailure(test, fileName, lineNumber)
{
message_ = createUserText(text);
message_ += createButWasString(StringFromOrNull(expected), StringFro... | subq $0xb8, %rsp
movq 0xc0(%rsp), %rax
movq %rdi, 0xb0(%rsp)
movq %rsi, 0xa8(%rsp)
movq %rdx, 0xa0(%rsp)
movq %rcx, 0x98(%rsp)
movq %r8, 0x90(%rsp)
movq %r9, 0x88(%rsp)
movq 0xb0(%rsp), %rdi
movq %rdi, 0x8(%rsp)
movq 0xa8(%rsp), %rsi
movq 0xa0(%rsp), %rdx
movq 0x98(%rsp), %rcx
callq 0x78d90
movq 0x8(%rsp), %rsi
leaq 0x... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/TestFailure.cpp |
StringEqualNoCaseFailure::StringEqualNoCaseFailure(UtestShell*, char const*, unsigned long, char const*, char const*, SimpleString const&) | StringEqualNoCaseFailure::StringEqualNoCaseFailure(UtestShell* test, const char* fileName, size_t lineNumber, const char* expected, const char* actual, const SimpleString& text)
: TestFailure(test, fileName, lineNumber)
{
message_ = createUserText(text);
message_ += createButWasString(StringFromOrNull(expected... | subq $0xb8, %rsp
movq 0xc0(%rsp), %rax
movq %rdi, 0xb0(%rsp)
movq %rsi, 0xa8(%rsp)
movq %rdx, 0xa0(%rsp)
movq %rcx, 0x98(%rsp)
movq %r8, 0x90(%rsp)
movq %r9, 0x88(%rsp)
movq 0xb0(%rsp), %rdi
movq %rdi, 0x8(%rsp)
movq 0xa8(%rsp), %rsi
movq 0xa0(%rsp), %rdx
movq 0x98(%rsp), %rcx
callq 0x78d90
movq 0x8(%rsp), %rsi
leaq 0x... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/TestFailure.cpp |
BitsEqualFailure::BitsEqualFailure(UtestShell*, char const*, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, SimpleString const&) | BitsEqualFailure::BitsEqualFailure(UtestShell* test, const char* fileName, size_t lineNumber, unsigned long expected, unsigned long actual,
unsigned long mask, size_t byteCount, const SimpleString& text)
: TestFailure(test, fileName, lineNumber)
{
message_ = createUserText(text);
... | subq $0x88, %rsp
movq 0xa0(%rsp), %rax
movq 0x98(%rsp), %rax
movq 0x90(%rsp), %rax
movq %rdi, 0x80(%rsp)
movq %rsi, 0x78(%rsp)
movq %rdx, 0x70(%rsp)
movq %rcx, 0x68(%rsp)
movq %r8, 0x60(%rsp)
movq %r9, 0x58(%rsp)
movq 0x80(%rsp), %rdi
movq %rdi, (%rsp)
movq 0x78(%rsp), %rsi
movq 0x70(%rsp), %rdx
movq 0x68(%rsp), %rcx
c... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/TestFailure.cpp |
FeatureUnsupportedFailure::FeatureUnsupportedFailure(UtestShell*, char const*, unsigned long, SimpleString const&, SimpleString const&) | FeatureUnsupportedFailure::FeatureUnsupportedFailure(UtestShell* test, const char* fileName, size_t lineNumber,
const SimpleString& featureName, const SimpleString& text)
: TestFailure(test, fileName, lineNumber)
{
message_ = createUserText(text);
message_ +... | subq $0x78, %rsp
movq %rdi, 0x70(%rsp)
movq %rsi, 0x68(%rsp)
movq %rdx, 0x60(%rsp)
movq %rcx, 0x58(%rsp)
movq %r8, 0x50(%rsp)
movq %r9, 0x48(%rsp)
movq 0x70(%rsp), %rdi
movq %rdi, 0x10(%rsp)
movq 0x68(%rsp), %rsi
movq 0x60(%rsp), %rdx
movq 0x58(%rsp), %rcx
callq 0x78d90
movq 0x10(%rsp), %rsi
leaq 0x48744(%rip), %rax ... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/TestFailure.cpp |
TestOutput::printCurrentTestStarted(UtestShell const&) | void TestOutput::printCurrentTestStarted(const UtestShell& test)
{
if (verbose_ > level_quiet) print(test.getFormattedName().asCharString());
if (test.willRun()) {
setProgressIndicator(".");
}
else {
setProgressIndicator("!");
}
} | subq $0x48, %rsp
movq %rdi, 0x40(%rsp)
movq %rsi, 0x38(%rsp)
movq 0x40(%rsp), %rax
movq %rax, 0x10(%rsp)
cmpl $0x0, 0xc(%rax)
jle 0x7cf10
movq 0x38(%rsp), %rsi
movq (%rsi), %rax
movq 0x28(%rax), %rax
leaq 0x28(%rsp), %rdi
movq %rdi, (%rsp)
callq *%rax
movq (%rsp), %rdi
callq 0x72040
movq %rax, 0x8(%rsp)
jmp 0x7ced5
mov... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/TestOutput.cpp |
TestOutput::printCurrentTestEnded(TestResult const&) | void TestOutput::printCurrentTestEnded(const TestResult& res)
{
if (verbose_ > level_quiet) {
print(" - ");
print(res.getCurrentTestTotalExecutionTime());
print(" ms\n");
}
else {
printProgressIndicator();
}
} | subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
movq 0x10(%rsp), %rax
movq %rax, (%rsp)
cmpl $0x0, 0xc(%rax)
jle 0x7cfb8
movq (%rsp), %rdi
movq (%rdi), %rax
leaq 0x1294f(%rip), %rsi # 0x8f8da
callq *0x58(%rax)
movq 0x8(%rsp), %rdi
callq 0x76960
movq (%rsp), %rdi
movq %rax, %rsi
movq (%rdi), %rax
callq *... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/TestOutput.cpp |
TestOutput::printTestsEnded(TestResult const&) | void TestOutput::printTestsEnded(const TestResult& result)
{
print("\n");
const bool isFailure = result.isFailure();
const size_t failureCount = result.getFailureCount();
if (isFailure) {
if (color_) {
print("\033[31;1m");
}
print("Errors (");
if (failureCount... | subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq 0x20(%rsp), %rdi
movq %rdi, (%rsp)
movq (%rdi), %rax
leaq 0xf692(%rip), %rsi # 0x8c723
callq *0x58(%rax)
movq 0x18(%rsp), %rdi
callq 0x704d0
andb $0x1, %al
movb %al, 0x17(%rsp)
movq 0x18(%rsp), %rdi
callq 0x6e310
movq %rax, 0x8(%rsp)
testb $0x1, 0x1... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/TestOutput.cpp |
TestOutput::printTestRun(unsigned long, unsigned long) | void TestOutput::printTestRun(size_t number, size_t total)
{
if (total > 1) {
print("Test run ");
print(number);
print(" of ");
print(total);
print("\n");
}
} | subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq %rdx, 0x10(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x8(%rsp)
cmpq $0x1, 0x10(%rsp)
jbe 0x7d31b
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
leaq 0x12727(%rip), %rsi # 0x8f9fb
callq *0x58(%rax)
movq 0x8(%rsp), %rdi
movq 0x18(%rsp), %rsi
movq (%rdi), %rax
cal... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/TestOutput.cpp |
TestOutput::printFileAndLineForTestAndFailure(TestFailure const&) | void TestOutput::printFileAndLineForTestAndFailure(const TestFailure& failure)
{
printErrorInFileOnLineFormattedForWorkingEnvironment(failure.getTestFileName(), failure.getTestLineNumber());
printFailureInTest(failure.getTestName());
printErrorInFileOnLineFormattedForWorkingEnvironment(failure.getFileName()... | subq $0x78, %rsp
movq %rdi, 0x70(%rsp)
movq %rsi, 0x68(%rsp)
movq 0x70(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x68(%rsp), %rsi
movq (%rsi), %rax
movq 0x38(%rax), %rax
leaq 0x58(%rsp), %rdi
callq *%rax
movq 0x68(%rsp), %rdi
movq (%rdi), %rax
movq 0x40(%rax), %rax
callq *%rax
movq %rax, 0x20(%rsp)
jmp 0x7d410
movq 0x20(%... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/TestOutput.cpp |
TestOutput::printFileAndLineForFailure(TestFailure const&) | void TestOutput::printFileAndLineForFailure(const TestFailure& failure)
{
printErrorInFileOnLineFormattedForWorkingEnvironment(failure.getFileName(), failure.getFailureLineNumber());
printFailureInTest(failure.getTestName());
} | subq $0x58, %rsp
movq %rdi, 0x50(%rsp)
movq %rsi, 0x48(%rsp)
movq 0x50(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x48(%rsp), %rsi
movq (%rsi), %rax
movq 0x10(%rax), %rax
leaq 0x38(%rsp), %rdi
callq *%rax
movq 0x48(%rsp), %rdi
movq (%rdi), %rax
movq 0x28(%rax), %rax
callq *%rax
movq %rax, 0x10(%rsp)
jmp 0x7d550
movq 0x10(%r... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/TestOutput.cpp |
TestOutput::printErrorInFileOnLineFormattedForWorkingEnvironment(SimpleString, unsigned long) | void TestOutput::printErrorInFileOnLineFormattedForWorkingEnvironment(SimpleString file, size_t lineNumber)
{
if (TestOutput::getWorkingEnvironment() == TestOutput::visualStudio)
printVisualStudioErrorInFileOnLine(file, lineNumber);
else
printEclipseErrorInFileOnLine(file, lineNumber);
} | subq $0x68, %rsp
movq %rsi, 0x10(%rsp)
movq %rdi, 0x60(%rsp)
movq %rsi, 0x58(%rsp)
movq %rdx, 0x50(%rsp)
movq 0x60(%rsp), %rax
movq %rax, 0x18(%rsp)
callq 0x7cb90
cmpl $0x0, %eax
jne 0x7d6e3
movq 0x10(%rsp), %rsi
leaq 0x40(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x71410
movq 0x18(%rsp), %rdi
movq 0x8(%rsp), %rsi
movq 0x... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/TestOutput.cpp |
TestOutput::printEclipseErrorInFileOnLine(SimpleString, unsigned long) | void TestOutput::printEclipseErrorInFileOnLine(SimpleString file, size_t lineNumber)
{
print("\n");
print(file.asCharString());
print(":");
print(lineNumber);
print(":");
print(" error:");
} | subq $0x28, %rsp
movq %rsi, (%rsp)
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq %rdx, 0x10(%rsp)
movq 0x20(%rsp), %rdi
movq %rdi, 0x8(%rsp)
movq (%rdi), %rax
leaq 0xef58(%rip), %rsi # 0x8c723
callq *0x58(%rax)
movq (%rsp), %rdi
callq 0x72040
movq 0x8(%rsp), %rdi
movq %rax, %rsi
movq (%rdi), %rax
callq *0x58(%r... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/TestOutput.cpp |
TestOutput::printVisualStudioErrorInFileOnLine(SimpleString, unsigned long) | void TestOutput::printVisualStudioErrorInFileOnLine(SimpleString file, size_t lineNumber)
{
print("\n");
print(file.asCharString());
print("(");
print(lineNumber);
print("):");
print(" error:");
} | subq $0x28, %rsp
movq %rsi, (%rsp)
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq %rdx, 0x10(%rsp)
movq 0x20(%rsp), %rdi
movq %rdi, 0x8(%rsp)
movq (%rdi), %rax
leaq 0xeec8(%rip), %rsi # 0x8c723
callq *0x58(%rax)
movq (%rsp), %rdi
callq 0x72040
movq 0x8(%rsp), %rdi
movq %rax, %rsi
movq (%rdi), %rax
callq *0x58(%r... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/TestOutput.cpp |
SimpleStringBuffer::add(char const*, ...) | void SimpleStringBuffer::add(const char* format, ...)
{
const size_t positions_left = write_limit_ - positions_filled_;
if (positions_left == 0) return;
va_list arguments;
va_start(arguments, format);
const int count = PlatformSpecificVSNprintf(buffer_ + positions_filled_, positions_left+1, format,... | subq $0x108, %rsp # imm = 0x108
testb %al, %al
je 0x7e2af
movaps %xmm0, 0x40(%rsp)
movaps %xmm1, 0x50(%rsp)
movaps %xmm2, 0x60(%rsp)
movaps %xmm3, 0x70(%rsp)
movaps %xmm4, 0x80(%rsp)
movaps %xmm5, 0x90(%rsp)
movaps %xmm6, 0xa0(%rsp)
movaps %xmm7, 0xb0(%rsp)
movq %r9, 0x38(%rsp)
movq %r8, 0x30(%rsp)
movq %rcx... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/MemoryLeakDetector.cpp |
MemoryLeakOutputStringBuffer::reportMemoryLeak(MemoryLeakDetectorNode*) | void MemoryLeakOutputStringBuffer::reportMemoryLeak(MemoryLeakDetectorNode* leak)
{
if (total_leaks_ == 0) {
addMemoryLeakHeader();
}
total_leaks_++;
outputBuffer_.add("Alloc num (%u) Leak size: %lu Allocated at: %s and line: %d. Type: \"%s\"\n\tMemory: <%p> Content:\n",
leak->numbe... | subq $0x58, %rsp
movq %rdi, 0x50(%rsp)
movq %rsi, 0x48(%rsp)
movq 0x50(%rsp), %rax
movq %rax, 0x40(%rsp)
cmpq $0x0, (%rax)
jne 0x7e7f8
movq 0x40(%rsp), %rdi
callq 0x7e8e0
movq 0x40(%rsp), %rax
movq (%rax), %rcx
addq $0x1, %rcx
movq %rcx, (%rax)
addq $0x10, %rax
movq %rax, 0x18(%rsp)
movq 0x48(%rsp), %rax
movl 0x8(%rax)... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/MemoryLeakDetector.cpp |
MemoryLeakOutputStringBuffer::stopMemoryLeakReporting() | void MemoryLeakOutputStringBuffer::stopMemoryLeakReporting()
{
if (total_leaks_ == 0) {
addNoMemoryLeaksMessage();
return;
}
bool buffer_reached_its_capacity = outputBuffer_.reachedItsCapacity();
outputBuffer_.resetWriteLimit();
if (buffer_reached_its_capacity)
addErrorMess... | subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq 0x10(%rsp), %rax
movq %rax, (%rsp)
cmpq $0x0, (%rax)
jne 0x7e923
movq (%rsp), %rdi
callq 0x7e760
jmp 0x7e972
movq (%rsp), %rdi
addq $0x10, %rdi
callq 0x7e630
movq (%rsp), %rdi
andb $0x1, %al
movb %al, 0xf(%rsp)
addq $0x10, %rdi
callq 0x7e610
testb $0x1, 0xf(%rsp)
je 0x7e953
m... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/MemoryLeakDetector.cpp |
MemoryLeakDetectorNode::init(char*, unsigned int, unsigned long, TestMemoryAllocator*, MemLeakPeriod, unsigned char, char const*, unsigned long) | void MemoryLeakDetectorNode::init(char* memory, unsigned number, size_t size, TestMemoryAllocator* allocator, MemLeakPeriod period, unsigned char allocation_stage, const char* file, size_t line)
{
number_ = number;
memory_ = memory;
size_ = size;
allocator_ = allocator;
period_ = period;
allocat... | movq 0x18(%rsp), %rax
movq 0x10(%rsp), %rax
movb 0x8(%rsp), %al
movq %rdi, -0x8(%rsp)
movq %rsi, -0x10(%rsp)
movl %edx, -0x14(%rsp)
movq %rcx, -0x20(%rsp)
movq %r8, -0x28(%rsp)
movl %r9d, -0x2c(%rsp)
movq -0x8(%rsp), %rax
movl -0x14(%rsp), %ecx
movl %ecx, 0x8(%rax)
movq -0x10(%rsp), %rcx
movq %rcx, 0x10(%rax)
movq -0x2... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/MemoryLeakDetector.cpp |
MemoryLeakDetectorList::clearAllAccounting(MemLeakPeriod) | void MemoryLeakDetectorList::clearAllAccounting(MemLeakPeriod period)
{
MemoryLeakDetectorNode* cur = head_;
MemoryLeakDetectorNode* prev = NULLPTR;
while (cur) {
if (isInPeriod(cur, period)) {
if (prev) {
prev->next_ = cur->next_;
cur = prev;
... | subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movl %esi, 0x1c(%rsp)
movq 0x20(%rsp), %rax
movq %rax, (%rsp)
movq (%rax), %rax
movq %rax, 0x10(%rsp)
movq $0x0, 0x8(%rsp)
cmpq $0x0, 0x10(%rsp)
je 0x7ee53
movq (%rsp), %rdi
movq 0x10(%rsp), %rsi
movl 0x1c(%rsp), %edx
callq 0x7ed20
testb $0x1, %al
jne 0x7edf7
jmp 0x7ee39
cmpq $0x0... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/MemoryLeakDetector.cpp |
MemoryLeakDetectorList::removeNode(char*) | MemoryLeakDetectorNode* MemoryLeakDetectorList::removeNode(char* memory)
{
MemoryLeakDetectorNode* cur = head_;
MemoryLeakDetectorNode* prev = NULLPTR;
while (cur) {
if (cur->memory_ == memory) {
if (prev) {
prev->next_ = cur->next_;
return cur;
... | movq %rdi, -0x10(%rsp)
movq %rsi, -0x18(%rsp)
movq -0x10(%rsp), %rax
movq %rax, -0x30(%rsp)
movq (%rax), %rax
movq %rax, -0x20(%rsp)
movq $0x0, -0x28(%rsp)
cmpq $0x0, -0x20(%rsp)
je 0x7ef2a
movq -0x20(%rsp), %rax
movq 0x10(%rax), %rax
cmpq -0x18(%rsp), %rax
jne 0x7ef10
cmpq $0x0, -0x28(%rsp)
je 0x7eef3
movq -0x20(%rsp)... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/MemoryLeakDetector.cpp |
MemoryLeakDetectorList::retrieveNode(char*) | MemoryLeakDetectorNode* MemoryLeakDetectorList::retrieveNode(char* memory)
{
MemoryLeakDetectorNode* cur = head_;
while (cur) {
if (cur->memory_ == memory)
return cur;
cur = cur->next_;
}
return NULLPTR;
} | movq %rdi, -0x10(%rsp)
movq %rsi, -0x18(%rsp)
movq -0x10(%rsp), %rax
movq (%rax), %rax
movq %rax, -0x20(%rsp)
cmpq $0x0, -0x20(%rsp)
je 0x7ef8b
movq -0x20(%rsp), %rax
movq 0x10(%rax), %rax
cmpq -0x18(%rsp), %rax
jne 0x7ef7b
movq -0x20(%rsp), %rax
movq %rax, -0x8(%rsp)
jmp 0x7ef94
movq -0x20(%rsp), %rax
movq 0x38(%rax),... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/MemoryLeakDetector.cpp |
MemoryLeakDetector::MemoryLeakDetector(MemoryLeakFailure*) | MemoryLeakDetector::MemoryLeakDetector(MemoryLeakFailure* reporter)
{
doAllocationTypeChecking_ = true;
allocationSequenceNumber_ = 1;
current_period_ = mem_leak_period_disabled;
current_allocation_stage_ = 0;
reporter_ = reporter;
mutex_ = new SimpleMutex;
} | subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq 0x30(%rsp), %rdi
movq %rdi, 0x8(%rsp)
leaq 0x45cb9(%rip), %rax # 0xc5328
movq %rax, (%rdi)
addq $0x18, %rdi
callq 0x7e650
movq 0x8(%rsp), %rdi
addq $0x1038, %rdi # imm = 0x1038
callq 0x806a0
movq 0x8(%rsp), %rax
movb $0x1, 0x1280(%rax)
movl... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/MemoryLeakDetector.cpp |
MemoryLeakDetector::validMemoryCorruptionInformation(char*) | bool MemoryLeakDetector::validMemoryCorruptionInformation(char* memory)
{
for (size_t i=0; i<memory_corruption_buffer_size; i++)
if (memory[i] != GuardBytes[i % sizeof(GuardBytes)])
return false;
return true;
} | movq %rdi, -0x10(%rsp)
movq %rsi, -0x18(%rsp)
movq $0x0, -0x20(%rsp)
cmpq $0x3, -0x20(%rsp)
jae 0x7fe08
movq -0x18(%rsp), %rax
movq -0x20(%rsp), %rcx
movsbl (%rax,%rcx), %eax
movl %eax, -0x24(%rsp)
movq -0x20(%rsp), %rax
movl $0x3, %ecx
xorl %edx, %edx
divq %rcx
movl -0x24(%rsp), %eax
leaq 0x10025(%rip), %rcx # 0x8... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/MemoryLeakDetector.cpp |
MemoryLeakDetector::checkForCorruption(MemoryLeakDetectorNode*, char const*, unsigned long, TestMemoryAllocator*, bool) | void MemoryLeakDetector::checkForCorruption(MemoryLeakDetectorNode* node, const char* file, size_t line, TestMemoryAllocator* allocator, bool allocateNodesSeperately)
{
if (!matchingAllocation(node->allocator_->actualAllocator(), allocator->actualAllocator()))
outputBuffer_.reportAllocationDeallocationMisma... | subq $0x88, %rsp
movb %r9b, %al
movq %rdi, 0x80(%rsp)
movq %rsi, 0x78(%rsp)
movq %rdx, 0x70(%rsp)
movq %rcx, 0x68(%rsp)
movq %r8, 0x60(%rsp)
andb $0x1, %al
movb %al, 0x5f(%rsp)
movq 0x80(%rsp), %rax
movq %rax, 0x48(%rsp)
movq 0x78(%rsp), %rax
movq 0x28(%rax), %rdi
movq (%rdi), %rax
callq *0x50(%rax)
movq %rax, 0x50(%rs... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/MemoryLeakDetector.cpp |
MemoryLeakDetector::allocMemory(TestMemoryAllocator*, unsigned long, char const*, unsigned long, bool) | char* MemoryLeakDetector::allocMemory(TestMemoryAllocator* allocator, size_t size, const char* file, size_t line, bool allocatNodesSeperately)
{
#ifdef CPPUTEST_DISABLE_MEM_CORRUPTION_CHECK
allocatNodesSeperately = true;
#endif
/* With malloc, it is harder to guarantee that the allocator free is called.
* T... | subq $0x58, %rsp
movb %r9b, %al
movq %rdi, 0x48(%rsp)
movq %rsi, 0x40(%rsp)
movq %rdx, 0x38(%rsp)
movq %rcx, 0x30(%rsp)
movq %r8, 0x28(%rsp)
andb $0x1, %al
movb %al, 0x27(%rsp)
movq 0x48(%rsp), %rdi
movq %rdi, 0x8(%rsp)
movq 0x40(%rsp), %rsi
movq 0x38(%rsp), %rdx
movq 0x30(%rsp), %rcx
movq 0x28(%rsp), %r8
movb 0x27(%rs... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/MemoryLeakDetector.cpp |
MemoryLeakDetector::deallocMemory(TestMemoryAllocator*, void*, char const*, unsigned long, bool) | void MemoryLeakDetector::deallocMemory(TestMemoryAllocator* allocator, void* memory, const char* file, size_t line, bool allocatNodesSeperately)
{
if (memory == NULLPTR) return;
MemoryLeakDetectorNode* node = memoryTable_.removeNode((char*) memory);
if (node == NULLPTR) {
outputBuffer_.reportDeallo... | subq $0x48, %rsp
movb %r9b, %al
movq %rdi, 0x40(%rsp)
movq %rsi, 0x38(%rsp)
movq %rdx, 0x30(%rsp)
movq %rcx, 0x28(%rsp)
movq %r8, 0x20(%rsp)
andb $0x1, %al
movb %al, 0x1f(%rsp)
movq 0x40(%rsp), %rax
movq %rax, (%rsp)
cmpq $0x0, 0x30(%rsp)
jne 0x8027c
jmp 0x80324
movq (%rsp), %rdi
addq $0x1038, %rdi # imm = 0x... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/MemoryLeakDetector.cpp |
MemoryLeakDetector::deallocAllMemoryInCurrentAllocationStage() | void MemoryLeakDetector::deallocAllMemoryInCurrentAllocationStage()
{
char* memory = NULLPTR;
MemoryLeakDetectorNode* node = memoryTable_.getFirstLeakForAllocationStage(current_allocation_stage_);
while (node) {
memory = node->memory_;
TestMemoryAllocator* allocator = node->allocator_;
... | subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq 0x20(%rsp), %rax
movq %rax, (%rsp)
movq $0x0, 0x18(%rsp)
movq %rax, %rdi
addq $0x1038, %rdi # imm = 0x1038
movzbl 0x1288(%rax), %esi
callq 0x7f410
movq %rax, 0x10(%rsp)
cmpq $0x0, 0x10(%rsp)
je 0x80423
movq (%rsp), %rax
movq 0x10(%rsp), %rcx
movq 0x10(%rcx), %rcx
mo... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/MemoryLeakDetector.cpp |
MemoryLeakDetector::reallocMemory(TestMemoryAllocator*, char*, unsigned long, char const*, unsigned long, bool) | char* MemoryLeakDetector::reallocMemory(TestMemoryAllocator* allocator, char* memory, size_t size, const char* file, size_t line, bool allocatNodesSeperately)
{
#ifdef CPPUTEST_DISABLE_MEM_CORRUPTION_CHECK
allocatNodesSeperately = true;
#endif
if (memory) {
MemoryLeakDetectorNode* node = memoryTable_.rem... | subq $0x58, %rsp
movb 0x60(%rsp), %al
movq %rdi, 0x48(%rsp)
movq %rsi, 0x40(%rsp)
movq %rdx, 0x38(%rsp)
movq %rcx, 0x30(%rsp)
movq %r8, 0x28(%rsp)
movq %r9, 0x20(%rsp)
andb $0x1, %al
movb %al, 0x1f(%rsp)
movq 0x48(%rsp), %rax
movq %rax, 0x8(%rsp)
cmpq $0x0, 0x38(%rsp)
je 0x804e8
movq 0x8(%rsp), %rdi
addq $0x1038, %rdi ... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/MemoryLeakDetector.cpp |
MemoryLeakDetector::ConstructMemoryLeakReport(MemLeakPeriod) | void MemoryLeakDetector::ConstructMemoryLeakReport(MemLeakPeriod period)
{
MemoryLeakDetectorNode* leak = memoryTable_.getFirstLeak(period);
outputBuffer_.startMemoryLeakReporting();
while (leak) {
outputBuffer_.reportMemoryLeak(leak);
leak = memoryTable_.getNextLeak(leak, period);
}
... | subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movl %esi, 0x1c(%rsp)
movq 0x20(%rsp), %rdi
movq %rdi, 0x8(%rsp)
addq $0x1038, %rdi # imm = 0x1038
movl 0x1c(%rsp), %esi
callq 0x7f390
movq 0x8(%rsp), %rdi
movq %rax, 0x10(%rsp)
addq $0x18, %rdi
callq 0x7e780
cmpq $0x0, 0x10(%rsp)
je 0x805a6
movq 0x8(%rsp), %rdi
addq $0x... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/MemoryLeakDetector.cpp |
UtestShell::runOneTestInCurrentProcess(TestPlugin*, TestResult&) | void UtestShell::runOneTestInCurrentProcess(TestPlugin* plugin, TestResult& result)
{
result.printVeryVerbose("\n-- before runAllPreTestAction: ");
plugin->runAllPreTestAction(*this, result);
result.printVeryVerbose("\n-- after runAllPreTestAction: ");
//save test context, so that test class can be tes... | subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq %rdx, 0x20(%rsp)
movq 0x30(%rsp), %rax
movq %rax, (%rsp)
movq 0x20(%rsp), %rdi
movq (%rdi), %rax
leaq 0xeb82(%rip), %rsi # 0x8ffcd
callq *0x78(%rax)
movq (%rsp), %rsi
movq 0x28(%rsp), %rdi
movq 0x20(%rsp), %rdx
movq (%rdi), %rax
callq *0x28(%rax)
mo... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/Utest.cpp |
UtestShell::getFormattedName() const | SimpleString UtestShell::getFormattedName() const
{
SimpleString formattedName(getMacroName());
formattedName += "(";
formattedName += group_;
formattedName += ", ";
formattedName += name_;
formattedName += ")";
return formattedName;
} | subq $0x48, %rsp
movq %rdi, 0x18(%rsp)
movq %rdi, %rax
movq %rax, 0x8(%rsp)
movq %rdi, 0x40(%rsp)
movq %rsi, 0x38(%rsp)
movq 0x38(%rsp), %rsi
movq %rsi, 0x10(%rsp)
movb $0x0, 0x37(%rsp)
movq (%rsi), %rax
movq 0x140(%rax), %rax
callq *%rax
movq 0x18(%rsp), %rdi
leaq 0xe167(%rip), %rsi # 0x8f919
callq 0x72240
jmp 0x... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/Utest.cpp |
UtestShell::match(char const*, TestFilter const*) const | bool UtestShell::match(const char* target, const TestFilter* filters) const
{
if(filters == NULLPTR) return true;
for(; filters != NULLPTR; filters = filters->getNext())
if(filters->match(target)) return true;
return false;
} | subq $0x58, %rsp
movq %rdi, 0x48(%rsp)
movq %rsi, 0x40(%rsp)
movq %rdx, 0x38(%rsp)
cmpq $0x0, 0x38(%rsp)
jne 0x819a5
movb $0x1, 0x57(%rsp)
jmp 0x81a32
jmp 0x819a7
cmpq $0x0, 0x38(%rsp)
je 0x81a2d
movq 0x38(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x40(%rsp), %rsi
leaq 0x28(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0x71300
m... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/Utest.cpp |
UtestShell::fail(char const*, char const*, unsigned long, TestTerminator const&) | void UtestShell::fail(const char *text, const char* fileName, size_t lineNumber, const TestTerminator& testTerminator)
{
getTestResult()->countCheck();
failWith(FailFailure(this, fileName, lineNumber, text), testTerminator);
} | subq $0xd8, %rsp
movq %rdi, 0xd0(%rsp)
movq %rsi, 0xc8(%rsp)
movq %rdx, 0xc0(%rsp)
movq %rcx, 0xb8(%rsp)
movq %r8, 0xb0(%rsp)
movq 0xd0(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x815d0
movq %rax, %rdi
movq (%rdi), %rax
movq 0x50(%rax), %rax
callq *%rax
movq 0xc0(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0xb8(%rsp), %rax
mov... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/Utest.cpp |
UtestShell::assertCstrEqual(char const*, char const*, char const*, char const*, unsigned long, TestTerminator const&) | void UtestShell::assertCstrEqual(const char* expected, const char* actual, const char* text, const char* fileName, size_t lineNumber, const TestTerminator& testTerminator)
{
getTestResult()->countCheck();
if (actual == NULLPTR && expected == NULLPTR) return;
if (actual == NULLPTR || expected == NULLPTR)
... | subq $0x198, %rsp # imm = 0x198
movq 0x1a0(%rsp), %rax
movq %rdi, 0x190(%rsp)
movq %rsi, 0x188(%rsp)
movq %rdx, 0x180(%rsp)
movq %rcx, 0x178(%rsp)
movq %r8, 0x170(%rsp)
movq %r9, 0x168(%rsp)
movq 0x190(%rsp), %rdi
movq %rdi, 0x60(%rsp)
callq 0x815d0
movq %rax, %rdi
movq (%rdi), %rax
callq *0x50(%rax)
cmpq $0... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/Utest.cpp |
UtestShell::assertCstrNEqual(char const*, char const*, unsigned long, char const*, char const*, unsigned long, TestTerminator const&) | void UtestShell::assertCstrNEqual(const char* expected, const char* actual, size_t length, const char* text, const char* fileName, size_t lineNumber, const TestTerminator& testTerminator)
{
getTestResult()->countCheck();
if (actual == NULLPTR && expected == NULLPTR) return;
if (actual == NULLPTR || expected... | subq $0x198, %rsp # imm = 0x198
movq 0x1a8(%rsp), %rax
movq 0x1a0(%rsp), %rax
movq %rdi, 0x190(%rsp)
movq %rsi, 0x188(%rsp)
movq %rdx, 0x180(%rsp)
movq %rcx, 0x178(%rsp)
movq %r8, 0x170(%rsp)
movq %r9, 0x168(%rsp)
movq 0x190(%rsp), %rdi
movq %rdi, 0x60(%rsp)
callq 0x815d0
movq %rax, %rdi
movq (%rdi), %rax
ca... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/Utest.cpp |
UtestShell::assertCstrContains(char const*, char const*, char const*, char const*, unsigned long) | void UtestShell::assertCstrContains(const char* expected, const char* actual, const char* text, const char* fileName, size_t lineNumber)
{
getTestResult()->countCheck();
if (actual == NULLPTR && expected == NULLPTR) return;
if (actual == NULLPTR || expected == NULLPTR)
failWith(ContainsFailure(this,... | subq $0x1c8, %rsp # imm = 0x1C8
movq %rdi, 0x1c0(%rsp)
movq %rsi, 0x1b8(%rsp)
movq %rdx, 0x1b0(%rsp)
movq %rcx, 0x1a8(%rsp)
movq %r8, 0x1a0(%rsp)
movq %r9, 0x198(%rsp)
movq 0x1c0(%rsp), %rdi
movq %rdi, 0x30(%rsp)
callq 0x815d0
movq %rax, %rdi
movq (%rdi), %rax
callq *0x50(%rax)
cmpq $0x0, 0x1b0(%rsp)
jne 0x8... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/Utest.cpp |
UtestShell::assertLongsEqual(long, long, char const*, char const*, unsigned long, TestTerminator const&) | void UtestShell::assertLongsEqual(long expected, long actual, const char* text, const char* fileName, size_t lineNumber, const TestTerminator& testTerminator)
{
getTestResult()->countCheck();
if (expected != actual)
failWith(LongsEqualFailure (this, fileName, lineNumber, expected, actual, text), testTer... | subq $0xf8, %rsp
movq 0x100(%rsp), %rax
movq %rdi, 0xf0(%rsp)
movq %rsi, 0xe8(%rsp)
movq %rdx, 0xe0(%rsp)
movq %rcx, 0xd8(%rsp)
movq %r8, 0xd0(%rsp)
movq %r9, 0xc8(%rsp)
movq 0xf0(%rsp), %rdi
movq %rdi, 0x38(%rsp)
callq 0x815d0
movq %rax, %rdi
movq (%rdi), %rax
callq *0x50(%rax)
movq 0xe8(%rsp), %rax
cmpq 0xe0(%rsp), %... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/Utest.cpp |
UtestShell::assertLongLongsEqual(long long, long long, char const*, char const*, unsigned long, TestTerminator const&) | void UtestShell::assertLongLongsEqual(cpputest_longlong expected, cpputest_longlong actual, const char* text, const char* fileName, size_t lineNumber, const TestTerminator& testTerminator)
{
getTestResult()->countCheck();
#ifdef CPPUTEST_USE_LONG_LONG
if (expected != actual)
failWith(LongLongsEqualFailu... | subq $0xf8, %rsp
movq 0x100(%rsp), %rax
movq %rdi, 0xf0(%rsp)
movq %rsi, 0xe8(%rsp)
movq %rdx, 0xe0(%rsp)
movq %rcx, 0xd8(%rsp)
movq %r8, 0xd0(%rsp)
movq %r9, 0xc8(%rsp)
movq 0xf0(%rsp), %rdi
movq %rdi, 0x38(%rsp)
callq 0x815d0
movq %rax, %rdi
movq (%rdi), %rax
callq *0x50(%rax)
movq 0xe8(%rsp), %rax
cmpq 0xe0(%rsp), %... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/Utest.cpp |
UtestShell::assertUnsignedLongLongsEqual(unsigned long long, unsigned long long, char const*, char const*, unsigned long, TestTerminator const&) | void UtestShell::assertUnsignedLongLongsEqual(cpputest_ulonglong expected, cpputest_ulonglong actual, const char* text, const char* fileName, size_t lineNumber, const TestTerminator& testTerminator)
{
getTestResult()->countCheck();
#ifdef CPPUTEST_USE_LONG_LONG
if (expected != actual)
failWith(UnsignedL... | subq $0xf8, %rsp
movq 0x100(%rsp), %rax
movq %rdi, 0xf0(%rsp)
movq %rsi, 0xe8(%rsp)
movq %rdx, 0xe0(%rsp)
movq %rcx, 0xd8(%rsp)
movq %r8, 0xd0(%rsp)
movq %r9, 0xc8(%rsp)
movq 0xf0(%rsp), %rdi
movq %rdi, 0x38(%rsp)
callq 0x815d0
movq %rax, %rdi
movq (%rdi), %rax
callq *0x50(%rax)
movq 0xe8(%rsp), %rax
cmpq 0xe0(%rsp), %... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/Utest.cpp |
UtestShell::assertDoublesEqual(double, double, double, char const*, char const*, unsigned long, TestTerminator const&) | void UtestShell::assertDoublesEqual(double expected, double actual, double threshold, const char* text, const char* fileName, size_t lineNumber, const TestTerminator& testTerminator)
{
getTestResult()->countCheck();
if (!doubles_equal(expected, actual, threshold))
failWith(DoublesEqualFailure(this, file... | subq $0x108, %rsp # imm = 0x108
movq %rdi, 0x100(%rsp)
movsd %xmm0, 0xf8(%rsp)
movsd %xmm1, 0xf0(%rsp)
movsd %xmm2, 0xe8(%rsp)
movq %rsi, 0xe0(%rsp)
movq %rdx, 0xd8(%rsp)
movq %rcx, 0xd0(%rsp)
movq %r8, 0xc8(%rsp)
movq 0x100(%rsp), %rdi
movq %rdi, 0x38(%rsp)
callq 0x815d0
movq %rax, %rdi
movq (%rdi), %rax
ca... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/Utest.cpp |
UtestShell::assertBitsEqual(unsigned long, unsigned long, unsigned long, unsigned long, char const*, char const*, unsigned long, TestTerminator const&) | void UtestShell::assertBitsEqual(unsigned long expected, unsigned long actual, unsigned long mask, size_t byteCount, const char* text, const char *fileName, size_t lineNumber, const TestTerminator& testTerminator)
{
getTestResult()->countCheck();
if ((expected & mask) != (actual & mask))
failWith(BitsEq... | subq $0x118, %rsp # imm = 0x118
movq 0x130(%rsp), %rax
movq 0x128(%rsp), %rax
movq 0x120(%rsp), %rax
movq %rdi, 0x110(%rsp)
movq %rsi, 0x108(%rsp)
movq %rdx, 0x100(%rsp)
movq %rcx, 0xf8(%rsp)
movq %r8, 0xf0(%rsp)
movq %r9, 0xe8(%rsp)
movq 0x110(%rsp), %rdi
movq %rdi, 0x58(%rsp)
callq 0x815d0
movq %rax, %rdi
... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/Utest.cpp |
UtestShell::assertEquals(bool, char const*, char const*, char const*, char const*, unsigned long, TestTerminator const&) | void UtestShell::assertEquals(bool failed, const char* expected, const char* actual, const char* text, const char* file, size_t line, const TestTerminator& testTerminator)
{
getTestResult()->countCheck();
if (failed)
failWith(CheckEqualFailure(this, file, line, expected, actual, text), testTerminator);
... | subq $0xf8, %rsp
movb %sil, %al
movq 0x108(%rsp), %rsi
movq 0x100(%rsp), %rsi
movq %rdi, 0xf0(%rsp)
andb $0x1, %al
movb %al, 0xef(%rsp)
movq %rdx, 0xe0(%rsp)
movq %rcx, 0xd8(%rsp)
movq %r8, 0xd0(%rsp)
movq %r9, 0xc8(%rsp)
movq 0xf0(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0x815d0
movq %rax, %rdi
movq (%rdi), %rax
callq ... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/Utest.cpp |
UtestShell::assertCompare(bool, char const*, char const*, char const*, char const*, unsigned long, TestTerminator const&) | void UtestShell::assertCompare(bool comparison, const char *checkString, const char *comparisonString, const char *text, const char *fileName, size_t lineNumber, const TestTerminator &testTerminator)
{
getTestResult()->countCheck();
if (!comparison)
failWith(ComparisonFailure(this, fileName, lineNumber,... | subq $0xf8, %rsp
movb %sil, %al
movq 0x108(%rsp), %rsi
movq 0x100(%rsp), %rsi
movq %rdi, 0xf0(%rsp)
andb $0x1, %al
movb %al, 0xef(%rsp)
movq %rdx, 0xe0(%rsp)
movq %rcx, 0xd8(%rsp)
movq %r8, 0xd0(%rsp)
movq %r9, 0xc8(%rsp)
movq 0xf0(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0x815d0
movq %rax, %rdi
movq (%rdi), %rax
callq ... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/Utest.cpp |
Utest::run() | void Utest::run()
{
UtestShell* current = UtestShell::getCurrent();
int jumpResult = 0;
try {
current->printVeryVerbose("\n-------- before setup: ");
jumpResult = PlatformSpecificSetJmp(helperDoTestSetup, this);
current->printVeryVerbose("\n-------- after setup: ");
if (jum... | subq $0x48, %rsp
movq %rdi, 0x40(%rsp)
movq 0x40(%rsp), %rax
movq %rax, 0x8(%rsp)
callq 0x815a0
movq %rax, 0x38(%rsp)
movl $0x0, 0x34(%rsp)
movq 0x38(%rsp), %rdi
movq (%rdi), %rax
movq 0xf0(%rax), %rax
leaq 0xb9df(%rip), %rsi # 0x900ea
callq *%rax
jmp 0x8470f
movq 0x8(%rsp), %rsi
leaq 0x42345(%rip), %rax # 0xc... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/Utest.cpp |
UtestShellPointerArray::shuffle(unsigned long) | void UtestShellPointerArray::shuffle(size_t seed)
{
if (count_ == 0) return;
PlatformSpecificSrand((unsigned int) seed);
for (size_t i = count_ - 1; i >= 1; --i)
{
if (count_ == 0) return;
const size_t j = ((size_t)PlatformSpecificRand()) % (i + 1); // distribution biased by modulo, b... | subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq 0x20(%rsp), %rax
movq %rax, (%rsp)
cmpq $0x0, 0x8(%rax)
jne 0x84fc3
jmp 0x85046
leaq 0x41b16(%rip), %rax # 0xc6ae0
movq (%rax), %rax
movq 0x18(%rsp), %rcx
movl %ecx, %edi
callq *%rax
movq (%rsp), %rax
movq 0x8(%rax), %rax
subq $0x1, %rax
movq %rax, 0... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/Utest.cpp |
GccPlatformSpecificRunTestInASeperateProcess(UtestShell*, TestPlugin*, TestResult*) | static void GccPlatformSpecificRunTestInASeperateProcess(UtestShell* shell, TestPlugin* plugin, TestResult* result)
{
const pid_t syscallError = -1;
pid_t cpid;
pid_t w;
int status = 0;
cpid = PlatformSpecificFork();
if (cpid == syscallError) {
result->addFailure(TestFailure(shell, "Ca... | subq $0x208, %rsp # imm = 0x208
movq %rdi, 0x200(%rsp)
movq %rsi, 0x1f8(%rsp)
movq %rdx, 0x1f0(%rsp)
movl $0xffffffff, 0x1ec(%rsp) # imm = 0xFFFFFFFF
movl $0x0, 0x1e0(%rsp)
callq *0x414fd(%rip) # 0xc6a48
movl %eax, 0x1e8(%rsp)
cmpl $-0x1, 0x1e8(%rsp)
jne 0x8562c
movq 0x1f0(%rsp), %rax
movq %rax, 0x4... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/Platforms/Gcc/UtestPlatform.cpp |
TimeInMillisImplementation() | static long TimeInMillisImplementation()
{
#ifdef CPPUTEST_HAVE_GETTIMEOFDAY
struct timeval tv;
struct timezone tz;
gettimeofday(&tv, &tz);
return (tv.tv_sec * 1000) + (long)((double)tv.tv_usec * 0.001);
#else
return 0;
#endif
} | subq $0x18, %rsp
leaq 0x8(%rsp), %rdi
movq %rsp, %rsi
callq 0x11820
imulq $0x3e8, 0x8(%rsp), %rax # imm = 0x3E8
cvtsi2sdq 0x10(%rsp), %xmm0
movsd 0xa93f(%rip), %xmm1 # 0x903c8
mulsd %xmm1, %xmm0
cvttsd2si %xmm0, %rcx
addq %rcx, %rax
addq $0x18, %rsp
retq
nopw (%rax,%rax)
| /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/Platforms/Gcc/UtestPlatform.cpp |
PlatformSpecificFOpenImplementation(char const*, char const*) | static PlatformSpecificFile PlatformSpecificFOpenImplementation(const char* filename, const char* flag)
{
#ifdef _WIN32
FILE* file;
fopen_s(&file, filename, flag);
return file;
#else
return fopen(filename, flag);
#endif
} | subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
movq 0x10(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0x11620
addq $0x18, %rsp
retq
nopw %cs:(%rax,%rax)
| /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/Platforms/Gcc/UtestPlatform.cpp |
CommandLineArguments::parse(TestPlugin*) | bool CommandLineArguments::parse(TestPlugin* plugin)
{
bool correctParameters = true;
for (int i = 1; i < ac_; i++) {
SimpleString argument = av_[i];
if (argument == "-h") {
needHelp_ = true;
correctParameters = false;
}
else if (argument == "-v") verbose... | subq $0x208, %rsp # imm = 0x208
movq %rdi, 0x1f8(%rsp)
movq %rsi, 0x1f0(%rsp)
movq 0x1f8(%rsp), %rax
movq %rax, 0x28(%rsp)
movb $0x1, 0x1ef(%rsp)
movl $0x1, 0x1e8(%rsp)
movq 0x28(%rsp), %rcx
movl 0x1e8(%rsp), %eax
cmpl 0x8(%rcx), %eax
jge 0x8704c
movq 0x28(%rsp), %rax
movq 0x10(%rax), %rax
movslq 0x1e8(%rsp)... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/CommandLineArguments.cpp |
CommandLineArguments::setRepeatCount(int, char const* const*, int&) | void CommandLineArguments::setRepeatCount(int ac, const char *const *av, int& i)
{
repeat_ = 0;
SimpleString repeatParameter(av[i]);
if (repeatParameter.size() > 2) repeat_ = (size_t) (SimpleString::AtoI(av[i] + 2));
else if (i + 1 < ac) {
repeat_ = (size_t) (SimpleString::AtoI(av[i + 1]));
... | subq $0x68, %rsp
movq %rdi, 0x60(%rsp)
movl %esi, 0x5c(%rsp)
movq %rdx, 0x50(%rsp)
movq %rcx, 0x48(%rsp)
movq 0x60(%rsp), %rax
movq %rax, 0x10(%rsp)
movq $0x0, 0x28(%rax)
movq 0x50(%rsp), %rax
movq 0x48(%rsp), %rcx
movslq (%rcx), %rcx
movq (%rax,%rcx,8), %rsi
leaq 0x38(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0x71300
mo... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/CommandLineArguments.cpp |
CommandLineArguments::addGroupFilter(int, char const* const*, int&) | void CommandLineArguments::addGroupFilter(int ac, const char *const *av, int& i)
{
TestFilter* groupFilter = new TestFilter(getParameterField(ac, av, i, "-g"));
groupFilters_ = groupFilter->add(groupFilters_);
} | subq $0x88, %rsp
movq %rdi, 0x80(%rsp)
movl %esi, 0x7c(%rsp)
movq %rdx, 0x70(%rsp)
movq %rcx, 0x68(%rsp)
movq 0x80(%rsp), %rax
movq %rax, 0x8(%rsp)
leaq 0x9cb2(%rip), %rsi # 0x90ea3
movl $0x20, %edi
movl $0x103, %edx # imm = 0x103
callq 0x6c730
movq %rax, 0x10(%rsp)
movb $0x1, 0x33(%rsp)
movl 0x7c(%rsp)... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/CommandLineArguments.cpp |
CommandLineArguments::addGroupDotNameFilter(int, char const* const*, int&) | bool CommandLineArguments::addGroupDotNameFilter(int ac, const char *const *av, int& i)
{
SimpleString groupDotName = getParameterField(ac, av, i, "-t");
SimpleStringCollection collection;
groupDotName.split(".", collection);
if (collection.size() != 2) return false;
groupFilters_ = (new TestFilte... | subq $0x118, %rsp # imm = 0x118
movq %rdi, 0x108(%rsp)
movl %esi, 0x104(%rsp)
movq %rdx, 0xf8(%rsp)
movq %rcx, 0xf0(%rsp)
movq 0x108(%rsp), %rax
movq %rax, 0x48(%rsp)
movl 0x104(%rsp), %eax
movl %eax, 0x54(%rsp)
movq 0xf8(%rsp), %rax
movq %rax, 0x58(%rsp)
movq 0xf0(%rsp), %rax
movq %rax, 0x60(%rsp)
leaq 0x92... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/CommandLineArguments.cpp |
CommandLineArguments::addExcludeGroupFilter(int, char const* const*, int&) | void CommandLineArguments::addExcludeGroupFilter(int ac, const char *const *av, int& i)
{
TestFilter* groupFilter = new TestFilter(getParameterField(ac, av, i, "-xg"));
groupFilter->invertMatching();
groupFilters_ = groupFilter->add(groupFilters_);
} | subq $0x88, %rsp
movq %rdi, 0x80(%rsp)
movl %esi, 0x7c(%rsp)
movq %rdx, 0x70(%rsp)
movq %rcx, 0x68(%rsp)
movq 0x80(%rsp), %rax
movq %rax, 0x8(%rsp)
leaq 0x9602(%rip), %rsi # 0x90ea3
movl $0x20, %edi
movl $0x11d, %edx # imm = 0x11D
callq 0x6c730
movq %rax, 0x10(%rsp)
movb $0x1, 0x33(%rsp)
movl 0x7c(%rsp)... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/CommandLineArguments.cpp |
CommandLineArguments::addExcludeStrictGroupFilter(int, char const* const*, int&) | void CommandLineArguments::addExcludeStrictGroupFilter(int ac, const char *const *av, int& i)
{
TestFilter* groupFilter = new TestFilter(getParameterField(ac, av, i, "-xsg"));
groupFilter->strictMatching();
groupFilter->invertMatching();
groupFilters_ = groupFilter->add(groupFilters_);
} | subq $0x88, %rsp
movq %rdi, 0x80(%rsp)
movl %esi, 0x7c(%rsp)
movq %rdx, 0x70(%rsp)
movq %rcx, 0x68(%rsp)
movq 0x80(%rsp), %rax
movq %rax, 0x8(%rsp)
leaq 0x9492(%rip), %rsi # 0x90ea3
movl $0x20, %edi
movl $0x124, %edx # imm = 0x124
callq 0x6c730
movq %rax, 0x10(%rsp)
movb $0x1, 0x33(%rsp)
movl 0x7c(%rsp)... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/CommandLineArguments.cpp |
CommandLineArguments::addNameFilter(int, char const* const*, int&) | void CommandLineArguments::addNameFilter(int ac, const char *const *av, int& i)
{
TestFilter* nameFilter = new TestFilter(getParameterField(ac, av, i, "-n"));
nameFilters_ = nameFilter->add(nameFilters_);
} | subq $0x88, %rsp
movq %rdi, 0x80(%rsp)
movl %esi, 0x7c(%rsp)
movq %rdx, 0x70(%rsp)
movq %rcx, 0x68(%rsp)
movq 0x80(%rsp), %rax
movq %rax, 0x8(%rsp)
leaq 0x9312(%rip), %rsi # 0x90ea3
movl $0x20, %edi
movl $0x12c, %edx # imm = 0x12C
callq 0x6c730
movq %rax, 0x10(%rsp)
movb $0x1, 0x33(%rsp)
movl 0x7c(%rsp)... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/CommandLineArguments.cpp |
CommandLineArguments::addStrictNameFilter(int, char const* const*, int&) | void CommandLineArguments::addStrictNameFilter(int ac, const char *const *av, int& index)
{
TestFilter* nameFilter = new TestFilter(getParameterField(ac, av, index, "-sn"));
nameFilter->strictMatching();
nameFilters_= nameFilter->add(nameFilters_);
} | subq $0x88, %rsp
movq %rdi, 0x80(%rsp)
movl %esi, 0x7c(%rsp)
movq %rdx, 0x70(%rsp)
movq %rcx, 0x68(%rsp)
movq 0x80(%rsp), %rax
movq %rax, 0x8(%rsp)
leaq 0x91a2(%rip), %rsi # 0x90ea3
movl $0x20, %edi
movl $0x132, %edx # imm = 0x132
callq 0x6c730
movq %rax, 0x10(%rsp)
movb $0x1, 0x33(%rsp)
movl 0x7c(%rsp)... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/CommandLineArguments.cpp |
CommandLineArguments::addExcludeNameFilter(int, char const* const*, int&) | void CommandLineArguments::addExcludeNameFilter(int ac, const char *const *av, int& index)
{
TestFilter* nameFilter = new TestFilter(getParameterField(ac, av, index, "-xn"));
nameFilter->invertMatching();
nameFilters_= nameFilter->add(nameFilters_);
} | subq $0x88, %rsp
movq %rdi, 0x80(%rsp)
movl %esi, 0x7c(%rsp)
movq %rdx, 0x70(%rsp)
movq %rcx, 0x68(%rsp)
movq 0x80(%rsp), %rax
movq %rax, 0x8(%rsp)
leaq 0x9032(%rip), %rsi # 0x90ea3
movl $0x20, %edi
movl $0x139, %edx # imm = 0x139
callq 0x6c730
movq %rax, 0x10(%rsp)
movb $0x1, 0x33(%rsp)
movl 0x7c(%rsp)... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/CommandLineArguments.cpp |
CommandLineArguments::addExcludeStrictNameFilter(int, char const* const*, int&) | void CommandLineArguments::addExcludeStrictNameFilter(int ac, const char *const *av, int& index)
{
TestFilter* nameFilter = new TestFilter(getParameterField(ac, av, index, "-xsn"));
nameFilter->invertMatching();
nameFilter->strictMatching();
nameFilters_= nameFilter->add(nameFilters_);
} | subq $0x88, %rsp
movq %rdi, 0x80(%rsp)
movl %esi, 0x7c(%rsp)
movq %rdx, 0x70(%rsp)
movq %rcx, 0x68(%rsp)
movq 0x80(%rsp), %rax
movq %rax, 0x8(%rsp)
leaq 0x8ec2(%rip), %rsi # 0x90ea3
movl $0x20, %edi
movl $0x140, %edx # imm = 0x140
callq 0x6c730
movq %rax, 0x10(%rsp)
movb $0x1, 0x33(%rsp)
movl 0x7c(%rsp)... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/CommandLineArguments.cpp |
CommandLineArguments::setShuffle(int, char const* const*, int&) | bool CommandLineArguments::setShuffle(int ac, const char * const *av, int& i)
{
shuffling_ = true;
shuffleSeed_ = (unsigned int)GetPlatformSpecificTimeInMillis();
if (shuffleSeed_ == 0) shuffleSeed_++;
SimpleString shuffleParameter = av[i];
if (shuffleParameter.size() > 2) {
shufflingPreSee... | subq $0x68, %rsp
movq %rdi, 0x60(%rsp)
movl %esi, 0x5c(%rsp)
movq %rdx, 0x50(%rsp)
movq %rcx, 0x48(%rsp)
movq 0x60(%rsp), %rax
movq %rax, 0x20(%rsp)
movb $0x1, 0x21(%rax)
leaq 0x3e914(%rip), %rax # 0xc6a70
callq *(%rax)
movq %rax, %rcx
movq 0x20(%rsp), %rax
movl %ecx, %ecx
movq %rcx, 0x30(%rax)
cmpq $0x0, 0x30(%rax... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/CommandLineArguments.cpp |
CommandLineArguments::addTestToRunBasedOnVerboseOutput(int, char const* const*, int&, char const*) | void CommandLineArguments::addTestToRunBasedOnVerboseOutput(int ac, const char *const *av, int& index, const char* parameterName)
{
SimpleString wholename = getParameterField(ac, av, index, parameterName);
SimpleString testname = wholename.subStringFromTill(',', ')');
testname = testname.subString(2);
T... | subq $0xf8, %rsp
movq %rdi, 0xf0(%rsp)
movl %esi, 0xec(%rsp)
movq %rdx, 0xe0(%rsp)
movq %rcx, 0xd8(%rsp)
movq %r8, 0xd0(%rsp)
movq 0xf0(%rsp), %rax
movq %rax, 0x30(%rsp)
movl 0xec(%rsp), %eax
movl %eax, 0x3c(%rsp)
movq 0xe0(%rsp), %rax
movq %rax, 0x40(%rsp)
movq 0xd8(%rsp), %rax
movq %rax, 0x48(%rsp)
movq 0xd0(%rsp), %... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/CommandLineArguments.cpp |
CommandLineArguments::setOutputType(int, char const* const*, int&) | bool CommandLineArguments::setOutputType(int ac, const char *const *av, int& i)
{
SimpleString outputType = getParameterField(ac, av, i, "-o");
if (outputType.size() == 0) return false;
if (outputType == "normal" || outputType == "eclipse") {
outputType_ = OUTPUT_ECLIPSE;
return true;
}... | subq $0xd8, %rsp
movq %rdi, 0xc8(%rsp)
movl %esi, 0xc4(%rsp)
movq %rdx, 0xb8(%rsp)
movq %rcx, 0xb0(%rsp)
movq 0xc8(%rsp), %rax
movq %rax, 0x10(%rsp)
movl 0xc4(%rsp), %eax
movl %eax, 0x1c(%rsp)
movq 0xb8(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0xb0(%rsp), %rax
movq %rax, 0x28(%rsp)
leaq 0x7f40(%rip), %rsi # 0x905cf
... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/CommandLineArguments.cpp |
CommandLineArguments::setPackageName(int, char const* const*, int&) | void CommandLineArguments::setPackageName(int ac, const char *const *av, int& i)
{
SimpleString packageName = getParameterField(ac, av, i, "-k");
if (packageName.size() == 0) return;
packageName_ = packageName;
} | subq $0x88, %rsp
movq %rdi, 0x80(%rsp)
movl %esi, 0x7c(%rsp)
movq %rdx, 0x70(%rsp)
movq %rcx, 0x68(%rsp)
movq 0x80(%rsp), %rax
movq %rax, 0x10(%rsp)
movl 0x7c(%rsp), %eax
movl %eax, 0x1c(%rsp)
movq 0x70(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x68(%rsp), %rax
movq %rax, 0x28(%rsp)
leaq 0x7bc5(%rip), %rsi # 0x905d2
... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/CommandLineArguments.cpp |
CommandLineArguments::help() const | const char* CommandLineArguments::help() const
{
return
"Thanks for using CppUTest.\n"
"\n"
"Options that do not run tests but query:\n"
" -h - this wonderful help screen. Joy!\n"
" -lg - print a list of group names, separated by spaces\n"
" -ln ... | movq %rdi, -0x8(%rsp)
leaq 0x7bfc(%rip), %rax # 0x906f8
retq
nopl (%rax)
| /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/CommandLineArguments.cpp |
CommandLineArguments::getParameterField(int, char const* const*, int&, SimpleString const&) | SimpleString CommandLineArguments::getParameterField(int ac, const char * const *av, int& i, const SimpleString& parameterName)
{
size_t parameterLength = parameterName.size();
SimpleString parameter(av[i]);
if (parameter.size() > parameterLength) return av[i] + parameterLength;
else if (i + 1 < ac) re... | subq $0x78, %rsp
movq %rdi, (%rsp)
movq %rdi, %rax
movq %rax, 0x8(%rsp)
movq %rdi, 0x70(%rsp)
movq %rsi, 0x68(%rsp)
movl %edx, 0x64(%rsp)
movq %rcx, 0x58(%rsp)
movq %r8, 0x50(%rsp)
movq %r9, 0x48(%rsp)
movq 0x48(%rsp), %rdi
callq 0x71280
movq %rax, 0x40(%rsp)
movq 0x58(%rsp), %rax
movq 0x50(%rsp), %rcx
movslq (%rcx), %... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/CommandLineArguments.cpp |
TestFilter::asString() const | SimpleString TestFilter::asString() const
{
SimpleString textFilter = StringFromFormat("TestFilter: \"%s\"", filter_.asCharString());
if (strictMatching_ && invertMatching_)
textFilter += " with strict, invert matching";
else if (strictMatching_)
textFilter += " with strict matching";
e... | subq $0x48, %rsp
movq %rdi, 0x10(%rsp)
movq %rdi, %rax
movq %rax, 0x8(%rsp)
movq %rdi, 0x40(%rsp)
movq %rsi, 0x38(%rsp)
movq 0x38(%rsp), %rdi
movq %rdi, 0x18(%rsp)
movb $0x0, 0x37(%rsp)
callq 0x72040
movq 0x10(%rsp), %rdi
movq %rax, %rdx
leaq 0x7ea1(%rip), %rsi # 0x90f6f
movb $0x0, %al
callq 0x72730
movq 0x18(%rsp... | /approvals[P]ApprovalTests/build_O0/CMake/cpputest/cpputest-src/src/CppUTest/TestFilter.cpp |
parse_version | static void
parse_version(htsFormat *fmt, const unsigned char *u, const unsigned char *ulim)
{
const char *str = (const char *) u;
const char *slim = (const char *) ulim;
const char *s;
fmt->version.major = fmt->version.minor = -1;
for (s = str; s < slim; s++) if (!isdigit(*s)) break;
if (s <... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %rbx
orl $-0x1, 0x8(%rdi)
movq %rsi, %r15
cmpq %r14, %r15
jae 0x9bb8
callq 0x8490
movq (%rax), %r13
movsbq (%r15), %rax
testb $0x8, 0x1(%r13,%rax,2)
je 0x9b7c
incq %r15
jmp 0x9b5e
movq %r12, %rdi
callq 0x86e0
movw %ax, 0x8... | /gatoravi[P]bam-parser-tutorial/htslib/hts.c |
hts_format_description | char *hts_format_description(const htsFormat *format)
{
kstring_t str = { 0, 0, NULL };
switch (format->format) {
case sam: kputs("SAM", &str); break;
case bam: kputs("BAM", &str); break;
case cram: kputs("CRAM", &str); break;
case vcf: kputs("VCF", &str); break;
case bcf:
if... | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
xorps %xmm0, %xmm0
andq $0x0, 0x10(%rsp)
movaps %xmm0, (%rsp)
movl 0x4(%rdi), %eax
addl $-0x3, %eax
cmpl $0x9, %eax
ja 0x9c57
leaq 0x30573(%rip), %rcx # 0x3a160
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x3076a(%rip), %rdi # 0x3a... | /gatoravi[P]bam-parser-tutorial/htslib/hts.c |
hts_idx_load_core | static int hts_idx_load_core(hts_idx_t *idx, void *fp, int fmt)
{
int32_t i, n, is_be;
int is_bgzf = (fmt != HTS_FMT_BAI);
is_be = ed_is_big();
if (idx == NULL) return -4;
for (i = 0; i < idx->n; ++i) {
bidx_t *h;
lidx_t *l = &idx->lidx[i];
uint32_t key;
int j, absent... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
xorl %r13d, %r13d
movl %edx, 0x8(%rsp)
cmpl $0x1, %edx
setne %al
testq %rdi, %rdi
je 0xc70a
movq %rsi, %rbp
movq %rdi, %r14
movb %al, %r13b
xorl %ecx, %ecx
pushq $-0x1
popq %r12
movq %rdi, 0x28(%rsp)
movslq 0x14(%r14), %rax
cmpq %rax, %r... | /gatoravi[P]bam-parser-tutorial/htslib/hts.c |
hts_idx_seqnames | const char **hts_idx_seqnames(const hts_idx_t *idx, int *n, hts_id2name_f getid, void *hdr)
{
if ( !idx->n )
{
*n = 0;
return NULL;
}
int tid = 0, i;
const char **names = (const char**) calloc(idx->n,sizeof(const char*));
for (i=0; i<idx->n; i++)
{
bidx_t *bidx = idx... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, 0x10(%rsp)
movslq 0x14(%rdi), %rbx
testq %rbx, %rbx
je 0xc828
movq %rdx, %r15
movq %rdi, %r12
movq %rsi, 0x8(%rsp)
pushq $0x8
popq %rsi
movq %rbx, %rdi
callq 0x82c0
movq %rax, %r13
xorl %ebp, %ebp
xorl %r14d, %r14d
movslq %ebx... | /gatoravi[P]bam-parser-tutorial/htslib/hts.c |
hts_idx_get_stat | int hts_idx_get_stat(const hts_idx_t* idx, int tid, uint64_t* mapped, uint64_t* unmapped)
{
if ( idx->fmt == HTS_FMT_CRAI ) {
*mapped = 0; *unmapped = 0;
return -1;
}
bidx_t *h = idx->bidx[tid];
khint_t k = kh_get(bin, h, META_BIN(idx));
if (k != kh_end(h)) {
*mapped = kh_va... | pushq %r15
pushq %r14
pushq %rbx
movq %rcx, %rbx
movq %rdx, %r14
cmpl $0x3, (%rdi)
je 0xc870
movq 0x28(%rdi), %rax
movslq %esi, %rcx
movq (%rax,%rcx,8), %r15
movl 0xc(%rdi), %esi
incl %esi
movq %r15, %rdi
callq 0xc8a0
cmpl (%r15), %eax
jne 0xc87b
andq $0x0, (%r14)
pushq $-0x1
popq %rax
xorl %ecx, %ecx
jmp 0xc897
movq 0... | /gatoravi[P]bam-parser-tutorial/htslib/hts.c |
hts_parse_reg | const char *hts_parse_reg(const char *s, int *beg, int *end)
{
int i, k, l, name_end;
*beg = *end = -1;
name_end = l = strlen(s);
// determine the sequence name
for (i = l - 1; i >= 0; --i) if (s[i] == ':') break; // look for colon from the end
if (i >= 0) name_end = i;
if (name_end < l) { /... | pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %r14
movq %rsi, %r15
orl $-0x1, (%rdx)
movq %rdi, %rbx
orl $-0x1, (%rsi)
callq 0x8190
movq %rax, %r13
movl %r13d, %eax
leal -0x1(%r13), %ecx
movslq %ecx, %r12
incq %r12
decq %rax
testl %r12d, %r12d
jle 0xcf99
m... | /gatoravi[P]bam-parser-tutorial/htslib/hts.c |
hts_itr_querys | hts_itr_t *hts_itr_querys(const hts_idx_t *idx, const char *reg, hts_name2id_f getid, void *hdr, hts_itr_query_func *itr_query, hts_readrec_func *readrec)
{
int tid, beg, end;
char *q, *tmp;
if (strcmp(reg, ".") == 0)
return itr_query(idx, HTS_IDX_START, 0, 0, readrec);
else if (strcmp(reg, "*")... | pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r8, %r11
movq %rcx, %r12
movq %rdx, %r15
movq %rsi, %r13
movzbl (%rsi), %eax
cmpl $0x2a, %eax
je 0xcff7
cmpl $0x2e, %eax
jne 0xd002
cmpb $0x0, 0x1(%r13)
jne 0xd002
pushq $-0x3
jmp 0xd086
cmpb $0x0, 0x1(%r13)
je 0xd0... | /gatoravi[P]bam-parser-tutorial/htslib/hts.c |
hts_idx_load | hts_idx_t *hts_idx_load(const char *fn, int fmt)
{
char *fnidx;
hts_idx_t *idx;
fnidx = hts_idx_getfn(fn, ".csi");
if (fnidx) fmt = HTS_FMT_CSI;
else fnidx = hts_idx_getfn(fn, fmt == HTS_FMT_BAI? ".bai" : ".tbi");
if (fnidx == 0) return 0;
// Check that the index file is up to date, the mai... | pushq %r15
pushq %r14
pushq %rbx
subq $0x120, %rsp # imm = 0x120
movl %esi, %ebx
movq %rdi, %r15
leaq 0x2d022(%rip), %rsi # 0x3a54f
callq 0xd233
testq %rax, %rax
je 0xd53e
movq %rax, %r14
xorl %ebx, %ebx
jmp 0xd563
cmpl $0x1, %ebx
leaq 0x2d013(%rip), %rax # 0x3a55b
leaq 0x2d007(%rip), %rsi # 0x3a... | /gatoravi[P]bam-parser-tutorial/htslib/hts.c |
hfile_init | hFILE *hfile_init(size_t struct_size, const char *mode, size_t capacity)
{
hFILE *fp = (hFILE *) malloc(struct_size);
if (fp == NULL) goto error;
if (capacity == 0) capacity = 32768;
// FIXME For now, clamp input buffer sizes so mpileup doesn't eat memory
if (strchr(mode, 'r') && capacity > 32768) ... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movq %rsi, %r12
callq 0x85d0
movq %rax, %rbx
testq %rax, %rax
je 0xda9b
testq %r15, %r15
movl $0x8000, %r14d # imm = 0x8000
cmoveq %r14, %r15
pushq $0x72
popq %rsi
movq %r12, %rdi
callq 0x8160
cmpq %r14, %r15
cmovbq %r15, %r14
testq %rax, %... | /gatoravi[P]bam-parser-tutorial/htslib/hfile.c |
refill_buffer | static ssize_t refill_buffer(hFILE *fp)
{
ssize_t n;
// Move any unread characters to the start of the buffer
if (fp->begin > fp->buffer) {
fp->offset += fp->begin - fp->buffer;
memmove(fp->buffer, fp->begin, fp->end - fp->begin);
fp->end = &fp->buffer[fp->end - fp->begin];
... | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %rdi
movq 0x8(%rbx), %rsi
movq %rsi, %rax
subq %rdi, %rax
jbe 0xdb42
addq %rax, 0x28(%rbx)
movq 0x10(%rbx), %rdx
subq %rsi, %rdx
callq 0x8740
movq 0x10(%rbx), %rax
subq 0x8(%rbx), %rax
movq (%rbx), %rcx
addq %rcx, %rax
movq %rax, 0x10(%rbx)
movq %rcx, 0x8(%r... | /gatoravi[P]bam-parser-tutorial/htslib/hfile.c |
hpeek | ssize_t hpeek(hFILE *fp, void *buffer, size_t nbytes)
{
size_t n = fp->end - fp->begin;
while (n < nbytes) {
ssize_t ret = refill_buffer(fp);
if (ret < 0) return ret;
else if (ret == 0) break;
else n += ret;
}
if (n > nbytes) n = nbytes;
memcpy(buffer, fp->begin, n);... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq 0x10(%rdi), %r13
subq 0x8(%rdi), %r13
pushq $0x1
popq %rbp
cmpq %rbx, %r13
jae 0xdbe0
movq %r15, %rdi
callq 0xdb06
xorl %ecx, %ecx
testq %rax, %rax
sete %cl
leal (%rcx,%rcx,2), %ecx
movl $0x... | /gatoravi[P]bam-parser-tutorial/htslib/hfile.c |
hclose | int hclose(hFILE *fp)
{
int err = fp->has_errno;
if (writebuffer_is_nonempty(fp) && hflush(fp) < 0) err = fp->has_errno;
if (fp->backend->close(fp) < 0) err = errno;
hfile_destroy(fp);
if (err) {
errno = err;
return EOF;
}
else return 0;
} | pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl 0x34(%rdi), %ebp
movq 0x8(%rdi), %rax
cmpq 0x10(%rdi), %rax
jbe 0xdedd
movq %rbx, %rdi
callq 0xdcd2
testl %eax, %eax
jns 0xdedd
movl 0x34(%rbx), %ebp
movq 0x20(%rbx), %rax
movq %rbx, %rdi
callq *0x20(%rax)
testl %eax, %eax
jns 0xdef2
callq 0x8050
movl (%rax), %ebp
m... | /gatoravi[P]bam-parser-tutorial/htslib/hfile.c |
hdopen | hFILE *hdopen(int fd, const char *mode)
{
hFILE_fd *fp = (hFILE_fd*) hfile_init(sizeof (hFILE_fd), mode, blksize(fd));
if (fp == NULL) return NULL;
fp->fd = fd;
fp->is_socket = (strchr(mode, 's') != NULL);
fp->base.backend = &fd_backend;
return &fp->base;
} | pushq %rbp
pushq %r14
pushq %rbx
movq %rsi, %r14
movl %edi, %ebp
callq 0xdf94
pushq $0x40
popq %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0xda2c
movq %rax, %rbx
testq %rax, %rax
je 0xdf8c
movl %ebp, 0x38(%rbx)
pushq $0x73
popq %rsi
movq %r14, %rdi
callq 0x8160
testq %rax, %rax
setne %al
movb 0x3c(%rbx), %cl
andb $-0x2,... | /gatoravi[P]bam-parser-tutorial/htslib/hfile.c |
hfile_oflags | int hfile_oflags(const char *mode)
{
int rdwr = 0, flags = 0;
const char *s;
for (s = mode; *s; s++)
switch (*s) {
case 'r': rdwr = O_RDONLY; break;
case 'w': rdwr = O_WRONLY; flags |= O_CREAT | O_TRUNC; break;
case 'a': rdwr = O_WRONLY; flags |= O_CREAT | O_APPEND; break;... | xorl %esi, %esi
pushq $0x2
popq %rcx
pushq $0x1
popq %rdx
xorl %eax, %eax
movzbl (%rdi), %r8d
cmpl $0x2b, %r8d
je 0xdffb
cmpl $0x61, %r8d
je 0xdfe7
cmpl $0x72, %r8d
je 0xdff7
cmpl $0x77, %r8d
je 0xdfee
testl %r8d, %r8d
jne 0xdffd
jmp 0xe002
orl $0x440, %eax # imm = 0x440
jmp 0xdff3
orl $0x240, %eax ... | /gatoravi[P]bam-parser-tutorial/htslib/hfile.c |
fd_read | static ssize_t fd_read(hFILE *fpv, void *buffer, size_t nbytes)
{
hFILE_fd *fp = (hFILE_fd *) fpv;
ssize_t n;
do {
n = fp->is_socket? recv(fp->fd, buffer, nbytes, 0)
: read(fp->fd, buffer, nbytes);
} while (n < 0 && errno == EINTR);
return n;
} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
testb $0x1, 0x3c(%r15)
movl 0x38(%r15), %edi
movq %r14, %rsi
movq %rbx, %rdx
jne 0xe210
callq 0x8640
jmp 0xe217
xorl %ecx, %ecx
callq 0x8110
movq %rax, %r12
testq %rax, %rax
jns 0xe229
callq 0x8050
cmpl $0x4, (%rax)
j... | /gatoravi[P]bam-parser-tutorial/htslib/hfile.c |
mem_read | static ssize_t mem_read(hFILE *fpv, void *buffer, size_t nbytes)
{
hFILE_mem *fp = (hFILE_mem *) fpv;
size_t avail = fp->length - fp->pos;
if (nbytes > avail) nbytes = avail;
memcpy(buffer, fp->buffer + fp->pos, nbytes);
fp->pos += nbytes;
return nbytes;
} | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rax
movq %rdi, %rbx
movq 0x40(%rdi), %r14
movq 0x48(%rdi), %rsi
subq %rsi, %r14
cmpq %rdx, %r14
cmovaeq %rdx, %r14
addq 0x38(%rdi), %rsi
movq %rax, %rdi
movq %r14, %rdx
callq 0x8340
addq %r14, 0x48(%rbx)
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
| /gatoravi[P]bam-parser-tutorial/htslib/hfile.c |
socket_connect | static int socket_connect(const char *host, const char *port)
{
#define __err_connect(func) do { perror(func); freeaddrinfo(res); return -1; } while (0)
int ai_err, on = 1, fd;
struct linger lng = { 0, 0 };
struct addrinfo hints, *res = 0;
memset(&hints, 0, sizeof(struct addrinfo));
hints.ai_family = AF_UNSPEC;
... | pushq %r15
pushq %r14
pushq %rbx
subq $0x50, %rsp
movq %rsi, %rbx
movq %rdi, %r14
andq $0x0, 0x18(%rsp)
leaq 0x8(%rsp), %rcx
andq $0x0, (%rcx)
pushq $0x1
popq %rax
movl %eax, 0x14(%rsp)
xorps %xmm0, %xmm0
leaq 0x20(%rsp), %rdx
movaps %xmm0, (%rdx)
movaps %xmm0, 0x10(%rdx)
movaps %xmm0, 0x20(%rdx)
movl %eax, 0x8(%rdx)
c... | /gatoravi[P]bam-parser-tutorial/htslib/knetfile.c |
kftp_get_response | static int kftp_get_response(knetFile *ftp)
{
#ifndef _WIN32
unsigned char c;
#else
char c;
#endif
int n = 0;
char *p;
if (socket_wait(ftp->ctrl_fd, 1) <= 0) return 0;
while (netread(ftp->ctrl_fd, &c, 1)) { // FIXME: this is *VERY BAD* for unbuffered I/O
//fputc(c, stderr);
if (n >= ftp->max_response) {
ft... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movl 0x20(%rdi), %edi
pushq $0x1
popq %rsi
callq 0xf154
testl %eax, %eax
jle 0xe6a1
xorl %ecx, %ecx
leaq 0xf(%rsp), %r14
pushq $0x1
popq %r15
movl $0x100, %ebp # imm = 0x100
movl %ecx, %r12d
movl 0x20(%rbx), %e... | /gatoravi[P]bam-parser-tutorial/htslib/knetfile.c |
khttp_connect_file | int khttp_connect_file(knetFile *fp)
{
int ret, l = 0;
char *buf, *p;
if (fp->fd != -1) netclose(fp->fd);
fp->fd = socket_connect(fp->host, fp->port);
buf = (char*)calloc(0x10000, 1); // FIXME: I am lazy... But in principle, 64KB should be large enough.
l += sprintf(buf + l, "GET %s HTTP/1.0\r\nHost: %s\r\n", fp-... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl 0x4(%rdi), %edi
cmpl $-0x1, %edi
je 0xec08
callq 0x8890
movq 0x10(%rbx), %rdi
movq 0x18(%rbx), %rsi
callq 0xe48b
movl %eax, 0x4(%rbx)
pushq $0x1
popq %rsi
movl $0x10000, %edi # imm = 0x10000
callq 0x82c0
movq %rax... | /gatoravi[P]bam-parser-tutorial/htslib/knetfile.c |
knet_close | int knet_close(knetFile *fp)
{
if (fp == 0) return 0;
if (fp->ctrl_fd != -1) netclose(fp->ctrl_fd); // FTP specific
if (fp->fd != -1) {
/* On Linux/Mac, netclose() is an alias of close(), but on
* Windows, it is an alias of closesocket(). */
if (fp->type == KNF_TYPE_LOCAL) close(fp->fd);
else netclose(fp->f... | testq %rdi, %rdi
je 0xef9b
pushq %rbx
movq %rdi, %rbx
movl 0x20(%rdi), %edi
cmpl $-0x1, %edi
je 0xef4f
callq 0x8890
movl 0x4(%rbx), %edi
cmpl $-0x1, %edi
je 0xef5c
callq 0x8890
movq 0x10(%rbx), %rdi
callq 0x8510
movq 0x18(%rbx), %rdi
callq 0x8510
movq 0x48(%rbx), %rdi
callq 0x8510
movq 0x50(%rbx), %rdi
callq 0x8510
mov... | /gatoravi[P]bam-parser-tutorial/htslib/knetfile.c |
knet_seek | off_t knet_seek(knetFile *fp, off_t off, int whence)
{
if (whence == SEEK_SET && off == fp->offset) return 0;
if (fp->type == KNF_TYPE_LOCAL) {
/* Be aware that lseek() returns the offset after seeking, while fseek() returns zero on success. */
off_t offset = lseek(fp->fd, off, whence);
if (offset == -1) return... | pushq %rbx
movq %rsi, %rax
movq %rdi, %rbx
testl %edx, %edx
jne 0xf094
cmpq %rax, 0x8(%rbx)
jne 0xf094
xorl %eax, %eax
jmp 0xf152
movl (%rbx), %ecx
cmpl $0x3, %ecx
je 0xf0c3
cmpl $0x2, %ecx
je 0xf0d3
cmpl $0x1, %ecx
jne 0xf0f5
movl 0x4(%rbx), %edi
movq %rax, %rsi
callq 0x8840
cmpq $-0x1, %rax
je 0xf14f
movq %rax, 0x8(%... | /gatoravi[P]bam-parser-tutorial/htslib/knetfile.c |
bam_hdr_dup | bam_hdr_t *bam_hdr_dup(const bam_hdr_t *h0)
{
if (h0 == NULL) return NULL;
bam_hdr_t *h;
if ((h = bam_hdr_init()) == NULL) return NULL;
// copy the simple data
h->n_targets = h0->n_targets;
h->ignore_sam_err = h0->ignore_sam_err;
h->l_text = h0->l_text;
// Then the pointery stuff
h->... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0xf30b
movq %rdi, %r14
callq 0xf1dc
xorl %ebp, %ebp
testq %rax, %rax
je 0xf30b
movq %rax, %rbx
movq (%r14), %r12
movq %r12, (%rax)
movl 0x8(%r14), %r15d
movl %r15d, 0x8(%rax)
andq $0x0, 0x18(%rax)
andq $0x0, 0x30(%rax)
leal... | /gatoravi[P]bam-parser-tutorial/htslib/sam.c |
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> Catch::Detail::rangeToString<std::pair<Color, std::basic_string_view<char, std::char_traits<char>>> const*, std::pair<Color, std::basic_string_view<char, std::char_traits<char>>> const*>(std::pair<Color, std::basic_string_view<char, std::cha... | std::string rangeToString(InputIterator first, Sentinel last) {
ReusableStringStream rss;
rss << "{ ";
if (first != last) {
rss << ::Catch::Detail::stringify(*first);
for (++first; first != last; ++first)
rss << ", " << ::Catch::Det... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, 0x8(%rsp)
leaq 0x30(%rsp), %rbx
movq %rbx, %rdi
callq 0x1fb3e
movq 0x10(%rbx), %r14
leaq 0x1d0d4(%rip), %rsi # 0x79375
movq %r14, %rdi
callq 0x13470
cmpq %r15, %r12
je 0x5c31f
leaq 0x5c9c3(%... | /Neargye[P]magic_enum/test/3rdparty/Catch2/include/catch2/catch.hpp |
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> Catch::Detail::rangeToString<std::pair<Directions, std::basic_string_view<char, std::char_traits<char>>> const*, std::pair<Directions, std::basic_string_view<char, std::char_traits<char>>> const*>(std::pair<Directions, std::basic_string_view... | std::string rangeToString(InputIterator first, Sentinel last) {
ReusableStringStream rss;
rss << "{ ";
if (first != last) {
rss << ::Catch::Detail::stringify(*first);
for (++first; first != last; ++first)
rss << ", " << ::Catch::Det... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, 0x8(%rsp)
leaq 0x30(%rsp), %rbx
movq %rbx, %rdi
callq 0x1fb3e
movq 0x10(%rbx), %r14
leaq 0x1cc74(%rip), %rsi # 0x79375
movq %r14, %rdi
callq 0x13470
cmpq %r15, %r12
je 0x5c77f
leaq 0x5c563(%... | /Neargye[P]magic_enum/test/3rdparty/Catch2/include/catch2/catch.hpp |
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> Catch::Detail::rangeToString<std::pair<number, std::basic_string_view<char, std::char_traits<char>>> const*, std::pair<number, std::basic_string_view<char, std::char_traits<char>>> const*>(std::pair<number, std::basic_string_view<char, std::... | std::string rangeToString(InputIterator first, Sentinel last) {
ReusableStringStream rss;
rss << "{ ";
if (first != last) {
rss << ::Catch::Detail::stringify(*first);
for (++first; first != last; ++first)
rss << ", " << ::Catch::Det... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, 0x8(%rsp)
leaq 0x30(%rsp), %rbx
movq %rbx, %rdi
callq 0x1fb3e
movq 0x10(%rbx), %r14
leaq 0x1ca42(%rip), %rsi # 0x79375
movq %r14, %rdi
callq 0x13470
cmpq %r15, %r12
je 0x5c9b1
leaq 0x5c331(%... | /Neargye[P]magic_enum/test/3rdparty/Catch2/include/catch2/catch.hpp |
Catch::BinaryExpr<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&>::streamReconstructedExpression(std::ostream&) const | void streamReconstructedExpression( std::ostream &os ) const override {
formatReconstructedExpression
( os, Catch::Detail::stringify( m_lhs ), m_op, Catch::Detail::stringify( m_rhs ) );
} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %rbx
movq %rdi, %r12
movq 0x10(%rdi), %rsi
leaq 0x28(%rsp), %rdi
callq 0x2273a
movq 0x18(%r12), %r14
movq 0x20(%r12), %r15
movq 0x28(%r12), %rsi
leaq 0x8(%rsp), %rdi
callq 0x2273a
leaq 0x28(%rsp), %rsi
leaq 0x8(%rsp), %r8
movq %rbx, %rdi
movq %r14,... | /Neargye[P]magic_enum/test/3rdparty/Catch2/include/catch2/catch.hpp |
std::basic_istream<char, std::char_traits<char>>& magic_enum::istream_operators::operator>><char, std::char_traits<char>, Directions, 0>(std::basic_istream<char, std::char_traits<char>>&, Directions&) | std::basic_istream<Char, Traits>& operator>>(std::basic_istream<Char, Traits>& is, E& value) {
using D = std::decay_t<E>;
std::basic_string<Char, Traits> s;
is >> s;
if constexpr (detail::supported<D>::value) {
if constexpr (detail::subtype_v<D> == detail::enum_subtype::flags) {
if (const auto v = en... | pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x8(%rsp), %rsi
callq 0x135b0
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdi
callq 0x595fb
btq $0x20, %rax
jb 0x5cf21
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq... | /Neargye[P]magic_enum/include/magic_enum/magic_enum_iostream.hpp |
Catch::BinaryExpr<std::optional<Color> const&, Color const&>::streamReconstructedExpression(std::ostream&) const | void streamReconstructedExpression( std::ostream &os ) const override {
formatReconstructedExpression
( os, Catch::Detail::stringify( m_lhs ), m_op, Catch::Detail::stringify( m_rhs ) );
} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %rbx
movq %rdi, %r12
leaq 0x5b58c(%rip), %rsi # 0xb8c78
leaq 0x28(%rsp), %rdi
callq 0x4ca8c
movq 0x18(%r12), %r14
movq 0x20(%r12), %r15
movq 0x28(%r12), %rsi
leaq 0x8(%rsp), %rdi
callq 0x59ae2
leaq 0x28(%rsp), %rsi
leaq 0x8(%rsp), %r8
movq %rbx... | /Neargye[P]magic_enum/test/3rdparty/Catch2/include/catch2/catch.hpp |
magic_enum::detail::enable_if_enum<std::is_enum_v<std::decay<Color>::type> && std::is_invocable_r_v<bool, std::equal_to<void>, char, char>, std::optional<std::decay<Color>::type>>::type magic_enum::enum_prev_value<Color, (magic_enum::detail::enum_subtype)0>(Color, long) | [[nodiscard]] constexpr auto enum_prev_value(E value, std::ptrdiff_t n = 1) noexcept -> detail::enable_if_t<E, optional<std::decay_t<E>>> {
using D = std::decay_t<E>;
constexpr std::ptrdiff_t count = detail::count_v<D, S>;
if (const auto i = enum_index<D, S>(value)) {
const std::ptrdiff_t index = (static_cas... | pushq %rbx
movq %rsi, %rbx
callq 0x5a2d2
testb $0x1, %dl
je 0x5d7d3
subq %rbx, %rax
cmpq $0x2, %rax
jbe 0x5d7d9
xorl %eax, %eax
xorl %ecx, %ecx
jmp 0x5d7ed
movq %rax, %rdi
callq 0x59b02
movl %eax, %eax
movabsq $0x100000000, %rcx # imm = 0x100000000
orq %rcx, %rax
popq %rbx
retq
| /Neargye[P]magic_enum/include/magic_enum/magic_enum_utility.hpp |
Catch::MatchExpr<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, Catch::Matchers::Impl::MatcherBase<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>> const&>::streamReconstructedExpression(std::ostream&) const | void streamReconstructedExpression( std::ostream &os ) const override {
auto matcherAsString = m_matcher.toString();
os << Catch::Detail::stringify( m_arg ) << ' ';
if( matcherAsString == Detail::unprintableString )
os << m_matcherString;
else
... | pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq 0x18(%rdi), %rsi
leaq 0x8(%rsp), %rdi
callq 0x1ad82
movq 0x10(%r14), %rsi
leaq 0x28(%rsp), %rdi
callq 0x2273a
leaq 0x28(%rsp), %rsi
movq %rbx, %rdi
callq 0x13430
pushq $0x20
popq %rsi
movq %rax, %rdi
callq 0x13560
leaq 0x28(%rsp), %rdi
callq 0x... | /Neargye[P]magic_enum/test/3rdparty/Catch2/include/catch2/catch.hpp |
Catch::clara::detail::BasicResult<Catch::clara::detail::ParseResultType>::BasicResult(Catch::clara::detail::BasicResult<Catch::clara::detail::ParseResultType> const&) | explicit BasicResult( BasicResult<U> const &other )
: ResultValueBase<T>( other.type() ),
m_errorMessage( other.errorMessage() )
{
assert( type() != ResultBase::Ok );
} | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl 0x8(%rsi), %eax
movl %eax, 0x8(%rdi)
leaq 0x57270(%rip), %r14 # 0xb5dd0
movq %r14, (%rdi)
testl %eax, %eax
jne 0x5eb6d
movl 0xc(%rsi), %eax
movl %eax, 0xc(%rbx)
leaq 0x57204(%rip), %rax # 0xb5d78
movq %rax, (%rbx)
leaq 0x10(%rbx), %rdi
addq $0x10, %rsi
callq... | /Neargye[P]magic_enum/test/3rdparty/Catch2/include/catch2/catch.hpp |
Catch::clara::detail::BasicResult<Catch::clara::detail::ParseResultType> Catch::clara::detail::convertInto<unsigned int>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned int&) | inline auto convertInto( std::string const &source, T& target ) -> ParserResult {
std::stringstream ss;
ss << source;
ss >> target;
if( ss.fail() )
return ParserResult::runtimeError( "Unable to convert '" + source + "' to destination type" );
else
return P... | pushq %r15
pushq %r14
pushq %rbx
subq $0x1d0, %rsp # imm = 0x1D0
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x48(%rsp), %rdi
callq 0x13340
leaq 0x58(%rsp), %rdi
movq %r14, %rsi
callq 0x13430
leaq 0x48(%rsp), %rdi
movq %r15, %rsi
callq 0x13750
movq 0x48(%rsp), %rax
movq -0x18(%rax), %rax
testb $0x5,... | /Neargye[P]magic_enum/test/3rdparty/Catch2/include/catch2/catch.hpp |
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.