name
string
code
string
asm
string
file
string
testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop[abi:cxx11](int)
std::string UnitTestImpl::CurrentOsStackTraceExceptTop(int skip_count) { return os_stack_trace_getter()->CurrentStackTrace( static_cast<int>(GTEST_FLAG(stack_trace_depth)), skip_count + 1 // Skips the user-specified number of frames plus this function // itself. ); // NOLINT }
pushq %rbp pushq %r14 pushq %rbx movl %edx, %ebp movq %rsi, %r14 movq %rdi, %rbx cmpq $0x0, 0x1b0(%rsi) jne 0x61ee9 movl $0x8, %edi callq 0x2d130 leaq 0xe5949(%rip), %rcx # 0x147828 movq %rcx, (%rax) movq %rax, 0x1b0(%r14) movq 0x1b0(%r14), %rsi movl 0x175eba(%rip), %edx # 0x1d7db0 incl %ebp movq (%rsi), %rax mo...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::internal::GetCurrentExecutableName()
FilePath GetCurrentExecutableName() { FilePath result; #if GTEST_OS_WINDOWS || GTEST_OS_OS2 result.Set(FilePath(GetArgvs()[0]).RemoveExtension("exe")); #else result.Set(FilePath(GetArgvs()[0])); #endif // GTEST_OS_WINDOWS return result.RemoveDirectoryName(); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x58, %rsp movq %rdi, %rbx leaq 0x10(%rsp), %r15 movq %r15, -0x10(%r15) movq $0x0, -0x8(%r15) movb $0x0, (%r15) leaq 0x175eb6(%rip), %rsi # 0x1d7e00 leaq 0x40(%rsp), %r14 movq %r14, %rdi callq 0x79e1a movq (%r14), %rax leaq 0x30(%rsp), %r12 movq %r12, -0x10(%r12) mov...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::internal::FilePath::RemoveDirectoryName() const
FilePath FilePath::RemoveDirectoryName() const { const char* const last_sep = FindLastPathSeparator(); return last_sep ? FilePath(last_sep + 1) : *this; }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rsi, %r12 movq %rdi, %rbx movq (%rsi), %r15 movq %r15, %rdi movl $0x2f, %esi callq 0x2d8c0 movq %rax, %r14 testq %rax, %rax je 0x6205a leaq 0x1(%r14), %r15 leaq 0x18(%rsp), %rax movq %rax, -0x10(%rax) movq %r15, %rdi callq 0x2d390 leaq (%r14,%rax), %rdx...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest-filepath.cc
testing::internal::edit_distance::CalculateOptimalEdits(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>,...
std::vector<EditType> CalculateOptimalEdits( const std::vector<std::string>& left, const std::vector<std::string>& right) { std::vector<size_t> left_ids, right_ids; { InternalStrings intern_table; for (size_t i = 0; i < left.size(); ++i) { left_ids.push_back(intern_table.GetId(left[i])); }...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x88, %rsp movq %rdx, %r14 movq %rsi, %r15 movq %rdi, 0x50(%rsp) xorl %eax, %eax movq %rax, 0x20(%rsp) xorps %xmm0, %xmm0 movaps %xmm0, 0x10(%rsp) movq %rax, 0x40(%rsp) movaps %xmm0, 0x30(%rsp) leaq 0x60(%rsp), %rcx movl $0x0, (%rcx) movq %rax, 0x8...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::internal::edit_distance::(anonymous namespace)::InternalStrings::GetId(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
size_t GetId(const std::string& str) { IdMap::iterator it = ids_.find(str); if (it != ids_.end()) return it->second; size_t id = ids_.size(); return ids_[str] = id; }
pushq %r15 pushq %r14 pushq %rbx movq %rsi, %rbx movq %rdi, %r14 callq 0x7d0da leaq 0x8(%r14), %rcx cmpq %rcx, %rax je 0x645b5 movq 0x40(%rax), %r15 jmp 0x645c7 movq 0x28(%r14), %r15 movq %r14, %rdi movq %rbx, %rsi callq 0x7d048 movq %r15, (%rax) movq %r15, %rax popq %rbx popq %r14 popq %r15 retq
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::internal::edit_distance::CreateUnifiedDiff(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std...
std::string CreateUnifiedDiff(const std::vector<std::string>& left, const std::vector<std::string>& right, size_t context) { const std::vector<EditType> edits = CalculateOptimalEdits(left, right); size_t l_i = 0, r_i = 0, edit_i = 0; std::stringstream s...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x248, %rsp # imm = 0x248 movq %rcx, %r12 movq %rsi, %rbp movq %rdi, 0xb0(%rsp) leaq 0x98(%rsp), %rdi movq %rdx, 0xb8(%rsp) callq 0x64409 leaq 0xc0(%rsp), %rdi callq 0x2d270 xorl %ebx, %ebx xorl %r13d, %r13d xorl %r14d, %r14d movq %rbp, ...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::internal::edit_distance::(anonymous namespace)::Hunk::PushLine(char, char const*)
void PushLine(char edit, const char* line) { switch (edit) { case ' ': ++common_; FlushEdits(); hunk_.push_back(std::make_pair(' ', line)); break; case '-': ++removes_; hunk_removes_.push_back(std::make_pair('-', line)); break; case '+': ...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx movq %rdx, %r14 movl %esi, %ebp movq %rdi, %rbx cmpl $0x2d, %esi je 0x64b5d cmpl $0x2b, %ebp je 0x64b4b cmpl $0x20, %ebp jne 0x64b91 incq 0x20(%rbx) movq %rbx, %rdi callq 0x78f3e movl $0x38, %r12d movl $0x28, %r15d jmp 0x64b6d incq 0x10(%rbx) movl $0x50, %r12d movl...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::internal::EqFailure(char const*, char const*, 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&, bool)
AssertionResult EqFailure(const char* lhs_expression, const char* rhs_expression, const std::string& lhs_value, const std::string& rhs_value, bool ignoring_case) { Message msg; msg << "Expected equality of these ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x68, %rsp movl %r9d, %ebp movq %r8, %r14 movq %rcx, %r15 movq %rdx, %r12 movq %rsi, %r13 movq %rdi, 0x10(%rsp) movl $0x188, %edi # imm = 0x188 callq 0x2d130 movq %rax, %rbx movq %rax, %rdi callq 0x2d270 movq %rbx, 0x8(%rsp) leaq 0x10(%r...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::internal::(anonymous namespace)::SplitEscapedString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
std::vector<std::string> SplitEscapedString(const std::string& str) { std::vector<std::string> lines; size_t start = 0, end = str.size(); if (end > 2 && str[0] == '"' && str[end - 1] == '"') { ++start; --end; } bool escaped = false; for (size_t i = start; i + 1 < end; ++i) { if (escaped) { ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rsi, %r14 movq %rdi, %rbx xorps %xmm0, %xmm0 movups %xmm0, (%rdi) movq $0x0, 0x10(%rdi) movq 0x8(%rsi), %r15 cmpq $0x3, %r15 jb 0x64ea9 movq (%r14), %rax cmpb $0x22, (%rax) jne 0x64ea9 xorl %edx, %edx cmpb $0x22, -0x1(%rax,%r15) le...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::internal::GetBoolAssertionFailureMessage[abi:cxx11](testing::AssertionResult const&, char const*, char const*, char const*)
std::string GetBoolAssertionFailureMessage( const AssertionResult& assertion_result, const char* expression_text, const char* actual_predicate_value, const char* expected_predicate_value) { const char* actual_message = assertion_result.message(); Message msg; msg << "Value of: " << expression_text...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %r8, %r15 movq %rcx, %rbp movq %rdx, %rbx movq %rdi, (%rsp) movq 0x8(%rsi), %rax testq %rax, %rax je 0x64f8f movq (%rax), %r13 jmp 0x64f96 leaq 0x8dc04(%rip), %r13 # 0xf2b9a movl $0x188, %edi # imm = 0x188 callq 0x2d130 mov...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::internal::DoubleNearPredFormat(char const*, char const*, char const*, double, double, double)
AssertionResult DoubleNearPredFormat(const char* expr1, const char* expr2, const char* abs_error_expr, double val1, double val2, double...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x50, %rsp movq %rdi, %rbx movq %rsi, 0x38(%rsp) movq %rdx, 0x30(%rsp) movq %rcx, 0x28(%rsp) movsd %xmm0, 0x20(%rsp) movsd %xmm1, 0x18(%rsp) subsd %xmm1, %xmm0 andpd 0x8c24a(%rip), %xmm0 # 0xf1370 movsd %xmm2, 0x10(%rsp) movlpd %xmm0, 0x8(%rsp) ucomisd %xm...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::AssertionResult testing::(anonymous namespace)::IsSubstringImpl<char const*>(bool, char const*, char const*, char const* const&, char const* const&)
AssertionResult IsSubstringImpl( bool expected_to_be_substring, const char* needle_expr, const char* haystack_expr, const StringType& needle, const StringType& haystack) { if (IsSubstringPred(needle, haystack) == expected_to_be_substring) return AssertionSuccess(); const bool is_wide_string = sizeo...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movq %r9, %r14 movq %r8, %r12 movl %esi, %ebp movq %rdi, %rbx movq %rdx, 0x10(%rsp) movq %rcx, 0x8(%rsp) movq (%r8), %rsi movq (%r9), %rdi testq %rsi, %rsi setne %al testq %rdi, %rdi setne %cl testb %cl, %al jne 0x65df1 cmpq %rdi, %rsi s...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::AssertionResult testing::(anonymous namespace)::IsSubstringImpl<wchar_t const*>(bool, char const*, char const*, wchar_t const* const&, wchar_t const* const&)
AssertionResult IsSubstringImpl( bool expected_to_be_substring, const char* needle_expr, const char* haystack_expr, const StringType& needle, const StringType& haystack) { if (IsSubstringPred(needle, haystack) == expected_to_be_substring) return AssertionSuccess(); const bool is_wide_string = sizeo...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movq %r9, %r14 movq %r8, %r13 movl %esi, %ebp movq %rdi, %rbx movq %rdx, 0x10(%rsp) movq %rcx, 0x8(%rsp) movq (%r8), %rsi movq (%r9), %rdi testq %rsi, %rsi setne %al testq %rdi, %rdi setne %cl testb %cl, %al jne 0x65fcb cmpq %rdi, %rsi s...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::AssertionResult testing::(anonymous namespace)::IsSubstringImpl<std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t>>>(bool, char const*, char const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t>> const&, std::__cxx11::basic_string<wch...
AssertionResult IsSubstringImpl( bool expected_to_be_substring, const char* needle_expr, const char* haystack_expr, const StringType& needle, const StringType& haystack) { if (IsSubstringPred(needle, haystack) == expected_to_be_substring) return AssertionSuccess(); const bool is_wide_string = sizeo...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movq %r9, %r14 movq %r8, %r13 movl %esi, %ebp movq %rdi, %rbx movq %rdx, 0x10(%rsp) movq %rcx, 0x8(%rsp) movq (%r8), %rsi movq 0x8(%r8), %rcx movq %r9, %rdi xorl %edx, %edx callq 0x2d6c0 cmpq $-0x1, %rax setne %al xorb %bpl, %al je 0x664...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::internal::CmpHelperSTREQ(char const*, char const*, wchar_t const*, wchar_t const*)
AssertionResult CmpHelperSTREQ(const char* lhs_expression, const char* rhs_expression, const wchar_t* lhs, const wchar_t* rhs) { if (String::WideCStringEquals(lhs, rhs)) { return AssertionSuccess(); } return EqFailur...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x50, %rsp movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx movq %rcx, 0x8(%rsp) movq %r8, (%rsp) testq %r8, %r8 sete %al testq %rcx, %rcx je 0x668c4 testq %r8, %r8 je 0x668d5 movq %rcx, %rdi movq %r8, %rsi callq 0x2d0c0 testl %eax, %eax sete %al testb %al, %a...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::internal::CmpHelperSTRNE(char const*, char const*, wchar_t const*, wchar_t const*)
AssertionResult CmpHelperSTRNE(const char* s1_expression, const char* s2_expression, const wchar_t* s1, const wchar_t* s2) { if (!String::WideCStringEquals(s1, s2)) { return AssertionSuccess(); } return AssertionFail...
pushq %r15 pushq %r14 pushq %rbx subq $0x70, %rsp movq %rdi, %rbx movq %rsi, 0x18(%rsp) movq %rdx, 0x10(%rsp) movq %rcx, 0x8(%rsp) movq %r8, (%rsp) testq %r8, %r8 sete %al testq %rcx, %rcx je 0x66998 testq %r8, %r8 je 0x66a97 movq %rcx, %rdi movq %r8, %rsi callq 0x2d0c0 testl %eax, %eax sete %al testb %al, %al je 0x66a...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::internal::String::CaseInsensitiveWideCStringEquals(wchar_t const*, wchar_t const*)
bool String::CaseInsensitiveWideCStringEquals(const wchar_t* lhs, const wchar_t* rhs) { if (lhs == nullptr) return rhs == nullptr; if (rhs == nullptr) return false; #if GTEST_OS_WINDOWS return _wcsicmp(lhs, rhs) == 0; #elif GTEST_OS_LINUX && !GTEST_OS_LINUX_ANDROID ...
testq %rdi, %rdi sete %al testq %rsi, %rsi sete %cl orb %al, %cl movq %rdi, %rax orq %rsi, %rax sete %al testb %cl, %cl jne 0x66ada pushq %rax callq 0x2d220 testl %eax, %eax sete %al addq $0x8, %rsp retq nop
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::TestResult::GetTestPartResult(int) const
const TestPartResult& TestResult::GetTestPartResult(int i) const { if (i < 0 || i >= total_part_count()) internal::posix::Abort(); return test_part_results_.at(static_cast<size_t>(i)); }
pushq %rax testl %esi, %esi js 0x66d49 movq 0x38(%rdi), %rax movq 0x40(%rdi), %rcx subq %rax, %rcx shrq $0x4, %rcx imull $0xb6db6db7, %ecx, %ecx # imm = 0xB6DB6DB7 cmpl %esi, %ecx jle 0x66d49 movl %esi, %esi movq 0x40(%rdi), %rcx subq %rax, %rcx sarq $0x4, %rcx movabsq $0x6db6db6db6db6db7, %rdx # imm = 0x6DB6DB6DB6DB6D...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::TestResult::GetTestProperty(int) const
const TestProperty& TestResult::GetTestProperty(int i) const { if (i < 0 || i >= test_property_count()) internal::posix::Abort(); return test_properties_.at(static_cast<size_t>(i)); }
pushq %rax testl %esi, %esi js 0x66da3 movq 0x50(%rdi), %rax movq 0x58(%rdi), %rcx subq %rax, %rcx shrq $0x6, %rcx cmpl %esi, %ecx jle 0x66da3 movl %esi, %esi movq 0x58(%rdi), %rdx subq %rax, %rdx sarq $0x6, %rdx cmpq %rsi, %rdx jbe 0x66da8 shlq $0x6, %rsi addq %rsi, %rax popq %rcx retq callq 0x7ae1d leaq 0x8d620(%rip)...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::TestResult::RecordProperty(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, testing::TestProperty const&)
void TestResult::RecordProperty(const std::string& xml_element, const TestProperty& test_property) { if (!ValidateTestProperty(xml_element, test_property)) { return; } internal::MutexLock lock(&test_properites_mutex_); const std::vector<TestProperty>::iterator property_with_m...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rdx, %r14 movq %rdi, %rbx movq %rsi, %rdi movq %rdx, %rsi callq 0x66f02 testb %al, %al je 0x66ef2 movq %rbx, %rdi callq 0x7cf3a movq 0x50(%rbx), %r15 movq 0x58(%rbx), %r12 movq (%r14), %rsi leaq 0x8(%rsp), %r13 leaq 0x7(%rsp), %rdx...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::TestResult::ValidateTestProperty(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, testing::TestProperty const&)
bool TestResult::ValidateTestProperty(const std::string& xml_element, const TestProperty& test_property) { return ValidateTestPropertyName(test_property.key(), GetReservedAttributesForElement(xml_element)); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x98, %rsp movq %rdi, %rbx movq (%rsi), %rsi leaq 0x50(%rsp), %rdi leaq 0xf(%rsp), %rdx callq 0x79d80 leaq 0x8beab(%rip), %rsi # 0xf2dda movq %rbx, %rdi callq 0x2d850 testl %eax, %eax je 0x66fe4 leaq 0x8be71(%rip), %rsi # 0xf2db7 movq %rbx,...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::TestResult::Clear()
void TestResult::Clear() { test_part_results_.clear(); test_properties_.clear(); death_test_count_ = 0; elapsed_time_ = 0; }
pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx movq 0x38(%rdi), %r14 movq 0x40(%rdi), %rsi cmpq %r14, %rsi je 0x67342 movq %r14, %rdi callq 0x7f11e movq %r14, 0x40(%rbx) movq 0x50(%rbx), %r14 movq 0x58(%rbx), %rsi cmpq %r14, %rsi je 0x6735b movq %r14, %rdi callq 0x7fbd6 movq %r14, 0x58(%rbx) movl $0x0, 0x68(%rbx) mov...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::TestResult::Skipped() const
bool TestResult::Skipped() const { return !Failed() && CountIf(test_part_results_, TestPartSkipped) > 0; }
pushq %rbx movq %rdi, %rbx callq 0x673ae testb %al, %al je 0x67383 xorl %eax, %eax jmp 0x673ab movq 0x38(%rbx), %rcx movq 0x40(%rbx), %rdx xorl %eax, %eax cmpq %rdx, %rcx je 0x673ab xorl %esi, %esi cmpl $0x3, (%rcx) sete %sil addl %esi, %eax addq $0x70, %rcx cmpq %rdx, %rcx jne 0x67392 testl %eax, %eax setne %al popq %...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::UnitTest::RecordProperty(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 UnitTest::RecordProperty(const std::string& key, const std::string& value) { impl_->RecordProperty(TestProperty(key, value)); }
pushq %r14 pushq %rbx subq $0x48, %rsp movq 0x40(%rdi), %rbx leaq 0x8(%rsp), %r14 movq %r14, %rdi callq 0x7b42e movq %rbx, %rdi movq %r14, %rsi callq 0x70770 movq 0x20(%r14), %rdi leaq 0x38(%rsp), %rax cmpq %rax, %rdi je 0x67524 movq 0x38(%rsp), %rsi incq %rsi callq 0x2d0f0 leaq 0x18(%rsp), %rax movq -0x10(%rax), %rdi ...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::Test::RecordProperty(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, int)
void Test::RecordProperty(const std::string& key, int value) { Message value_message; value_message << value; RecordProperty(key, value_message.GetString().c_str()); }
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x48, %rsp movl %esi, %ebp movq %rdi, %r14 movl $0x188, %edi # imm = 0x188 callq 0x2d130 movq %rax, %rbx movq %rax, %rdi callq 0x2d270 leaq 0x10(%rbx), %rdi movq 0x10(%rbx), %rax movq -0x18(%rax), %rax movq $0x11, 0x18(%rbx,%rax) movl %ebp, %esi callq 0x2d290...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::Test::Run()
void Test::Run() { if (!HasSameFixtureClass()) return; internal::UnitTestImpl* const impl = internal::GetUnitTestImpl(); impl->os_stack_trace_getter()->UponLeavingGTest(); internal::HandleExceptionsInMethodIfSupported(this, &Test::SetUp, "SetUp()"); // We will run the test only if SetUp() was successful and ...
pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx callq 0x6767c testb %al, %al je 0x67ba1 callq 0x61ab2 movq 0x1703a8(%rip), %r14 # 0x1d7e70 cmpq $0x0, 0x1b0(%r14) jne 0x67aed movl $0x8, %edi callq 0x2d130 leaq 0xdfd45(%rip), %rcx # 0x147828 movq %rcx, (%rax) movq %rax, 0x1b0(%r14) movq 0x1b0(%r14), %rdi movq (%r...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::Test::HasFatalFailure()
bool Test::HasFatalFailure() { return internal::GetUnitTestImpl()->current_test_result()->HasFatalFailure(); }
pushq %rax callq 0x61ab2 movq 0x1702b9(%rip), %rcx # 0x1d7e70 movq 0x110(%rcx), %rax testq %rax, %rax je 0x67bcb addq $0x90, %rax jmp 0x67be9 movq 0x108(%rcx), %rax testq %rax, %rax je 0x67bdf addq $0x88, %rax jmp 0x67be9 addq $0x118, %rcx # imm = 0x118 movq %rcx, %rax movq 0x38(%rax), %rcx movq 0x40(%rax...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::Test::IsSkipped()
bool Test::IsSkipped() { return internal::GetUnitTestImpl()->current_test_result()->Skipped(); }
pushq %rax callq 0x61ab2 movq 0x17024f(%rip), %rax # 0x1d7e70 movq 0x110(%rax), %rdi testq %rdi, %rdi je 0x67c36 addq $0x90, %rdi jmp 0x67c54 movq 0x108(%rax), %rdi testq %rdi, %rdi je 0x67c4b addq $0x88, %rdi jmp 0x67c54 addq $0x118, %rax # imm = 0x118 movq %rax, %rdi popq %rax jmp 0x67372
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::TestInfo::TestInfo(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&, char const*, char const*, testing::internal::CodeLocation, void const*, testing::internal::TestFactoryBase*)
TestInfo::TestInfo(const std::string& a_test_suite_name, const std::string& a_name, const char* a_type_param, const char* a_value_param, internal::CodeLocation a_code_location, internal::TypeId fixture_class_id, internal::Tes...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %r9, %r14 movq %r8, %r15 movq %rcx, %r12 movq %rdx, %r13 movq %rdi, %rbx leaq 0x10(%rdi), %rax movq %rax, (%rdi) movq (%rsi), %rax movq 0x8(%rsi), %rdx addq %rax, %rdx movq %rax, %rsi callq 0x4115e leaq 0x20(%rbx), %rdi leaq 0x30(%rbx), %...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::internal::MakeAndRegisterTestInfo(char const*, char const*, char const*, char const*, testing::internal::CodeLocation, void const*, void (*)(), void (*)(), testing::internal::TestFactoryBase*)
TestInfo* MakeAndRegisterTestInfo( const char* test_suite_name, const char* name, const char* type_param, const char* value_param, CodeLocation code_location, TypeId fixture_class_id, SetUpTestSuiteFunc set_up_tc, TearDownTestSuiteFunc tear_down_tc, TestFactoryBase* factory) { TestInfo* const test_inf...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x78, %rsp movq %r9, 0x8(%rsp) movq %r8, %r13 movq %rcx, %r15 movq %rdx, %r12 movq %rsi, %r14 movq %rdi, %rbp movl $0x110, %edi # imm = 0x110 callq 0x2d130 movq %rax, %rbx leaq 0x10(%rsp), %rdi leaq 0x7(%rsp), %rdx movq %rbp, %rsi callq ...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::internal::ReportInvalidTestSuiteType(char const*, testing::internal::CodeLocation)
void ReportInvalidTestSuiteType(const char* test_suite_name, CodeLocation code_location) { Message errors; errors << "Attempted redefinition of test suite " << test_suite_name << ".\n" << "All tests in the same test suite must use the same test fixture\n" << "class....
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rsi, %r14 movq %rdi, %r12 movl $0x188, %edi # imm = 0x188 callq 0x2d130 movq %rax, %rbx movq %rax, %rdi callq 0x2d270 leaq 0x10(%rbx), %r15 movq 0x10(%rbx), %rax movq -0x18(%rax), %rax movq $0x11, 0x18(%rbx,%rax) leaq 0x8a830(%rip), %rsi ...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::TestInfo::Run()
void TestInfo::Run() { if (!should_run_) return; // Tells UnitTest where to store test result. internal::UnitTestImpl* const impl = internal::GetUnitTestImpl(); impl->set_current_test_info(this); TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater(); // Notifies the unit test even...
cmpb $0x1, 0x80(%rdi) jne 0x68654 pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdi, %rbx callq 0x61ab2 movq 0x16f994(%rip), %r13 # 0x1d7e70 movq %rbx, 0x110(%r13) callq 0x61ab2 movq 0x16f981(%rip), %rax # 0x1d7e70 movq 0x198(%rax), %r14 movq (%r14), %rax movq %r14, %rdi...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::TestSuite::GetTestInfo(int) const
const TestInfo* TestSuite::GetTestInfo(int i) const { const int index = GetElementOr(test_indices_, i, -1); return index < 0 ? nullptr : test_info_list_[static_cast<size_t>(index)]; }
movl $0xffffffff, %eax # imm = 0xFFFFFFFF testl %esi, %esi js 0x68847 movq 0x48(%rdi), %rcx movq 0x50(%rdi), %rdx subq %rcx, %rdx shrq $0x2, %rdx cmpl %esi, %edx jle 0x68847 movl %esi, %eax movl (%rcx,%rax,4), %eax testl %eax, %eax js 0x68856 movl %eax, %eax movq 0x30(%rdi), %rcx movq (%rcx,%rax,8), %rax retq xor...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::TestSuite::GetMutableTestInfo(int)
TestInfo* TestSuite::GetMutableTestInfo(int i) { const int index = GetElementOr(test_indices_, i, -1); return index < 0 ? nullptr : test_info_list_[static_cast<size_t>(index)]; }
movl $0xffffffff, %eax # imm = 0xFFFFFFFF testl %esi, %esi js 0x6887b movq 0x48(%rdi), %rcx movq 0x50(%rdi), %rdx subq %rcx, %rdx shrq $0x2, %rdx cmpl %esi, %edx jle 0x6887b movl %esi, %eax movl (%rcx,%rax,4), %eax testl %eax, %eax js 0x6888a movl %eax, %eax movq 0x30(%rdi), %rcx movq (%rcx,%rax,8), %rax retq xor...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::TestSuite::AddTestInfo(testing::TestInfo*)
void TestSuite::AddTestInfo(TestInfo* test_info) { test_info_list_.push_back(test_info); test_indices_.push_back(static_cast<int>(test_indices_.size())); }
pushq %rbx subq $0x10, %rsp movq %rsi, %rax movq %rdi, %rbx movq %rsi, 0x8(%rsp) movq 0x38(%rdi), %rsi cmpq 0x40(%rdi), %rsi je 0x688b2 movq %rax, (%rsi) addq $0x8, 0x38(%rbx) jmp 0x688c0 leaq 0x30(%rbx), %rdi leaq 0x8(%rsp), %rdx callq 0x805c4 movq 0x50(%rbx), %rsi movq %rsi, %rax subq 0x48(%rbx), %rax shrq $0x2, %rax...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::internal::XmlUnitTestResultPrinter::OutputXmlTestProperties(std::ostream*, testing::TestResult const&)
void XmlUnitTestResultPrinter::OutputXmlTestProperties( std::ostream* stream, const TestResult& result) { const std::string kProperties = "properties"; const std::string kProperty = "property"; if (result.test_property_count() <= 0) { return; } *stream << "<" << kProperties << ">\n"; for (int i = ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x88, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x38(%rsp), %r15 movq %r15, -0x10(%r15) leaq 0x86279(%rip), %rsi # 0xf2e16 leaq 0x8627c(%rip), %rdx # 0xf2e20 leaq 0x28(%rsp), %rdi callq 0x4e296 leaq 0x78(%rsp), %r12 movq %r12, -0x10(%r12) l...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::internal::XmlUnitTestResultPrinter::TestPropertiesAsXmlAttributes[abi:cxx11](testing::TestResult const&)
std::string XmlUnitTestResultPrinter::TestPropertiesAsXmlAttributes( const TestResult& result) { Message attributes; for (int i = 0; i < result.test_property_count(); ++i) { const TestProperty& property = result.GetTestProperty(i); attributes << " " << property.key() << "=" << "\"" << EscapeXmlA...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x58, %rsp movq %rsi, %r15 movq %rdi, 0x10(%rsp) movl $0x188, %edi # imm = 0x188 callq 0x2d130 movq %rax, %rbx movq %rax, %rdi callq 0x2d270 movq 0x10(%rbx), %rax movq -0x18(%rax), %rax movq %rbx, 0x8(%rsp) movq $0x11, 0x18(%rbx,%rax) mo...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::internal::DeathTest::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 DeathTest::Create(const char* statement, Matcher<const std::string&> matcher, const char* file, int line, DeathTest** test) { return GetUnitTestImpl()->death_test_factory()->Create( statement, std::move(matcher), file, line, test); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %r8, %rbx movl %ecx, %ebp movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %r12 callq 0x61ab2 movq 0x165746(%rip), %rax # 0x1d7e70 movq 0x1e0(%rax), %rdi leaq 0xd57c0(%rip), %rax # 0x147ef8 movq %rsp, %r13 movq %rax, (%r13) movq 0x...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest-death-test.cc
testing::internal::ForkingDeathTest::ForkingDeathTest(char const*, testing::Matcher<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&>)
ForkingDeathTest::ForkingDeathTest(const char* a_statement, Matcher<const std::string&> matcher) : DeathTestImpl(a_statement, std::move(matcher)), child_pid_(-1) {}
pushq %r14 pushq %rbx subq $0x18, %rsp movq %rsi, %rbx movq %rdi, %r14 movups 0x8(%rdx), %xmm0 movaps %xmm0, (%rsp) xorps %xmm0, %xmm0 movups %xmm0, 0x8(%rdx) callq 0x72632 movq %rbx, 0x8(%r14) movaps (%rsp), %xmm0 movups %xmm0, 0x18(%r14) leaq 0xd45af(%rip), %rax # 0x147cd0 movq %rax, 0x10(%r14) movb $0x0, 0x28(%r...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest-death-test.cc
testing::internal::ForkingDeathTest::Wait()
int ForkingDeathTest::Wait() { if (!spawned()) return 0; ReadAndInterpretStatusByte(); int status_value; GTEST_DEATH_TEST_CHECK_SYSCALL_(waitpid(child_pid_, &status_value, 0)); set_status(status_value); return status_value; }
pushq %r14 pushq %rbx subq $0x118, %rsp # imm = 0x118 xorl %eax, %eax cmpb $0x1, 0x28(%rdi) jne 0x737f2 movq %rdi, %rbx callq 0x727c2 leaq 0xc(%rsp), %r14 movl 0x3c(%rbx), %edi movq %r14, %rsi xorl %edx, %edx callq 0x2d8a0 cmpl $-0x1, %eax jne 0x737eb callq 0x2d970 cmpl $0x4, (%rax) je 0x73773 leaq 0x108(%rs...
/wapm-packages[P]wabt/third_party/gtest/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 %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x118, %rsp # imm = 0x118 movq %rdi, %rbx callq 0x74672 cmpq $0x1, %rax je 0x73bf6 movq %rax, %r12 leaq 0x7f82e(%rip), %rdx # 0xf32be leaq 0x90(%rsp), %rdi movl $0x1, %esi movl $0x462, %ecx # imm = 0x462 callq 0x77d7a movl $0x188, %edi ...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest-death-test.cc
testing::internal::FlagToEnvVar[abi:cxx11](char const*)
static std::string FlagToEnvVar(const char* flag) { const std::string full_flag = (Message() << GTEST_FLAG_PREFIX_ << flag).GetString(); Message env_var; for (size_t i = 0; i != full_flag.length(); i++) { env_var << ToUpper(full_flag.c_str()[i]); } return env_var.GetString(); }
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x30, %rsp movq %rsi, %r15 movq %rdi, %rbx movl $0x188, %edi # imm = 0x188 callq 0x2d130 movq %rax, %r14 movq %rax, %rdi callq 0x2d270 leaq 0x10(%r14), %r12 movq 0x10(%r14), %rax movq -0x18(%rax), %rax movq $0x11, 0x18(%r14,%rax) leaq 0x7b3f3(%rip)...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest-port.cc
testing::internal::CharFormat testing::internal::PrintCharsAsStringTo<char>(char const*, unsigned long, std::ostream*)
static CharFormat PrintCharsAsStringTo( const CharType* begin, size_t len, ostream* os) { const char* const kQuoteBegin = sizeof(CharType) == 1 ? "\"" : "L\""; *os << kQuoteBegin; 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 0x7aa5b(%rip), %rsi # 0xf2ed5 movl $0x1, %edx movq %rbx, %rdi callq 0x2d910 testq %r14, %r14 je 0x784ef xorl %ecx, %ecx xorl %r13d, %r13d xorl %ebp, %ebp movzbl (%r15,%r13), %r12d testb ...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest-printers.cc
testing::internal::CharFormat testing::internal::PrintCharsAsStringTo<wchar_t>(wchar_t const*, unsigned long, std::ostream*)
static CharFormat PrintCharsAsStringTo( const CharType* begin, size_t len, ostream* os) { const char* const kQuoteBegin = sizeof(CharType) == 1 ? "\"" : "L\""; *os << kQuoteBegin; 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 0x7be38(%rip), %rsi # 0xf43cc movl $0x2, %edx movq %rbx, %rdi callq 0x2d910 testq %r14, %r14 je 0x7860d xorl %eax, %eax leaq 0x7be1d(%rip), %r13 # 0xf43cc xorl %r12d, %r12d movl (%r1...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest-printers.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 0x797f0(%rip), %rdi # 0xf3266 callq 0x72220 testb %al, %al jne 0x79aa5 leaq 0x82369(%rip), %rdi # 0xfbdef movq %rsp, %rsi callq 0x72220 testb %al, %al jne 0x79aa5 leaq 0x7933f(%rip), %rdi # 0xf2dd8 movq %rsp, %rsi callq 0x72220 testb %al, %al je 0x79ab8 leaq...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::AssertionResult testing::internal::FloatingPointLE<float>(char const*, char const*, float, float)
AssertionResult FloatingPointLE(const char* expr1, const char* expr2, RawType val1, RawType val2) { // Returns success if val1 is less than val2, if (val1 < val2) { return AssertionSuccess(); } // or if val1 is ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x388, %rsp # imm = 0x388 movq %rdi, %rbx movq %rsi, 0x18(%rsp) movq %rdx, 0x10(%rsp) ucomiss %xmm0, %xmm1 ja 0x7a769 leaq 0x24(%rsp), %rdi movss %xmm0, 0x8(%rsp) movss %xmm0, (%rdi) leaq 0x20(%rsp), %rsi movss %xmm1, 0xc(%rsp) movss %xm...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::AssertionResult testing::internal::FloatingPointLE<double>(char const*, char const*, double, double)
AssertionResult FloatingPointLE(const char* expr1, const char* expr2, RawType val1, RawType val2) { // Returns success if val1 is less than val2, if (val1 < val2) { return AssertionSuccess(); } // or if val1 is ...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x390, %rsp # imm = 0x390 movq %rdi, %rbx movq %rsi, 0x18(%rsp) movq %rdx, 0x10(%rsp) ucomisd %xmm0, %xmm1 ja 0x7a98c leaq 0x38(%rsp), %rdi movsd %xmm0, (%rsp) movsd %xmm0, (%rdi) leaq 0x30(%rsp), %rsi movsd %xmm1, 0x8(%rsp) movsd %xmm1, (%rsi) cal...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest.cc
testing::AssertionResult& testing::AssertionResult::operator<<<char [13]>(char const (&) [13])
AssertionResult& operator<<(const T& value) { AppendMessage(Message() << value); return *this; }
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rsi, %r14 movq %rdi, %rbx movl $0x188, %edi # imm = 0x188 callq 0x2d130 movq %rax, %r15 movq %rax, %rdi callq 0x2d270 leaq 0x8(%rsp), %r12 movq %r15, (%r12) leaq 0x10(%r15), %r13 movq 0x10(%r15), %rax movq -0x18(%rax), %rax movq $0...
/wapm-packages[P]wabt/third_party/gtest/googletest/include/gtest/gtest.h
testing::AssertionResult& testing::AssertionResult::operator<<<char [29]>(char const (&) [29])
AssertionResult& operator<<(const T& value) { AppendMessage(Message() << value); return *this; }
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rsi, %r14 movq %rdi, %rbx movl $0x188, %edi # imm = 0x188 callq 0x2d130 movq %rax, %r15 movq %rax, %rdi callq 0x2d270 leaq 0x8(%rsp), %r12 movq %r15, (%r12) leaq 0x10(%r15), %r13 movq 0x10(%r15), %rax movq -0x18(%rax), %rax movq $0...
/wapm-packages[P]wabt/third_party/gtest/googletest/include/gtest/gtest.h
testing::internal::StreamingListener::SocketWriter::~SocketWriter()
~SocketWriter() override { if (sockfd_ != -1) CloseConnection(); }
pushq %rbx movq %rdi, %rbx leaq 0xc9695(%rip), %rax # 0x147ea0 movq %rax, (%rdi) cmpl $-0x1, 0x8(%rdi) je 0x7e81c movq %rbx, %rdi callq 0x7e96a movq 0x30(%rbx), %rdi leaq 0x40(%rbx), %rax cmpq %rax, %rdi je 0x7e834 movq (%rax), %rsi incq %rsi callq 0x2d0f0 movq 0x10(%rbx), %rdi addq $0x20, %rbx cmpq %rbx, %rdi je 0...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest-internal-inl.h
testing::internal::InternalRunDeathTestFlag::~InternalRunDeathTestFlag()
~InternalRunDeathTestFlag() { if (write_fd_ >= 0) posix::Close(write_fd_); }
pushq %rbx movq %rdi, %rbx movl 0x28(%rdi), %edi testl %edi, %edi js 0x7ea86 callq 0x2d1f0 movq (%rbx), %rdi addq $0x10, %rbx cmpq %rbx, %rdi je 0x7ea9e movq (%rbx), %rsi incq %rsi popq %rbx jmp 0x2d0f0 popq %rbx retq
/wapm-packages[P]wabt/third_party/gtest/googletest/include/gtest/internal/gtest-death-test-internal.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 %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movq %rdi, %rbx movl %esi, (%rdi) movl %esi, %edi callq 0x2dae0 movl %eax, 0x4(%rbx) leaq 0x8(%rbx), %r14 leaq 0x18(%rbx), %rax movq %rax, 0x8(%rbx) movq $0x0, 0x10(%rbx) movb $0x0, 0x18(%rbx) movups 0x75b88(%rip), %xmm0 # 0xf493c lea...
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest-port.cc
testing::internal::CapturedStream::~CapturedStream()
~CapturedStream() { remove(filename_.c_str()); }
pushq %rbx movq %rdi, %rbx movq 0x8(%rdi), %rdi callq 0x2d1c0 movq 0x8(%rbx), %rdi addq $0x18, %rbx cmpq %rbx, %rdi je 0x7ef92 movq (%rbx), %rsi incq %rsi popq %rbx jmp 0x2d0f0 popq %rbx retq
/wapm-packages[P]wabt/third_party/gtest/googletest/src/gtest-port.cc
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 0x7f943 movl (%rsi), %ecx movl %ecx, %edx notl %edx testl $0x7f800000, %edx # imm = 0x7F800000 sete %dl testl $0x7fffff, %ecx # ...
/wapm-packages[P]wabt/third_party/gtest/googletest/include/gtest/internal/gtest-internal.h
testing::AssertionResult& testing::AssertionResult::operator<<<std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t>>>(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t>> const&)
AssertionResult& operator<<(const T& value) { AppendMessage(Message() << value); return *this; }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx movl $0x188, %edi # imm = 0x188 callq 0x2d130 movq %rax, %r15 movq %rax, %rdi callq 0x2d270 movq %rsp, %r12 movq %r15, (%r12) movq 0x10(%r15), %rax movq -0x18(%rax), %rax movq $0x11, 0x18(%r15,%rax) movq %r12, %rdi movq %r...
/wapm-packages[P]wabt/third_party/gtest/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 0x7fe62 movq %rdi, 0x8(%rsi) movq (%rax), %rcx movq %rcx, 0x18(%rsi) jmp 0x7fe68 movups (%rax), %xmm0 movups %xmm0, (%rcx) movq 0x10(%rdx), %rcx movq %rcx, 0x10(%rsi) movq %rax, 0...
/wapm-packages[P]wabt/third_party/gtest/googletest/include/gtest/gtest-test-part.h
testing::internal::ThreadLocal<testing::TestPartResultReporterInterface*>::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 %r15 pushq %r14 pushq %rbx subq $0x10, %rsp leaq 0x7d(%rip), %rsi # 0x80d87 leaq 0x8(%rsp), %rdi callq 0x2d840 testl %eax, %eax je 0x80d79 movl %eax, %ebx leaq 0x72c63(%rip), %rdx # 0xf3984 leaq 0xc(%rsp), %r14 movq %r14, %rdi movl $0x3, %esi movl $0x6f5, %ecx # imm = 0x6F5 callq 0x77d7a mov...
/wapm-packages[P]wabt/third_party/gtest/googletest/include/gtest/internal/gtest-port.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 %r15 pushq %r14 pushq %rbx subq $0x10, %rsp leaq -0x57(%rip), %rsi # 0x80d87 leaq 0x8(%rsp), %rdi callq 0x2d840 testl %eax, %eax je 0x80e4d movl %eax, %ebx leaq 0x72b8f(%rip), %rdx # 0xf3984 leaq 0xc(%rsp), %r14 movq %r14, %rdi movl $0x3, %esi movl $0x6f5, %ecx # imm = 0x6F5 callq 0x77d7a mov...
/wapm-packages[P]wabt/third_party/gtest/googletest/include/gtest/internal/gtest-port.h
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> testing::internal::StreamableToString<wchar_t*>(wchar_t* const&)
std::string StreamableToString(const T& streamable) { return (Message() << streamable).GetString(); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx movl $0x188, %edi # imm = 0x188 callq 0x2d130 movq %rax, %r15 movq %rax, %rdi callq 0x2d270 movq %rsp, %r12 movq %r15, (%r12) movq 0x10(%r15), %rax movq -0x18(%rax), %rax movq $0x11, 0x18(%r15,%rax) movq (%r14), %rsi movq ...
/wapm-packages[P]wabt/third_party/gtest/googletest/include/gtest/gtest-message.h
wabt::(anonymous namespace)::BinaryReader::PrintError(char const*, ...)
BinaryReader::PrintError(const char* format, ...) { ErrorLevel error_level = reading_custom_section_ && !options_.fail_on_custom_section_error ? ErrorLevel::Warning : ErrorLevel::Error; WABT_SNPRINTF_ALLOCA(buffer, length, format); ...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1a8, %rsp # imm = 0x1A8 movq %rsi, %r15 movq %rdi, %rbx movq %r9, -0x128(%rbp) testb %al, %al je 0x81d91 movaps %xmm0, -0x120(%rbp) movaps %xmm1, -0x110(%rbp) movaps %xmm2, -0x100(%rbp) movaps %xmm3, -0xf0(%rbp) movaps ...
/wapm-packages[P]wabt/src/binary-reader.cc
wabt::(anonymous namespace)::BinaryReader::ReadU8(unsigned char*, char const*)
Result BinaryReader::ReadU8(uint8_t* out_value, const char* desc) { return ReadT(out_value, "uint8_t", desc); }
movq %rdx, %rcx movq 0x18(%rdi), %rax leaq 0x1(%rax), %rdx cmpq (%rdi), %rdx jbe 0x81f50 pushq %rax leaq 0x7384f(%rip), %rsi # 0xf5787 leaq 0x73961(%rip), %rdx # 0xf58a0 xorl %eax, %eax callq 0x81d34 movl $0x1, %eax addq $0x8, %rsp retq movq 0x8(%rdi), %rcx movb (%rcx,%rax), %al movb %al, (%rsi) incq 0x18(%rdi)...
/wapm-packages[P]wabt/src/binary-reader.cc
wabt::(anonymous namespace)::BinaryReader::ReadTypeSection(unsigned long)
Result BinaryReader::ReadTypeSection(Offset section_size) { CALLBACK(BeginTypeSection, section_size); Index num_signatures; CHECK_RESULT(ReadCount(&num_signatures, "type count")); CALLBACK(OnTypeCount, num_signatures); for (Index i = 0; i < num_signatures; ++i) { Type form; if (options_.features.gc_e...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rdi, %r14 movq 0x48(%rdi), %rdi movq (%rdi), %rax callq *0x48(%rax) testl %eax, %eax je 0x82f4f leaq 0x73515(%rip), %rsi # 0xf6453 movq %r14, %rdi xorl %eax, %eax callq 0x81d34 movl $0x1, %ebx jmp 0x82f92 leaq 0x754bd(%rip), %r...
/wapm-packages[P]wabt/src/binary-reader.cc
wabt::(anonymous namespace)::BinaryReader::ReadFunctionSection(unsigned long)
Result BinaryReader::ReadFunctionSection(Offset section_size) { CALLBACK(BeginFunctionSection, section_size); CHECK_RESULT( ReadCount(&num_function_signatures_, "function signature count")); CALLBACK(OnFunctionCount, num_function_signatures_); for (Index i = 0; i < num_function_signatures_; ++i) { Ind...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdi, %rbx movq 0x48(%rdi), %rdi movq (%rdi), %rax callq *0xc0(%rax) testl %eax, %eax je 0x837d8 leaq 0x732a7(%rip), %rsi # 0xf6a5f movq %rbx, %rdi xorl %eax, %eax callq 0x81d34 movl $0x1, %ebp movl %ebp, %eax addq $0x8, %rsp popq %rb...
/wapm-packages[P]wabt/src/binary-reader.cc
wabt::(anonymous namespace)::BinaryReader::ReadMemory(wabt::Limits*)
Result BinaryReader::ReadMemory(Limits* out_page_limits) { uint8_t flags; uint64_t initial; uint64_t max = 0; CHECK_RESULT(ReadU8(&flags, "memory flags")); bool has_max = flags & WABT_BINARY_LIMITS_HAS_MAX_FLAG; bool is_shared = flags & WABT_BINARY_LIMITS_IS_SHARED_FLAG; bool is_64 = flags & WABT_BINARY_L...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rsi, %r14 movq %rdi, %rbx movq $0x0, 0x10(%rsp) leaq 0x70b3e(%rip), %rdx # 0xf690e leaq 0xf(%rsp), %rsi callq 0x81f20 movl $0x1, %ebp cmpl $0x1, %eax je 0x85f54 movzbl 0xf(%rsp), %r15d cmpl $0x8, %r15d jae 0x85e72 movl %r15d, %...
/wapm-packages[P]wabt/src/binary-reader.cc
wabt::(anonymous namespace)::BinaryReader::ReadTagType(unsigned int*)
Result BinaryReader::ReadTagType(Index* out_sig_index) { uint8_t attribute; CHECK_RESULT(ReadU8(&attribute, "tag attribute")); ERROR_UNLESS(attribute == 0, "tag attribute must be 0"); CHECK_RESULT(ReadIndex(out_sig_index, "tag signature index")); return Result::Ok; }
pushq %rbp pushq %r14 pushq %rbx subq $0x10, %rsp movq %rsi, %rbx movq %rdi, %r14 leaq 0x709f4(%rip), %rdx # 0xf6a25 leaq 0xb(%rsp), %rsi callq 0x81f20 movl $0x1, %ebp cmpl $0x1, %eax je 0x86087 cmpb $0x0, 0xb(%rsp) je 0x8605f leaq 0x709e0(%rip), %rsi # 0xf6a33 movq %r14, %rdi xorl %eax, %eax callq 0x81d34 jmp ...
/wapm-packages[P]wabt/src/binary-reader.cc
wabt::(anonymous namespace)::BinaryReader::ReadU64Leb128(unsigned long*, char const*)
Result BinaryReader::ReadU64Leb128(uint64_t* out_value, const char* desc) { const uint8_t* p = state_.data + state_.offset; const uint8_t* end = state_.data + read_end_; size_t bytes_read = wabt::ReadU64Leb128(p, end, out_value); ERROR_UNLESS(bytes_read > 0, "unable to read u64 leb128: %s", desc); state_.offs...
pushq %r14 pushq %rbx pushq %rax movq %rdx, %rbx movq %rsi, %rdx movq %rdi, %r14 movq 0x8(%rdi), %rsi movq 0x18(%rdi), %rdi addq %rsi, %rdi addq (%r14), %rsi callq 0x8a1ed testq %rax, %rax je 0x86139 addq %rax, 0x18(%r14) xorl %eax, %eax jmp 0x86152 leaq 0x7086f(%rip), %rsi # 0xf69af movq %r14, %rdi movq %rbx, %rdx...
/wapm-packages[P]wabt/src/binary-reader.cc
wabt::(anonymous namespace)::BinaryReader::ReportUnexpectedOpcode(wabt::Opcode, char const*)
Result BinaryReader::ReportUnexpectedOpcode(Opcode opcode, const char* where) { std::string message = "unexpected opcode"; if (where) { message += ' '; message += where; } message += ":"; std::vector<uint8_t> bytes = opcode.GetBytes(); assert(bytes.size() > 0); for (uint8_t byte : bytes) { ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x68, %rsp movq %rdi, (%rsp) leaq 0xc(%rsp), %r14 movl %esi, (%r14) leaq 0x20(%rsp), %rax movq %rax, -0x10(%rax) leaq 0x5ec61(%rip), %rsi # 0xe7125 leaq 0x5ec6b(%rip), %rdx # 0xe7136 leaq 0x10(%rsp), %r15 movq %r15, %rdi callq 0x4e296 leaq ...
/wapm-packages[P]wabt/src/binary-reader.cc
wabt::(anonymous namespace)::BinaryReader::ReadF64(unsigned long*, char const*)
Result BinaryReader::ReadT(T* out_value, const char* type_name, const char* desc) { if (state_.offset + sizeof(T) > read_end_) { PrintError("unable to read %s: %s", type_name, desc); return Result::Error; } #if WABT_BIG_ENDIAN uint8_t tmp[sizeof(T)]; ...
movq 0x18(%rdi), %rax leaq 0x8(%rax), %rcx cmpq (%rdi), %rcx jbe 0x88656 pushq %rax leaq 0x6d150(%rip), %rsi # 0xf5787 leaq 0x6f7d6(%rip), %rdx # 0xf7e14 leaq 0x6eaa1(%rip), %rcx # 0xf70e6 xorl %eax, %eax callq 0x81d34 movl $0x1, %eax addq $0x8, %rsp retq movq 0x8(%rdi), %rcx movq (%rcx,%rax), %rax movq %ra...
/wapm-packages[P]wabt/src/binary-reader.cc
wabt::FormatErrorsToFile(std::vector<wabt::Error, std::allocator<wabt::Error>> const&, wabt::Location::Type, wabt::LexerSourceLineFinder*, _IO_FILE*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, wabt::PrintHeader, int)
void FormatErrorsToFile(const Errors& errors, Location::Type location_type, LexerSourceLineFinder* line_finder, FILE* file, const std::string& header, PrintHeader print_header, ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movq %r9, (%rsp) movq %r8, %r15 movq %rcx, %rbx movq %rdx, %r12 movl %esi, %ebp movq %rdi, %r13 leaq 0x8(%rsp), %rdi movq %rcx, %rsi movl $0x1, %edx callq 0x89508 leaq 0x18(%rsp), %r14 movq %r14, %rdi movq %r13, %rsi movl %ebp, %edx movq...
/wapm-packages[P]wabt/src/error-formatter.cc
wabt::StripExtension(std::basic_string_view<char, std::char_traits<char>>)
std::string_view StripExtension(std::string_view filename) { return filename.substr(0, filename.find_last_of('.')); }
movq %rsi, %rdx testq %rdi, %rdi je 0x89c84 movq %rdi, %rcx movq %rdi, %rax subq $0x1, %rax jb 0x89c84 cmpb $0x2e, -0x1(%rdx,%rcx) movq %rax, %rcx jne 0x89c72 jmp 0x89c8b movq $-0x1, %rax cmpq %rax, %rdi cmovbq %rdi, %rax retq
/wapm-packages[P]wabt/src/filenames.cc
wabt::GetBasename(std::basic_string_view<char, std::char_traits<char>>)
std::string_view GetBasename(std::string_view filename) { size_t last_slash = filename.find_last_of('/'); size_t last_backslash = filename.find_last_of('\\'); if (last_slash == std::string_view::npos && last_backslash == std::string_view::npos) { return filename; } if (last_slash == std::string_vie...
movq %rdi, %rcx movq $-0x1, %rax testq %rdi, %rdi je 0x89cc1 movq %rcx, %rdx movq %rcx, %rax subq $0x1, %rax jb 0x89cba cmpb $0x2f, -0x1(%rsi,%rdx) movq %rax, %rdx jne 0x89ca8 jmp 0x89cc1 movq $-0x1, %rax testq %rcx, %rcx je 0x89cde movq %rcx, %rdi movq %rcx, %rdx subq $0x1, %rdx jb 0x89cde cmpb $0x5c, -0x1(%rsi,%rdi) ...
/wapm-packages[P]wabt/src/filenames.cc
wabt::WriteFixedU32Leb128(wabt::Stream*, unsigned int, char const*)
void WriteFixedU32Leb128(Stream* stream, uint32_t value, const char* desc) { uint8_t data[MAX_U32_LEB128_BYTES]; Offset length = WriteFixedU32Leb128Raw(data, data + MAX_U32_LEB128_BYTES, value); stream->WriteData(data, length, desc); }
pushq %rax movq %rdx, %rcx movl %esi, %edx orb $-0x80, %dl leaq 0x3(%rsp), %rax movb %dl, (%rax) movl %esi, %edx shrl $0x7, %edx orb $-0x80, %dl movb %dl, 0x1(%rax) movl %esi, %edx shrl $0xe, %edx orb $-0x80, %dl movb %dl, 0x2(%rax) movl %esi, %edx shrl $0x15, %edx orb $-0x80, %dl movb %dl, 0x3(%rax) shrl $0x1c, %esi m...
/wapm-packages[P]wabt/src/leb128.cc
wabt::WriteU32Leb128Raw(unsigned char*, unsigned char*, unsigned int)
Offset WriteU32Leb128Raw(uint8_t* dest, uint8_t* dest_end, uint32_t value) { uint8_t data[MAX_U32_LEB128_BYTES]; Offset length = 0; LEB128_LOOP_UNTIL(value == 0); if (static_cast<Offset>(dest_end - dest) < length) { return 0; } memcpy(dest, data, length); return length; }
pushq %rbx subq $0x10, %rsp xorl %ebx, %ebx movl %edx, %eax shrl $0x7, %eax movl %edx, %ecx orb $-0x80, %cl movzbl %cl, %ecx cmpl $0x7f, %edx cmovbel %edx, %ecx movb %cl, 0xb(%rsp,%rbx) leaq 0x1(%rbx), %rbx movl %eax, %edx ja 0x89f05 subq %rdi, %rsi leaq -0x1(%rbx), %rax cmpq %rax, %rsi jbe 0x89f3d leaq 0xb(%rsp), %rsi...
/wapm-packages[P]wabt/src/leb128.cc
wabt::WriteFixedS32Leb128(wabt::Stream*, unsigned int, char const*)
void WriteFixedS32Leb128(Stream* stream, uint32_t value, const char* desc) { uint8_t data[MAX_U32_LEB128_BYTES]; data[0] = (value & 0x7f) | 0x80; data[1] = ((value >> 7) & 0x7f) | 0x80; data[2] = ((value >> 14) & 0x7f) | 0x80; data[3] = ((value >> 21) & 0x7f) | 0x80; // The last byte needs to be sign-extend...
pushq %rax movq %rdx, %rcx movl %esi, %eax movl %eax, %edx orb $-0x80, %dl leaq 0x3(%rsp), %rsi movb %dl, (%rsi) movl %eax, %edx shrl $0x7, %edx orb $-0x80, %dl movb %dl, 0x1(%rsi) movl %eax, %edx shrl $0xe, %edx orb $-0x80, %dl movb %dl, 0x2(%rsi) movl %eax, %edx shrl $0x15, %edx orb $-0x80, %dl movb %dl, 0x3(%rsi) mo...
/wapm-packages[P]wabt/src/leb128.cc
wabt::ReadU32Leb128(unsigned char const*, unsigned char const*, unsigned int*)
size_t ReadU32Leb128(const uint8_t* p, const uint8_t* end, uint32_t* out_value) { if (p < end && (p[0] & 0x80) == 0) { *out_value = LEB128_1(uint32_t); return 1; } else if (p + 1 < end && (p[1] & 0x80) == 0) { *out_value = LEB128_2(uint32_t); return 2; } e...
cmpq %rsi, %rdi jae 0x8a0fd movsbl (%rdi), %ecx testl %ecx, %ecx js 0x8a0fd movl $0x1, %eax jmp 0x8a1e7 leaq 0x1(%rdi), %rax cmpq %rsi, %rax jae 0x8a122 movsbl (%rax), %eax testl %eax, %eax js 0x8a122 shll $0x7, %eax movzbl (%rdi), %ecx andl $0x7f, %ecx orl %eax, %ecx movl $0x2, %eax jmp 0x8a1e7 leaq 0x2(%rdi), %rax cm...
/wapm-packages[P]wabt/src/leb128.cc
wabt::ReadU64Leb128(unsigned char const*, unsigned char const*, unsigned long*)
size_t ReadU64Leb128(const uint8_t* p, const uint8_t* end, uint64_t* out_value) { if (p < end && (p[0] & 0x80) == 0) { *out_value = LEB128_1(uint64_t); return 1; } else if (p + 1 < end && (p[1] & 0x80) == 0) { *out_value = LEB128_2(uint64_t); return 2; } e...
cmpq %rsi, %rdi jae 0x8a205 movsbq (%rdi), %rcx testq %rcx, %rcx js 0x8a205 movl $0x1, %eax jmp 0x8a5b0 leaq 0x1(%rdi), %rax cmpq %rsi, %rax jae 0x8a22e movsbq (%rax), %rax testq %rax, %rax js 0x8a22e shlq $0x7, %rax movzbl (%rdi), %ecx andl $0x7f, %ecx orq %rax, %rcx movl $0x2, %eax jmp 0x8a5b0 leaq 0x2(%rdi), %rax cm...
/wapm-packages[P]wabt/src/leb128.cc
wabt::ReadS32Leb128(unsigned char const*, unsigned char const*, unsigned int*)
size_t ReadS32Leb128(const uint8_t* p, const uint8_t* end, uint32_t* out_value) { if (p < end && (p[0] & 0x80) == 0) { uint32_t result = LEB128_1(uint32_t); *out_value = SIGN_EXTEND(int32_t, result, 6); return 1; } else if (p + 1 < end && (p[1] & 0x80) == 0) { ...
cmpq %rsi, %rdi jae 0x8a5d3 movsbl (%rdi), %ecx testl %ecx, %ecx js 0x8a5d3 shll $0x19, %ecx sarl $0x19, %ecx movl $0x1, %eax jmp 0x8a6d6 leaq 0x1(%rdi), %rax cmpq %rsi, %rax jae 0x8a5fe movsbl (%rax), %eax testl %eax, %eax js 0x8a5fe movzbl (%rdi), %ecx andl $0x7f, %ecx shll $0x19, %eax shll $0x12, %ecx orl %eax, %ecx...
/wapm-packages[P]wabt/src/leb128.cc
wabt::LexerSourceLineFinder::GetLineOffsets(int, wabt::Range<unsigned long>*)
Result LexerSourceLineFinder::GetLineOffsets(int find_line, OffsetRange* out_range) { if (IsLineCached(find_line)) { *out_range = GetCachedLine(find_line); return Result::Ok; } const size_t kBufferSize = 1 << 16; std::vector<char> buffer(kBufferSize); ass...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movq %rdx, %rbx movq %rdi, %r15 movslq %esi, %rbp movq 0x10(%rdi), %rax subq 0x8(%rdi), %rax sarq $0x4, %rax cmpq %rbp, %rax jbe 0x8ac96 movq %r15, %rdi callq 0x8aef2 movq %rax, (%rbx) movq %rdx, 0x8(%rbx) xorl %ebx, %ebx jmp 0x8ae18 mov...
/wapm-packages[P]wabt/src/lexer-source-line-finder.cc
wabt::LexerSourceLineFinder::ClampSourceLineOffsets(wabt::Range<unsigned long>, wabt::Range<int>, unsigned long)
OffsetRange LexerSourceLineFinder::ClampSourceLineOffsets( OffsetRange offset_range, ColumnRange column_range, Offset max_line_length) { Offset line_length = offset_range.size(); if (line_length > max_line_length) { size_t column_count = column_range.size(); size_t center_on; if (column_coun...
movq %rdx, %r8 movq %rsi, %rdx movq %rdi, %rax subq %rdi, %rsi cmpq %rcx, %rsi jbe 0x8aedb movq %r8, %rsi shrq $0x20, %rsi movl %esi, %edi subl %r8d, %edi movslq %edi, %rdi cmpq %rcx, %rdi ja 0x8aeaf addl %r8d, %esi movl %esi, %r8d shrl $0x1f, %r8d addl %esi, %r8d sarl %r8d decl %r8d movslq %r8d, %rsi movq %rcx, %rdi s...
/wapm-packages[P]wabt/src/lexer-source-line-finder.cc
wabt::LexerSourceLineFinder::GetCachedLine(int) const
bool LexerSourceLineFinder::IsLineCached(int line) const { return static_cast<size_t>(line) < line_ranges_.size(); }
movslq %esi, %rcx movq 0x8(%rdi), %rdx movq 0x10(%rdi), %rax subq %rdx, %rax sarq $0x4, %rax cmpq %rcx, %rax jbe 0x8af17 shlq $0x4, %rcx movq (%rdx,%rcx), %rax movq 0x8(%rdx,%rcx), %rdx retq pushq %rax leaq 0x6dcee(%rip), %rdi # 0xf8c0d leaq 0x6dcfa(%rip), %rsi # 0xf8c20 leaq 0x6dd61(%rip), %rcx # 0xf8c8e m...
/wapm-packages[P]wabt/src/lexer-source-line-finder.cc
wabt::LexerSource::Fill(void*, unsigned long)
size_t LexerSource::Fill(void* dest, Offset size) { Offset read_size = std::min(size, size_ - read_offset_); if (read_size > 0) { const void* src = static_cast<const char*>(data_) + read_offset_; memcpy(dest, src, read_size); read_offset_ += read_size; } return read_size; }
pushq %r14 pushq %rbx pushq %rax movq 0x8(%rdi), %rbx movq 0x10(%rdi), %rax subq %rax, %rbx cmpq %rdx, %rbx cmovaeq %rdx, %rbx testq %rbx, %rbx je 0x8b36d movq %rdi, %r14 addq (%rdi), %rax movq %rsi, %rdi movq %rax, %rsi movq %rbx, %rdx callq 0x2d0a0 addq %rbx, 0x10(%r14) movq %rbx, %rax addq $0x8, %rsp popq %rbx popq ...
/wapm-packages[P]wabt/src/lexer-source.cc
wabt::ParseHexdigit(char, unsigned int*)
Result ParseHexdigit(char c, uint32_t* out) { if (static_cast<unsigned int>(c - '0') <= 9) { *out = c - '0'; return Result::Ok; } else if (static_cast<unsigned int>(c - 'a') < 6) { *out = 10 + (c - 'a'); return Result::Ok; } else if (static_cast<unsigned int>(c - 'A') < 6) { *out = 10 + (c - '...
leal -0x30(%rdi), %eax cmpl $0xa, %eax jb 0x8b547 leal -0x61(%rdi), %eax cmpl $0x5, %eax ja 0x8b535 addl $-0x57, %edi jmp 0x8b545 leal -0x41(%rdi), %ecx movl $0x1, %eax cmpl $0x5, %ecx ja 0x8b54b addl $-0x37, %edi movl %edi, %eax movl %eax, (%rsi) xorl %eax, %eax retq
/wapm-packages[P]wabt/src/literal.cc
wabt::ParseInt64(char const*, char const*, unsigned long*, wabt::ParseIntType)
Result ParseInt64(const char* s, const char* end, uint64_t* out, ParseIntType parse_type) { bool has_sign = false; if (*s == '-' || *s == '+') { if (parse_type == ParseIntType::UnsignedOnly) { return Result::Error; } if (*s == '-') { has_...
pushq %rbp pushq %rbx pushq %rax movq %rdx, %rbx movzbl (%rdi), %eax cmpl $0x2d, %eax je 0x8b6c4 cmpl $0x2b, %eax jne 0x8b6d3 testl %ecx, %ecx je 0x8b713 cmpb $0x2d, %al sete %bpl incq %rdi jmp 0x8b6d5 xorl %ebp, %ebp movq %rsp, %rdx movq $0x0, (%rdx) callq 0x8b54c testb %bpl, %bpl je 0x8b708 movq (%rsp), %rdx movl $0x...
/wapm-packages[P]wabt/src/literal.cc
wabt::ParseFloat(wabt::LiteralType, char const*, char const*, unsigned int*)
Result FloatParser<T>::Parse(LiteralType literal_type, const char* s, const char* end, Uint* out_bits) { #if COMPILER_IS_MSVC if (literal_type == LiteralType::Int && StringStartsWith(s, end, "0x")) { // Some MSVC crt implementa...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx cmpl $0x4, %edi ja 0x8be9e movq %rcx, %r8 movl %edi, %eax leaq 0x6d4d8(%rip), %rcx # 0xf8d34 movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax movq %rsi, %rdi movq %rdx, %rsi movq %r8, %rdx popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp 0x8cba8 movb ...
/wapm-packages[P]wabt/src/literal.cc
wabt::WriteFloatHex(char*, unsigned long, unsigned int)
void WriteFloatHex(char* buffer, size_t size, uint32_t bits) { return FloatWriter<float>::WriteHex(buffer, size, bits); }
pushq %r14 pushq %rbx subq $0x18, %rsp movq %rdi, %rbx movl %edx, %eax shrl $0x17, %eax movzbl %al, %ecx leal -0x7f(%rcx), %eax testl %edx, %edx js 0x8c61b movq %rsp, %rdi jmp 0x8c624 leaq 0x1(%rsp), %rdi movb $0x2d, -0x1(%rdi) andl $0x7fffff, %edx # imm = 0x7FFFFF cmpl $0x80, %eax jne 0x8c69a leaq 0x3(%rdi), %...
/wapm-packages[P]wabt/src/literal.cc
wabt::WriteUint128(char*, unsigned long, v128)
void WriteUint128(char* buffer, size_t size, v128 bits) { uint64_t digits; uint64_t remainder; char reversed_buffer[40]; size_t len = 0; do { remainder = bits.u32(3); for (int i = 3; i != 0; --i) { digits = remainder / 10; remainder = ((remainder - digits * 10) << 32) + bits.u32(i - 1); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x68, %rsp movq %rsi, 0x10(%rsp) movq %rdi, 0x18(%rsp) leaq 0x10(%rsp), %rax movq %rdx, -0x10(%rax) movq %rcx, -0x8(%rax) movq %rsp, %r12 movabsq $-0x3333333333333333, %r13 # imm = 0xCCCCCCCCCCCCCCCD xorl %r15d, %r15d movl 0xc(%rsp), %ebx movl $0x3...
/wapm-packages[P]wabt/src/literal.cc
wabt::(anonymous namespace)::FloatParser<double>::ParseFloat(char const*, char const*, unsigned long*)
Result FloatParser<T>::ParseFloat(const char* s, const char* end, Uint* out_bits) { // Here is the normal behavior for strtof/strtod: // // input | errno | output | // --------------------------------- // overflow | ERANGE | +-HUGE_...
pushq %rbp movq %rsp, %rbp pushq %r14 pushq %rbx subq $0x10, %rsp cmpq %rsi, %rdi ja 0x8cd23 movq %rdx, %rbx movq %rsi, %rax subq %rdi, %rax leaq 0x10(%rax), %rcx andq $-0x10, %rcx movq %rsp, %rax subq %rcx, %rax movq %rax, %rsp movq %rsi, %rcx movq %rax, %r14 subq %rdi, %rcx leaq 0x1(%rcx), %rcx je 0x8ccd9 movq %rax, ...
/wapm-packages[P]wabt/src/literal.cc
wabt::Result wabt::ParseInt<unsigned char>(char const*, char const*, unsigned char*, wabt::ParseIntType)
Result ParseInt(const char* s, const char* end, U* out, ParseIntType parse_type) { using S = typename std::make_signed<U>::type; uint64_t value; bool has_sign = false; if (*s == '-' || *s == '+') { if (parse_type == ParseIntType::UnsignedOnly) { return R...
pushq %rbp pushq %rbx pushq %rax movq %rdx, %rbx movzbl (%rdi), %eax cmpl $0x2d, %eax je 0x8cd74 cmpl $0x2b, %eax jne 0x8cd83 testl %ecx, %ecx je 0x8cdb9 cmpb $0x2d, %al sete %bpl incq %rdi jmp 0x8cd85 xorl %ebp, %ebp movq %rsp, %rdx callq 0x8b54c movl %eax, %ecx movl $0x1, %eax cmpl $0x1, %ecx je 0x8cdd0 movq (%rsp), ...
/wapm-packages[P]wabt/src/literal.cc
wabt::Result wabt::ParseInt<unsigned short>(char const*, char const*, unsigned short*, wabt::ParseIntType)
Result ParseInt(const char* s, const char* end, U* out, ParseIntType parse_type) { using S = typename std::make_signed<U>::type; uint64_t value; bool has_sign = false; if (*s == '-' || *s == '+') { if (parse_type == ParseIntType::UnsignedOnly) { return R...
pushq %rbp pushq %rbx pushq %rax movq %rdx, %rbx movzbl (%rdi), %eax cmpl $0x2d, %eax je 0x8cdea cmpl $0x2b, %eax jne 0x8cdf9 testl %ecx, %ecx je 0x8ce2f cmpb $0x2d, %al sete %bpl incq %rdi jmp 0x8cdfb xorl %ebp, %ebp movq %rsp, %rdx callq 0x8b54c movl %eax, %ecx movl $0x1, %eax cmpl $0x1, %ecx je 0x8ce48 movq (%rsp), ...
/wapm-packages[P]wabt/src/literal.cc
wabt::Opcode::IsNaturallyAligned(unsigned long) const
Opcode::Info Opcode::GetInfo() const { if (enum_ < Invalid) { return infos_[enum_]; } Info invalid_info = infos_[Opcode::Invalid]; DecodeInvalidOpcode(enum_, &invalid_info.prefix, &invalid_info.code); invalid_info.prefix_code = PrefixCode(invalid_info.prefix, invalid_info.code); return invalid_info; }
movl (%rdi), %eax cmpq $0x21c, %rax # imm = 0x21C leaq (%rax,%rax,8), %rax leaq 0x14072f(%rip), %rcx # 0x1cd720 leaq 0x30(%rcx,%rax,8), %rax leaq 0x149f33(%rip), %rcx # 0x1d6f30 cmovbq %rax, %rcx cmpq $-0x1, %rsi sete %dl cmpq %rsi, (%rcx) sete %al orb %dl, %al retq nop
/wapm-packages[P]wabt/src/opcode.cc
wabt::Opcode::IsEnabled(wabt::Features const&) const
bool Opcode::IsEnabled(const Features& features) const { switch (enum_) { case Opcode::Try: case Opcode::Catch: case Opcode::Delegate: case Opcode::Throw: case Opcode::Rethrow: return features.exceptions_enabled(); case Opcode::ReturnCallIndirect: case Opcode::ReturnCall: retu...
movl (%rdi), %eax addl $-0x6, %eax cmpl $0x215, %eax # imm = 0x215 ja 0x8d08a leaq 0x6c45d(%rip), %rcx # 0xf94b4 movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax movb 0x4(%rsi), %al retq movb 0x5(%rsi), %al retq movb 0x11(%rsi), %al retq movb 0x2(%rsi), %al retq movb 0x9(%rsi), %al retq movb 0xa(%rs...
/wapm-packages[P]wabt/src/opcode.cc
wabt::WastLexer::GetNanToken()
Token WastLexer::GetNanToken() { if (MatchString("nan")) { if (MatchChar(':')) { if (MatchString("0x") && ReadHexNum() && NoTrailingReservedChars()) { return LiteralToken(TokenType::Float, LiteralType::Nan); } } else if (NoTrailingReservedChars()) { return LiteralToken(TokenType::Flo...
pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx movq 0x38(%rsi), %rcx movq 0x50(%rsi), %rax xorl %edx, %edx leaq 0x68225(%rip), %rsi # 0xf9176 xorl %edi, %edi movq %rax, %r8 movl $0xffffffff, %r9d # imm = 0xFFFFFFFF cmpq %rcx, %r8 jae 0x90f70 leaq 0x1(%r8), %r10 movq %r10, 0x50(%r14) movzbl (...
/wapm-packages[P]wabt/src/wast-lexer.cc
wabt::WastLexer::GetHexNumberToken(wabt::TokenType)
Token WastLexer::GetHexNumberToken(TokenType token_type) { if (ReadHexNum()) { if (MatchChar('.')) { token_type = TokenType::Float; if (IsHexDigit(PeekChar()) && !ReadHexNum()) { return GetReservedToken(); } } if (MatchChar('p') || MatchChar('P')) { token_type = TokenType::...
pushq %rbp pushq %r14 pushq %rbx movl %edx, %ebp movq %rsi, %r14 movq %rdi, %rbx movq %rsi, %rdi callq 0x917a4 testb %al, %al je 0x9118b movq 0x38(%r14), %rax movq 0x50(%r14), %rcx cmpq %rax, %rcx jae 0x9108d cmpb $0x2e, (%rcx) sete %dl jmp 0x9108f xorl %edx, %edx cmpq %rax, %rcx setae %sil movl %edx, %edi xorb $0x1, %...
/wapm-packages[P]wabt/src/wast-lexer.cc
wabt::WastLexer::IsCharClass(int, wabt::WastLexer::CharClass)
bool WastLexer::IsCharClass(int c, CharClass bit) { // Generated by the following python script: // // def Range(c, lo, hi): return lo <= c <= hi // def IsDigit(c): return Range(c, '0', '9') // def IsHexDigit(c): return IsDigit(c) or Range(c.lower(), 'a', 'f') // def IsKeyword(c): return Range(c, 'a...
incl %edi cmpl $0x101, %edi # imm = 0x101 jae 0x91701 movl %edi, %eax leaq 0x6af89(%rip), %rcx # 0xfc680 movsbl (%rax,%rcx), %eax testl %esi, %eax setne %al retq pushq %rax leaq 0x6b2ff(%rip), %rdi # 0xfca08 leaq 0x6b30b(%rip), %rsi # 0xfca1b leaq 0x6b364(%rip), %rcx # 0xfca7b movl $0x1be, %e...
/wapm-packages[P]wabt/src/wast-lexer.cc
wabt::WastParser::ParseVarList(std::vector<wabt::Var, std::allocator<wabt::Var>>*)
Result WastParser::ParseVarList(VarVector* out_var_list) { WABT_TRACE(ParseVarList); Var var; while (ParseVarOpt(&var)) { out_var_list->emplace_back(var); } if (out_var_list->empty()) { return ErrorExpected({"a var"}, "12 or $foo"); } else { return Result::Ok; } }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xc8, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x38(%rsp), %r15 movq %r15, %rdi callq 0xda074 leaq 0x80(%rsp), %r12 movq %r12, %rdi callq 0xda074 movq %rbx, %rdi movq %r15, %rsi movq %r12, %rdx callq 0x92b02 movl %eax, %ebp movq %r12, %rdi callq 0...
/wapm-packages[P]wabt/src/wast-parser.cc
wabt::WastParser::ParseElemExprListOpt(std::vector<wabt::intrusive_list<wabt::Expr>, std::allocator<wabt::intrusive_list<wabt::Expr>>>*)
bool WastParser::ParseElemExprListOpt(ExprListVector* out_list) { ExprList elem_expr; while (ParseElemExprOpt(&elem_expr)) { out_list->push_back(std::move(elem_expr)); } return !out_list->empty(); }
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rsi, %rbx movq %rdi, %r14 xorps %xmm0, %xmm0 movq %rsp, %rsi movaps %xmm0, (%rsi) movq $0x0, 0x10(%rsi) callq 0x93d8c testb %al, %al je 0x93eae movq %rsp, %r15 movq %rbx, %rdi movq %r15, %rsi callq 0xa42be movq %r14, %rdi movq %r15, %rsi callq 0x93d8c testb %al, %...
/wapm-packages[P]wabt/src/wast-parser.cc
wabt::WastParser::ParseModule(std::unique_ptr<wabt::Module, std::default_delete<wabt::Module>>*)
Result WastParser::ParseModule(std::unique_ptr<Module>* out_module) { WABT_TRACE(ParseModule); auto module = std::make_unique<Module>(); if (PeekMatchLpar(TokenType::Module)) { // Starts with "(module". Allow text and binary modules, but no quoted // modules. CommandPtr command; CHECK_RESULT(Pars...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x68, %rsp movq %rsi, %rbx movq %rdi, %r14 movl $0x370, %edi # imm = 0x370 callq 0x2d130 movq %rax, %r15 leaq 0x30(%rax), %r12 movl $0x370, %edx # imm = 0x370 movq %rax, %rdi xorl %esi, %esi callq 0x2d280 movq %r12, 0x20(%r15)...
/wapm-packages[P]wabt/src/wast-parser.cc
wabt::WastParser::ParseGlobalModuleField(wabt::Module*)
Result WastParser::ParseGlobalModuleField(Module* module) { WABT_TRACE(ParseGlobalModuleField); EXPECT(Lpar); Location loc = GetLocation(); EXPECT(Global); std::string name; ParseBindVarOpt(&name); ModuleFieldList export_fields; CHECK_RESULT(ParseInlineExports(&export_fields, ExternalKind::Global)); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xd8, %rsp movq %rsi, %r14 movq %rdi, %rbx movl $0x1b, %esi callq 0x92396 movl $0x1, %ebp cmpl $0x1, %eax je 0x98311 leaq 0x98(%rsp), %r15 movq %r15, %rdi movq %rbx, %rsi callq 0x91ed8 movups (%r15), %xmm0 movups 0x10(%r15), %xmm1 movaps %xmm1, 0x8...
/wapm-packages[P]wabt/src/wast-parser.cc
wabt::WastParser::ParseMemoryModuleField(wabt::Module*)
Result WastParser::ParseMemoryModuleField(Module* module) { WABT_TRACE(ParseMemoryModuleField); EXPECT(Lpar); Location loc = GetLocation(); EXPECT(Memory); std::string name; ParseBindVarOpt(&name); ModuleFieldList export_fields; CHECK_RESULT(ParseInlineExports(&export_fields, ExternalKind::Memory)); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x108, %rsp # imm = 0x108 movq %rsi, %r14 movq %rdi, %rbx movl $0x1b, %esi callq 0x92396 movl $0x1, %ebp cmpl $0x1, %eax je 0x98f6e leaq 0xc0(%rsp), %r15 movq %r15, %rdi movq %rbx, %rsi callq 0x91ed8 movups (%r15), %xmm0 movups 0x10(%r15...
/wapm-packages[P]wabt/src/wast-parser.cc
wabt::WastParser::ParseInlineImport(wabt::Import*)
Result WastParser::ParseInlineImport(Import* import) { WABT_TRACE(ParseInlineImport); EXPECT(Lpar); EXPECT(Import); CHECK_RESULT(ParseQuotedText(&import->module_name)); CHECK_RESULT(ParseQuotedText(&import->field_name)); EXPECT(Rpar); return Result::Ok; }
pushq %rbp pushq %r14 pushq %rbx movq %rsi, %r14 movq %rdi, %rbx movl $0x1b, %esi callq 0x92396 movl $0x1, %ebp cmpl $0x1, %eax je 0x99b0b movq %rbx, %rdi movl $0x17, %esi callq 0x92396 cmpl $0x1, %eax je 0x99b0b leaq 0x8(%r14), %rsi movl $0x1, %ebp movq %rbx, %rdi movl $0x1, %edx callq 0x9498e cmpl $0x1, %eax je 0x99b...
/wapm-packages[P]wabt/src/wast-parser.cc