name
string
code
string
asm
string
file
string
unsigned long binlog::EventFilter::writeAllowed<binlog::TextOutputStream>(char const*, unsigned long, binlog::TextOutputStream&)
std::size_t EventFilter::writeAllowed(const char* buffer, std::size_t bufferSize, OutputStream& out) { std::size_t totalWriteSize = 0; Range entries(buffer, bufferSize); while (! entries.empty()) { Range entry = entries; const std::uint32_t size = entries.read<std::uint32_t>(); Range payload(entri...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x108, %rsp # imm = 0x108 movq %rcx, 0x48(%rsp) movq %rsi, 0x8(%rsp) addq %rdx, %rsi movq %rsi, 0x10(%rsp) testq %rdx, %rdx je 0x64ef movq %rdi, %r14 leaq 0x20(%rdi), %rax movq %rax, 0x40(%rsp) leaq 0x28(%rdi), %rax movq %rax, 0x18(%rsp)...
/erenon[P]binlog/include/binlog/EventFilter.hpp
void mserialize::StructDeserializer<binlog::EventSource, std::integral_constant<unsigned long binlog::EventSource::*, &binlog::EventSource::id>, std::integral_constant<binlog::Severity binlog::EventSource::*, &binlog::EventSource::severity>, std::integral_constant<std::__cxx11::basic_string<char, std::char_traits<char>...
static void deserialize(T& t, InputStream& istream) { using swallow = int[]; (void)swallow{1, (deserialize_member(t, Members::value, istream), int{})...}; }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 movl $0x8, %esi movq %rbx, %rdi callq 0x6524 movq (%rbx), %rax movq (%rax), %rax movq %rax, (%r14) addq $0x8, (%rbx) movl $0x2, %esi movq %rbx, %rdi callq 0x6524 movq (%rbx), %rax movzwl (%rax), %eax movw %ax, 0x8(%r14) addq $0x2, (%rbx) leaq 0x10(%r14), ...
/erenon[P]binlog/include/mserialize/StructDeserializer.hpp
void mserialize::StructSerializer<binlog::WriterProp, std::integral_constant<unsigned long binlog::WriterProp::*, &binlog::WriterProp::id>, std::integral_constant<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> binlog::WriterProp::*, &binlog::WriterProp::name>, std::integral_constant<unsi...
static void serialize(const T& t, OutputStream& ostream) { using swallow = int[]; (void)swallow{1, (serialize_member(t, Members::value, ostream), int{})...}; }
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rsi, %rbx movq %rdi, %r14 movq (%rdi), %rax leaq 0x10(%rsp), %rcx movq %rax, -0x8(%rcx) movq 0x8(%rsi), %rsi leaq 0x8(%rsp), %r15 movq %rbx, %rdi movq %r15, %rdx callq 0x4dbe leaq 0x8(%r14), %rdi movq %rbx, %rsi callq 0x6c3a movq 0x28(%r14), %rax movq %rax, (%r15)...
/erenon[P]binlog/include/mserialize/StructSerializer.hpp
binlog::EventStream::readWriterProp(binlog::Range)
void EventStream::readWriterProp(Range range) { // Make sure _writerProp is updated only if deserialize does not throw WriterProp wp; mserialize::deserialize(wp, range); _writerProp = std::move(wp); }
pushq %r15 pushq %r14 pushq %rbx subq $0x40, %rsp movq %rdi, %rbx leaq 0x30(%rsp), %rax movq %rsi, (%rax) movq %rdx, 0x8(%rax) xorl %ecx, %ecx leaq 0x18(%rsp), %r15 movq %rcx, -0x18(%r15) movq %r15, -0x10(%r15) movq %rcx, -0x8(%r15) movb $0x0, (%r15) movq %rcx, 0x10(%r15) movq %rsp, %rdi movq %rax, %rsi callq 0x8b82 le...
/erenon[P]binlog/include/binlog/EventStream.cpp
binlog::EventStream::readEvent(unsigned long, binlog::Range)
void EventStream::readEvent(std::uint64_t eventSourceId, Range range) { auto&& it = _eventSources.find(eventSourceId); if (it == _eventSources.end()) { throw std::runtime_error("Event has invalid source id: " + std::to_string(eventSourceId)); } _event.source = it; _event.clockValue = range.read<std::ui...
pushq %rbp pushq %r14 pushq %rbx subq $0x60, %rsp movq %rdi, %rbx movq %rdx, 0x30(%rsp) movq %rcx, 0x38(%rsp) leaq 0x8(%rsp), %rax movq %rsi, (%rax) movq %rax, %rsi callq 0x811e testq %rax, %rax je 0x7a17 movq %rax, 0xa0(%rbx) leaq 0x30(%rsp), %r14 movl $0x8, %esi movq %r14, %rdi callq 0x6524 movq (%r14), %rax movq (%r...
/erenon[P]binlog/include/binlog/EventStream.cpp
void binlog::detail::SegmentedMap<binlog::EventSource>::emplace<binlog::EventSource>(unsigned long, binlog::EventSource&&)
void emplace(const key_type key, Args&&... args) { const key_type si = segmentIndex(key); const key_type offset = _offsets[si]; const key_type vi = key - offset; Segment& segment = _segments[si]; if (segment.size() == vi) { segment.emplace_back(std::forward<Args>(args)...); } el...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xe8, %rsp movq %rdx, %rbx movq %rdi, %r12 movq %rsi, 0xc8(%rsp) movq (%rdi), %rax movq 0x8(%rdi), %rcx subq %rax, %rcx sarq $0x3, %rcx cmpq $0x2, %rcx jb 0x7b33 movl $0x1, %r15d cmpq %rsi, (%rax,%r15,8) ja 0x7b2e incq %r15 cmpq %r15, %rcx jne 0x7b...
/erenon[P]binlog/include/binlog/detail/SegmentedMap.hpp
binlog::PrettyPrinter::printProducerLocalTime(binlog::detail::OstreamBuffer&, unsigned long) const
void PrettyPrinter::printProducerLocalTime(detail::OstreamBuffer& out, std::uint64_t clockValue) const { // TODO(benedek) perf: cache bdt, update instead of complete recompute if (std::int64_t(_clockSync->clockFrequency) > 0) { BrokenDownTime bdt{}; const std::chrono::nanoseconds sinceEpoch = clockToNsSi...
pushq %r15 pushq %r14 pushq %rbx subq $0x40, %rsp movq %rsi, %rbx movq %rdi, %r14 movq 0x48(%rdi), %rdi cmpq $0x0, 0x8(%rdi) jle 0x9652 xorps %xmm0, %xmm0 movq %rsp, %r15 movaps %xmm0, 0x30(%r15) movaps %xmm0, 0x20(%r15) movaps %xmm0, 0x10(%r15) movaps %xmm0, (%r15) movq %rdx, %rsi callq 0xbf5b movq 0x48(%r14), %rcx mo...
/erenon[P]binlog/include/binlog/PrettyPrinter.cpp
bitset_shift_left
void bitset_shift_left(bitset_t *bitset, size_t s) { size_t extra_words = s / 64; int inword_shift = s % 64; size_t as = bitset->arraysize; if (inword_shift == 0) { bitset_resize(bitset, as + extra_words, false); // could be done with a memmove for (size_t i = as + extra_words; i...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rsi, %r15 movq %rdi, %r14 movq %rsi, %rbx shrq $0x6, %rbx movq 0x8(%rdi), %r13 leaq (%rbx,%r13), %r12 movl %r15d, %ebp andl $0x3f, %ebp je 0x3dc6 leaq 0x1(%r12), %rsi movq %r14, %rdi movl $0x1, %edx callq 0x3e2b movq (%r14), %rsi movq -0...
/RoaringBitmap[P]CRoaring/src/bitset.c
bitset_count
size_t bitset_count(const bitset_t *bitset) { size_t card = 0; size_t k = 0; for (; k + 7 < bitset->arraysize; k += 8) { card += roaring_hamming(bitset->array[k]); card += roaring_hamming(bitset->array[k + 1]); card += roaring_hamming(bitset->array[k + 2]); card += roaring_ha...
pushq %rbx movq 0x8(%rdi), %rcx cmpq $0x8, %rcx jb 0x40f5 movq (%rdi), %rdx xorl %esi, %esi movdqa 0x5467(%rip), %xmm0 # 0x9410 movdqa 0x546f(%rip), %xmm1 # 0x9420 movdqa 0x5477(%rip), %xmm2 # 0x9430 pxor %xmm3, %xmm3 xorl %eax, %eax movdqu (%rdx,%rsi,8), %xmm7 movdqu 0x10(%rdx,%rsi,8), %xmm4 movdqu 0x20(%r...
/RoaringBitmap[P]CRoaring/src/bitset.c
roaring_bitmap_aligned_free
static void roaring_bitmap_aligned_free(void* memblock) { #ifdef _MSC_VER _aligned_free(memblock); #elif defined(__MINGW32__) || defined(__MINGW64__) __mingw_aligned_free(memblock); #else free(memblock); #endif }
jmp 0x2040
/RoaringBitmap[P]CRoaring/src/memory.c
exception_handler
static void exception_handler(int sig) { const char *sig_strerror = ""; #ifdef HAVE_STRSIGNAL sig_strerror = strsignal(sig); #endif cm_print_error("Test failed with exception: %s(%d)", sig_strerror, sig); exit_test(1); }
pushq %rbx movl %edi, %ebx callq 0x21b0 leaq 0x233b(%rip), %rdi # 0xa155 movq %rax, %rsi movl %ebx, %edx xorl %eax, %eax callq 0x4dd8 callq 0x4f94
/RoaringBitmap[P]CRoaring/build_O3/_deps/cmocka-src/src/cmocka.c
teardown_testing
static void teardown_testing(const char *test_name) { (void)test_name; list_free(&global_function_result_map_head, free_symbol_map_value, (void*)0); initialize_source_location(&global_last_mock_value_location); list_free(&global_function_parameter_map_head, free_symbol_map_value, ...
pushq %r15 pushq %r14 pushq %rbx movq %fs:0x0, %rax movq %rax, %rbx leaq -0x190(%rax), %rdi leaq 0x7d8(%rip), %r14 # 0x8765 xorl %r15d, %r15d movq %r14, %rsi xorl %edx, %edx callq 0x87c1 movq %r15, -0x170(%rbx) movl %r15d, -0x168(%rbx) leaq -0x140(%rbx), %rdi movl $0x1, %edx movq %r14, %rsi callq 0x87c1 movq %r15...
/RoaringBitmap[P]CRoaring/build_O3/_deps/cmocka-src/src/cmocka.c
hexdump
char *hexdump(const unsigned char *buffer, size_t len) { static char dump[200 * 3 + 1]; char *p = dump; size_t i; if(len > 200) return NULL; for(i = 0; i<len; i++, p += 3) msnprintf(p, 4, "%02x ", buffer[i]); return dump; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax cmpq $0xc8, %rsi jbe 0x12fb xorl %ebx, %ebx jmp 0x1345 movq %rsi, %r14 testq %rsi, %rsi je 0x133e movq %rdi, %r15 leaq 0x2d93(%rip), %rbx # 0x40a0 leaq 0xdc4(%rip), %r12 # 0x20d8 xorl %ebp, %ebp movq %rbx, %r13 movzbl (%r15,%rbp), %...
/kfalconspb[P]curl/tests/libtest/first.c
main
int main(int argc, char **argv) { char *URL; int result; #ifdef O_BINARY # ifdef __HIGHC__ _setmode(stdout, O_BINARY); # else setmode(fileno(stdout), O_BINARY); # endif #endif memory_tracking_init(); /* * Setup proper locale from environment. This is needed to enable locale- * specific behaviour...
pushq %rbp pushq %rbx pushq %rax movq %rsi, %rbx movl %edi, %ebp leaq 0xd10(%rip), %rsi # 0x2076 movl $0x6, %edi callq 0x1070 cmpl $0x1, %ebp jg 0x1399 movq 0x2c5c(%rip), %rax # 0x3fd8 movq (%rax), %rdi leaq 0xd58(%rip), %rsi # 0x20de xorl %eax, %eax callq 0x10b0 movl $0x1, %eax addq $0x8, %rsp popq %r...
/kfalconspb[P]curl/tests/libtest/first.c
Qentem::Test::TestBigInt1(Qentem::QTest&)
static void TestBigInt1(QTest &test) { test.IsEqual(BigInt_8_128::SizeOfType(), 1U, __LINE__); test.IsEqual(BigInt_8_128::TypeWidth(), 8U, __LINE__); test.IsEqual(BigInt_8_128::TotalBits(), 128U, __LINE__); test.IsEqual(BigInt_8_128::MaxIndex(), 15U, __LINE__); test.IsEqual(BigInt_8_63::TypeWidth()...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdi, %rbx movl $0x1, %eax leaq 0x4(%rsp), %r14 movl %eax, (%r14) movq %rsp, %r15 movl %eax, (%r15) movl $0x53, %ecx movq %r14, %rsi movq %r15, %rdx callq 0x9e5e movl $0x8, %eax movl %eax, (%r14) movl %eax, (%r15) movl $0x8, %ebp leaq 0x4...
/HaniAmmar[P]Qentem-Engine/Tests/BigIntTest.hpp
void Qentem::Test::PrintDigits<Qentem::BigInt<unsigned long long, 1024u>>(Qentem::BigInt<unsigned long long, 1024u>, Qentem::StringStream<char>&)
static void PrintDigits(BigInt_T b_int, StringStream<char> &stream) { constexpr unsigned int max = (((b_int.TotalBits() * 30103U) / 100000U) + 1U); char storage[max]{0}; unsigned int index = 0; StreamDigits(&(storage[0]), index, b_int); stream.Clear(); while (index...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x138, %rsp # imm = 0x138 movq %rsi, %rbx vxorps %xmm0, %xmm0, %xmm0 vmovups %zmm0, 0xf5(%rsp) vmovups %zmm0, 0xc0(%rsp) vmovups %zmm0, 0x80(%rsp) vmovups %zmm0, 0x40(%rsp) vmovups %zmm0, (%rsp) movl 0x80(%rdi), %ecx testl %ecx, %ecx jne 0x95e6 xorl %edx, %ed...
/HaniAmmar[P]Qentem-Engine/Tests/BigIntTest.hpp
Qentem::TestOutPut::GetColor(Qentem::TestOutPut::Colors)
QENTEM_NOINLINE static const char *GetColor(Colors color) noexcept { if (IsColored()) { switch (color) { case Colors::TITLE: return "\x1B[36m"; case Colors::ERROR: return "\x1B[31m"; case Colors::PASS: ...
leaq 0x3c6f(%rip), %rax # 0xd6ae cmpb $0x3, %dil ja 0x9a60 cmpb $0x0, 0x6664(%rip) # 0x100b0 je 0x9a60 movzbl %dil, %eax leaq 0x3c57(%rip), %rcx # 0xd6b0 movslq (%rcx,%rax,4), %rax addq %rcx, %rax retq nop
/HaniAmmar[P]Qentem-Engine/Include/QTest.hpp
Qentem::QTest::EndTests()
QENTEM_NOINLINE int EndTests() { if (!error_) { TestOutPut::Print(TestOutPut::GetColor(TestOutPut::Colors::TITLE), test_name_, TestOutPut::GetColor(TestOutPut::Colors::PASS), " Passed all tests", TestOutPut::GetColor(TestOutPut::Colors::END...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x18, %rsp movl $0x1, %ebx cmpb $0x0, 0x18(%rdi) jne 0x9b63 movq %rdi, %r14 xorl %ebx, %ebx xorl %edi, %edi callq 0x9a38 leaq 0x10(%rsp), %r15 movq %rax, (%r15) addq $0x8, %r14 movl $0x2, %edi callq 0x9a38 leaq 0x8(%rsp), %r12 movq %rax, (%r12) movl $0x3, %edi callq 0x9...
/HaniAmmar[P]Qentem-Engine/Include/QTest.hpp
void Qentem::TestOutPut::Print<char const*, char [14], char const*, char [3], unsigned int, char [25]>(char const* const&, char const (&) [14], char const* const&, char const (&) [3], unsigned int const&, char const (&) [25])
inline static void Print(const Values_T &...values) { if (GetStreamCache() == nullptr) { #if __cplusplus > 201402L (std::wcout << ... << values); #else const int dummy[sizeof...(Values_T)] = {(std::wcout << values, 0)...}; (void)dummy; #endif } else { #if __cplusplus...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movq %r9, %rbx movq %r8, %r14 movq %rcx, %r15 movq %rdx, %r12 movq %rsi, %r13 movq 0x62c1(%rip), %rax # 0x100c0 testq %rax, %rax jne 0x9e0d movq 0x61cd(%rip), %rax # 0xffd8 jmp 0x9e11 addq $0x10, %rax movq (%rdi), %rsi movq %rax, %rdi callq 0x1030 movq %r...
/HaniAmmar[P]Qentem-Engine/Include/QTest.hpp
void Qentem::QTest::PrintErrorMessage<unsigned long long, unsigned long long>(bool, unsigned long long const&, unsigned long long const&, unsigned long)
QENTEM_NOINLINE void PrintErrorMessage(bool equal, const Value1_T &value1, const Value2_T &value2, unsigned long line) { TestOutPut::Print(TestOutPut::GetColor(TestOutPut::Colors::ERROR), "Failed", TestOutPut::GetColor(TestOutPut::Colors::END)...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rcx, %rbx movq %rdx, %r14 movl %esi, %ebp movq %rdi, %r12 leaq 0x20(%rsp), %r15 movq %r8, (%r15) movl $0x1, %edi callq 0x9a38 leaq 0x10(%rsp), %r13 movq %rax, (%r13) movl $0x3, %edi callq 0x9a38 leaq 0x18(%rsp), %rdx movq %rax, (%r...
/HaniAmmar[P]Qentem-Engine/Include/QTest.hpp
void Qentem::QTest::PrintErrorMessage<unsigned char, unsigned long long>(bool, unsigned char const&, unsigned long long const&, unsigned long)
QENTEM_NOINLINE void PrintErrorMessage(bool equal, const Value1_T &value1, const Value2_T &value2, unsigned long line) { TestOutPut::Print(TestOutPut::GetColor(TestOutPut::Colors::ERROR), "Failed", TestOutPut::GetColor(TestOutPut::Colors::END)...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rcx, %rbx movq %rdx, %r14 movl %esi, %ebp movq %rdi, %r12 leaq 0x20(%rsp), %r15 movq %r8, (%r15) movl $0x1, %edi callq 0x9a38 leaq 0x10(%rsp), %r13 movq %rax, (%r13) movl $0x3, %edi callq 0x9a38 leaq 0x18(%rsp), %rdx movq %rax, (%r...
/HaniAmmar[P]Qentem-Engine/Include/QTest.hpp
void Qentem::QTest::PrintErrorMessage<unsigned long long, unsigned char>(bool, unsigned long long const&, unsigned char const&, unsigned long)
QENTEM_NOINLINE void PrintErrorMessage(bool equal, const Value1_T &value1, const Value2_T &value2, unsigned long line) { TestOutPut::Print(TestOutPut::GetColor(TestOutPut::Colors::ERROR), "Failed", TestOutPut::GetColor(TestOutPut::Colors::END)...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rcx, %rbx movq %rdx, %r14 movl %esi, %ebp movq %rdi, %r12 leaq 0x20(%rsp), %r15 movq %r8, (%r15) movl $0x1, %edi callq 0x9a38 leaq 0x10(%rsp), %r13 movq %rax, (%r13) movl $0x3, %edi callq 0x9a38 leaq 0x18(%rsp), %rdx movq %rax, (%r...
/HaniAmmar[P]Qentem-Engine/Include/QTest.hpp
void Qentem::TestOutPut::Print<char const*, char [2], unsigned long, char [10], char const*, char [9], char [6], char [19], char [5], char [4]>(char const* const&, char const (&) [2], unsigned long const&, char const (&) [10], char const* const&, char const (&) [9], char const (&) [6], char const (&) [19], char const (...
inline static void Print(const Values_T &...values) { if (GetStreamCache() == nullptr) { #if __cplusplus > 201402L (std::wcout << ... << values); #else const int dummy[sizeof...(Values_T)] = {(std::wcout << values, 0)...}; (void)dummy; #endif } else { #if __cplusplus...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %r9, %r12 movq %r8, %rbp movq %rcx, %rbx movq %rdx, %r14 movq %rsi, %r15 movq 0x68(%rsp), %rax movq %rax, 0x10(%rsp) movq 0x60(%rsp), %rax movq %rax, 0x8(%rsp) movq 0x58(%rsp), %rax movq %rax, (%rsp) movq 0x50(%rsp), %r13 movq 0x527...
/HaniAmmar[P]Qentem-Engine/Include/QTest.hpp
Qentem::BigInt<unsigned char, 128u>::Add(unsigned char, unsigned int)
void Add(Number_T number, SizeT32 index = 0U) noexcept { if (number != 0) { while (index <= MaxIndex()) { const Number_T tmp = storage_[index]; storage_[index] += number; if (storage_[index] > tmp) { break; } ...
testl %esi, %esi je 0xb175 movl %edx, %ecx cmpl $0x11, %edx movl $0x10, %eax cmovael %edx, %eax movl $0x1, %r9d movl $0x1, %r8d subl %edx, %r8d cmpq %rcx, %rax je 0xb164 movb (%rdi,%rcx), %dl leal (%rdx,%rsi), %r10d movb %r10b, (%rdi,%rcx) incq %rcx decl %r8d movzbl %sil, %esi cmpb %dl, %r10b cmovbel %r9d, %esi jbe 0xb...
/HaniAmmar[P]Qentem-Engine/Include/BigInt.hpp
Qentem::BigInt<unsigned int, 1024u>::Add(unsigned int, unsigned int)
void Add(Number_T number, SizeT32 index = 0U) noexcept { if (number != 0) { while (index <= MaxIndex()) { const Number_T tmp = storage_[index]; storage_[index] += number; if (storage_[index] > tmp) { break; } ...
testl %esi, %esi je 0xb579 movl %edx, %ecx cmpl $0x21, %edx movl $0x20, %eax cmovael %edx, %eax movl $0x1, %r9d movl $0x1, %r8d subl %edx, %r8d cmpq %rcx, %rax je 0xb562 movl (%rdi,%rcx,4), %edx leal (%rdx,%rsi), %r10d movl %r10d, (%rdi,%rcx,4) incq %rcx decl %r8d cmpl %edx, %r10d cmovbel %r9d, %esi jbe 0xb536 cmpl %r1...
/HaniAmmar[P]Qentem-Engine/Include/BigInt.hpp
Qentem::BigInt<unsigned long long, 1024u>::Add(unsigned long long, unsigned int)
void Add(Number_T number, SizeT32 index = 0U) noexcept { if (number != 0) { while (index <= MaxIndex()) { const Number_T tmp = storage_[index]; storage_[index] += number; if (storage_[index] > tmp) { break; } ...
testq %rsi, %rsi je 0xb5de movl %edx, %ecx cmpl $0x11, %edx movl $0x10, %eax cmovael %edx, %eax movl $0x1, %r8d subl %edx, %r8d movl $0x1, %edx cmpq %rcx, %rax je 0xb5c7 movq (%rdi,%rcx,8), %r9 leaq (%r9,%rsi), %r10 movq %r10, (%rdi,%rcx,8) incq %rcx decl %r8d cmpq %r9, %r10 cmovbeq %rdx, %rsi jbe 0xb59a cmpq %r10, %r9...
/HaniAmmar[P]Qentem-Engine/Include/BigInt.hpp
void Qentem::TestOutPut::Print<char const*, char [2], unsigned long, char [10], char const*, char [9], char [2], char [19], Qentem::StringStream<char>, char [4]>(char const* const&, char const (&) [2], unsigned long const&, char const (&) [10], char const* const&, char const (&) [9], char const (&) [2], char const (&) ...
inline static void Print(const Values_T &...values) { if (GetStreamCache() == nullptr) { #if __cplusplus > 201402L (std::wcout << ... << values); #else const int dummy[sizeof...(Values_T)] = {(std::wcout << values, 0)...}; (void)dummy; #endif } else { #if __cplusplus...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %r9, %r12 movq %r8, %rbp movq %rcx, %rbx movq %rdx, %r14 movq %rsi, %r15 movq 0x68(%rsp), %rax movq %rax, 0x10(%rsp) movq 0x60(%rsp), %rax movq %rax, 0x8(%rsp) movq 0x58(%rsp), %rax movq %rax, (%rsp) movq 0x50(%rsp), %r13 movq 0x434...
/HaniAmmar[P]Qentem-Engine/Include/QTest.hpp
Qentem::TestOutPut::ResetDoubleFormat()
static void ResetDoubleFormat() noexcept { std::wstringstream *wss = GetStreamCache(); if (wss == nullptr) { std::wcout << std::defaultfloat; std::wcout.precision(6); } else { *wss << std::defaultfloat; wss->precision(6); } }
movq 0x4079(%rip), %rax # 0x100c0 testq %rax, %rax je 0xc065 movq 0x10(%rax), %rcx movq -0x18(%rcx), %rcx andl $0xfffffefb, 0x28(%rax,%rcx) # imm = 0xFFFFFEFB movq (%rax), %rcx addq $-0x18, %rcx jmp 0xc07f movq 0x3f6c(%rip), %rax # 0xffd8 movq (%rax), %rcx movq -0x18(%rcx), %rdx addq $-0x18, %rcx andl $0xffff...
/HaniAmmar[P]Qentem-Engine/Include/QTest.hpp
google::LogDestination::SetLogDestination(google::LogSeverity, char const*)
inline void LogDestination::SetLogDestination(LogSeverity severity, const char* base_filename) { // Prevent any subtle race conditions by wrapping a mutex lock around // all this stuff. std::lock_guard<std::mutex> l{log_mutex}; log_destination(severity)->fileobject_...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rsi, %rbx movl %edi, %ebp leaq 0x2e766(%rip), %rdi # 0x3ec48 callq 0x7810 testl %eax, %eax jne 0x105d8 movl %ebp, %eax leaq 0x1f698(%rip), %rcx # 0x2fb90 leaq (%rcx,%rax,8), %r14 cmpq $0x0, (%r14) jne 0x1053b movl $0xd0, %edi callq 0x...
/sergiud[P]glog/src/logging.cc
google::LogDestination::SetLogFilenameExtension(char const*)
inline void LogDestination::SetLogFilenameExtension(const char* ext) { // Prevent any subtle race conditions by wrapping a mutex lock around // all this stuff. std::lock_guard<std::mutex> l{log_mutex}; for (int severity = 0; severity < NUM_SEVERITIES; ++severity) { log_destination(static_cast<LogSeverity>(s...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdi, %rbx leaq 0x2e44d(%rip), %rdi # 0x3ec48 callq 0x7810 testl %eax, %eax jne 0x10901 leaq 0x1f381(%rip), %r14 # 0x2fb90 xorl %r15d, %r15d cmpq $0x0, (%r14) jne 0x1084d movl $0xd0, %edi callq 0x7530 movq %rax, %r13 movq %rax, %r...
/sergiud[P]glog/src/logging.cc
google::NullStream::~NullStream()
class GLOG_EXPORT LogStream : public std::ostream { GLOG_MSVC_POP_WARNING() public: // In some cases, like when compiling glog as a static library with GCC and // linking against a Clang-built executable, this constructor will be // removed by the linker. We use this attribute to prevent the linker f...
pushq %rbx leaq 0x1df06(%rip), %rax # 0x2e8c0 leaq 0x18(%rax), %rcx movq %rcx, (%rdi) leaq 0x60(%rdi), %rbx addq $0x40, %rax movq %rax, 0x60(%rdi) movq 0x1e574(%rip), %rax # 0x2ef48 addq $0x10, %rax movq %rax, 0x8(%rdi) addq $0x40, %rdi callq 0x77a0 movq %rbx, %rdi popq %rbx jmp 0x7170
/sergiud[P]glog/src/glog/logging.h
google::NullStream::~NullStream()
class GLOG_EXPORT NullStream : public LogMessage::LogStream { public: // Initialize the LogStream so the messages can be written somewhere // (they'll never be actually displayed). This will be needed if a // NullStream& is implicitly converted to LogStream&, in which case // the overloaded NullStream::operato...
pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx leaq 0x1dec4(%rip), %rax # 0x2e8c0 leaq 0x18(%rax), %rcx movq %rcx, (%rdi) leaq 0x60(%rdi), %r14 addq $0x40, %rax movq %rax, 0x60(%rdi) movq 0x1e532(%rip), %rax # 0x2ef48 addq $0x10, %rax movq %rax, 0x8(%rdi) addq $0x40, %rdi callq 0x77a0 movq %r14, %rdi callq 0x...
/sergiud[P]glog/src/glog/logging.h
virtual thunk to google::NullStream::~NullStream()
class GLOG_EXPORT NullStream : public LogMessage::LogStream { public: // Initialize the LogStream so the messages can be written somewhere // (they'll never be actually displayed). This will be needed if a // NullStream& is implicitly converted to LogStream&, in which case // the overloaded NullStream::operato...
pushq %rbx movq (%rdi), %rax movq -0x18(%rax), %rax leaq 0x1de6d(%rip), %rcx # 0x2e8c0 leaq 0x18(%rcx), %rdx leaq (%rdi,%rax), %rbx addq $0x60, %rbx movq %rdx, -0x60(%rbx) addq $0x40, %rcx movq %rcx, (%rbx) movq 0x1e4d7(%rip), %rcx # 0x2ef48 addq $0x10, %rcx movq %rcx, -0x58(%rbx) addq %rax, %rdi addq $0x40, %r...
/sergiud[P]glog/src/glog/logging.h
FC_BPNN::predict(std::vector<double, std::allocator<double>> const&, std::vector<double, std::allocator<double>>&)
void FC_BPNN::predict(const std::vector<double>& data, std::vector<double>& prediction) { clear(); setSample(data); Forward(); int lastIndex = layers_value.size() - 1; prediction = layers_value[lastIndex]; }
pushq %r15 pushq %r14 pushq %rbx movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 callq 0x28d4 movq %r15, %rdi movq %r14, %rsi callq 0x2940 movq %r15, %rdi callq 0x29dc movq (%r15), %rax movq 0x8(%r15), %rcx subq %rax, %rcx shrq $0x3, %rcx imull $0xaaaaaaab, %ecx, %ecx # imm = 0xAAAAAAAB decl %ecx movslq %ecx, %rcx leaq...
/ScuptFang[P]FCNN/src/FC_BPNN.cpp
main_average()
int main_average() { FC_BPNN bp(4, 10, 1); std::vector<double> data; data.push_back(0.251); data.push_back(0.425); data.push_back(0.775); data.push_back(0.952); std::vector<double> output; double lastCost = 0.0; double cost = 0.0; for (int i = 1; i <= 100; i++) { double a = (double)(rand() % 1000) / 1000; ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x118, %rsp # imm = 0x118 leaq 0xd0(%rsp), %rdi movl $0x4, %esi movl $0xa, %edx movl $0x1, %ecx xorl %eax, %eax callq 0x23ec xorpd %xmm0, %xmm0 leaq 0x10(%rsp), %rdi movapd %xmm0, (%rdi) movq $0x0, 0x10(%rdi) movabsq $0x3fd010624dd2f1aa,...
/ScuptFang[P]FCNN/src/test.cpp
mbedtls_md_info_from_type
const mbedtls_md_info_t *mbedtls_md_info_from_type( mbedtls_md_type_t md_type ) { switch( md_type ) { #if defined(MBEDTLS_MD2_C) case MBEDTLS_MD_MD2: return( &mbedtls_md2_info ); #endif #if defined(MBEDTLS_MD4_C) case MBEDTLS_MD_MD4: return( &mbedtls_md4_info ); #endif #i...
pushq %rbp movq %rsp, %rbp movl %edi, -0xc(%rbp) movl -0xc(%rbp), %eax addl $-0x3, %eax movl %eax, %ecx movq %rcx, -0x18(%rbp) subl $0x6, %eax ja 0xbd97 movq -0x18(%rbp), %rax leaq 0x28b2d(%rip), %rcx # 0x34860 movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax leaq 0x35ffd(%rip), %rax # 0x41d40 movq %rax, -...
/ARMmbed[P]mbed-crypto/library/md.c
mbedtls_md_process
int mbedtls_md_process( mbedtls_md_context_t *ctx, const unsigned char *data ) { if( ctx == NULL || ctx->md_info == NULL ) return( MBEDTLS_ERR_MD_BAD_INPUT_DATA ); switch( ctx->md_info->type ) { #if defined(MBEDTLS_MD2_C) case MBEDTLS_MD_MD2: return( mbedtls_internal_md2_process...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) cmpq $0x0, -0x10(%rbp) je 0xccd1 movq -0x10(%rbp), %rax cmpq $0x0, (%rax) jne 0xccdd movl $0xffffaf00, -0x4(%rbp) # imm = 0xFFFFAF00 jmp 0xcdb1 movq -0x10(%rbp), %rax movq (%rax), %rax movl 0x8(%rax), %eax addl $-0x3, %eax movl %e...
/ARMmbed[P]mbed-crypto/library/md.c
pkcs5_parse_pbkdf2_params
static int pkcs5_parse_pbkdf2_params( const mbedtls_asn1_buf *params, mbedtls_asn1_buf *salt, int *iterations, int *keylen, mbedtls_md_type_t *md_type ) { int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; mbedtls_asn1_buf prf_alg_oid; ...
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movq %rcx, -0x28(%rbp) movq %r8, -0x30(%rbp) movl $0xffffff92, -0x34(%rbp) # imm = 0xFFFFFF92 movq -0x10(%rbp), %rax movq 0x10(%rax), %rax movq %rax, -0x58(%rbp) movq -0x10(%rbp), %rax movq 0x10(%rax), %rax ...
/ARMmbed[P]mbed-crypto/library/pkcs5.c
mbedtls_pkcs5_pbkdf2_hmac
int mbedtls_pkcs5_pbkdf2_hmac( mbedtls_md_context_t *ctx, const unsigned char *password, size_t plen, const unsigned char *salt, size_t slen, unsigned int iteration_count, uint32_t key_length, unsigned char *output ) { int r...
pushq %rbp movq %rsp, %rbp subq $0xe0, %rsp movq 0x18(%rbp), %rax movl 0x10(%rbp), %eax movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movq %rcx, -0x28(%rbp) movq %r8, -0x30(%rbp) movl %r9d, -0x34(%rbp) movq -0x10(%rbp), %rax movq (%rax), %rdi callq 0xcdc0 movb %al, -0xc1(%rbp) movq 0x18(%rbp), %r...
/ARMmbed[P]mbed-crypto/library/pkcs5.c
mbedtls_ripemd160_finish_ret
int mbedtls_ripemd160_finish_ret( mbedtls_ripemd160_context *ctx, unsigned char output[20] ) { int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; uint32_t last, padn; uint32_t high, low; unsigned char msglen[8]; high = ( ctx->total[0] >> 29 ) | ( ctx->total[...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movl $0xffffff92, -0x1c(%rbp) # imm = 0xFFFFFF92 movq -0x10(%rbp), %rax movl (%rax), %eax shrl $0x1d, %eax movq -0x10(%rbp), %rcx movl 0x4(%rcx), %ecx shll $0x3, %ecx orl %ecx, %eax movl %eax, -0x28(%rbp) movq -0x10(%rbp), %rax mo...
/ARMmbed[P]mbed-crypto/library/ripemd160.c
mbedtls_ripemd160_ret
int mbedtls_ripemd160_ret( const unsigned char *input, size_t ilen, unsigned char output[20] ) { int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; mbedtls_ripemd160_context ctx; mbedtls_ripemd160_init( &ctx ); if( ( ret = mbedtls_ripemd160_starts_re...
pushq %rbp movq %rsp, %rbp subq $0x80, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movl $0xffffff92, -0x1c(%rbp) # imm = 0xFFFFFF92 leaq -0x78(%rbp), %rdi callq 0xf120 leaq -0x78(%rbp), %rdi callq 0xf1b0 movl %eax, -0x1c(%rbp) cmpl $0x0, %eax je 0x126ca jmp 0x126fe movq -0x8(%rbp), %rsi mov...
/ARMmbed[P]mbed-crypto/library/ripemd160.c
mbedtls_sha1_self_test
int mbedtls_sha1_self_test( int verbose ) { int i, j, buflen, ret = 0; unsigned char buf[1024]; unsigned char sha1sum[20]; mbedtls_sha1_context ctx; mbedtls_sha1_init( &ctx ); /* * SHA-1 */ for( i = 0; i < 3; i++ ) { if( verbose != 0 ) mbedtls_printf( " S...
pushq %rbp movq %rsp, %rbp subq $0x4a0, %rsp # imm = 0x4A0 movl %edi, -0x4(%rbp) movl $0x0, -0x14(%rbp) leaq -0x49c(%rbp), %rdi callq 0x12870 movl $0x0, -0x8(%rbp) cmpl $0x3, -0x8(%rbp) jge 0x151fb cmpl $0x0, -0x4(%rbp) je 0x150cc movl -0x8(%rbp), %esi addl $0x1, %esi leaq 0x202db(%rip), %rdi # 0x353a0 m...
/ARMmbed[P]mbed-crypto/library/sha1.c
mbedtls_mpi_cmp_abs
int mbedtls_mpi_cmp_abs( const mbedtls_mpi *X, const mbedtls_mpi *Y ) { size_t i, j; MPI_VALIDATE_RET( X != NULL ); MPI_VALIDATE_RET( Y != NULL ); for( i = X->n; i > 0; i-- ) if( X->p[i - 1] != 0 ) break; for( j = Y->n; j > 0; j-- ) if( Y->p[j - 1] != 0 ) br...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) jmp 0x1c37e jmp 0x1c380 jmp 0x1c382 movq -0x10(%rbp), %rax movq 0x8(%rax), %rax movq %rax, -0x20(%rbp) cmpq $0x0, -0x20(%rbp) jbe 0x1c3be movq -0x10(%rbp), %rax movq 0x10(%rax), %rax movq -0x20(%rbp), %rcx subq $0x1, %rcx cmpq $0x0, (%rax,%rcx,8) ...
/ARMmbed[P]mbed-crypto/library/bignum.c
mbedtls_mpi_mul_mpi
int mbedtls_mpi_mul_mpi( mbedtls_mpi *X, const mbedtls_mpi *A, const mbedtls_mpi *B ) { int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; size_t i, j; mbedtls_mpi TA, TB; MPI_VALIDATE_RET( X != NULL ); MPI_VALIDATE_RET( A != NULL ); MPI_VALIDATE_RET( B != NULL ); mbedtls_mpi_init( &TA ); mbe...
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movl $0xffffff92, -0x1c(%rbp) # imm = 0xFFFFFF92 jmp 0x1cf5d jmp 0x1cf5f jmp 0x1cf61 jmp 0x1cf63 jmp 0x1cf65 leaq -0x48(%rbp), %rdi callq 0x1a450 leaq -0x60(%rbp), %rdi callq 0x1a450 movq -0x8(%rbp), %rax cmp...
/ARMmbed[P]mbed-crypto/library/bignum.c
mbedtls_mpi_mod_mpi
int mbedtls_mpi_mod_mpi( mbedtls_mpi *R, const mbedtls_mpi *A, const mbedtls_mpi *B ) { int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; MPI_VALIDATE_RET( R != NULL ); MPI_VALIDATE_RET( A != NULL ); MPI_VALIDATE_RET( B != NULL ); if( mbedtls_mpi_cmp_int( B, 0 ) < 0 ) return( MBEDTLS_ERR_MPI...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movl $0xffffff92, -0x24(%rbp) # imm = 0xFFFFFF92 jmp 0x1dddd jmp 0x1dddf jmp 0x1dde1 jmp 0x1dde3 jmp 0x1dde5 movq -0x20(%rbp), %rdi xorl %eax, %eax movl %eax, %esi callq 0x1c840 cmpl $0x0, %eax jge 0x1de03 m...
/ARMmbed[P]mbed-crypto/library/bignum.c
mbedtls_mpi_exp_mod
int mbedtls_mpi_exp_mod( mbedtls_mpi *X, const mbedtls_mpi *A, const mbedtls_mpi *E, const mbedtls_mpi *N, mbedtls_mpi *_RR ) { int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; size_t wbits, wsize, one = 1; size_t i, j, nblimbs; size_t bufsize, nbits; ...
pushq %rbp movq %rsp, %rbp subq $0xcf0, %rsp # imm = 0xCF0 movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movq %rcx, -0x28(%rbp) movq %r8, -0x30(%rbp) movl $0xffffff92, -0x34(%rbp) # imm = 0xFFFFFF92 movq $0x1, -0x50(%rbp) jmp 0x1e060 jmp 0x1e062 jmp 0x1e064 jmp 0x1e066 jmp 0x1e068 jmp ...
/ARMmbed[P]mbed-crypto/library/bignum.c
mbedtls_cipher_update_ad
int mbedtls_cipher_update_ad( mbedtls_cipher_context_t *ctx, const unsigned char *ad, size_t ad_len ) { CIPHER_VALIDATE_RET( ctx != NULL ); CIPHER_VALIDATE_RET( ad_len == 0 || ad != NULL ); if( ctx->cipher_info == NULL ) return( MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA ); #if defined...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) jmp 0x20ba6 jmp 0x20ba8 jmp 0x20baa movq -0x10(%rbp), %rax cmpq $0x0, (%rax) jne 0x20bc0 movl $0xffff9f00, -0x4(%rbp) # imm = 0xFFFF9F00 jmp 0x20c73 movq -0x10(%rbp), %rax movq (%rax), %rcx movl $0x6, %eax c...
/ARMmbed[P]mbed-crypto/library/cipher.c
get_pkcs_padding
static int get_pkcs_padding( unsigned char *input, size_t input_len, size_t *data_len ) { size_t i, pad_idx; unsigned char padding_len, bad = 0; if( NULL == input || NULL == data_len ) return( MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA ); padding_len = input[input_len - 1]; *data_len = inpu...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movb $0x0, -0x32(%rbp) xorl %eax, %eax cmpq -0x10(%rbp), %rax je 0x216a4 xorl %eax, %eax cmpq -0x20(%rbp), %rax jne 0x216b0 movl $0xffff9f00, -0x4(%rbp) # imm = 0xFFFF9F00 jmp 0x2177a movq -0x10(%rbp), %rax movq -0x18(%rbp),...
/ARMmbed[P]mbed-crypto/library/cipher.c
mbedtls_constant_time_memcmp
static int mbedtls_constant_time_memcmp( const void *v1, const void *v2, size_t len ) { const unsigned char *p1 = (const unsigned char*) v1; const unsigned char *p2 = (const unsigned char*) v2; size_t i; unsigned char diff; for( diff = 0, i = 0; i < len; i++...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x20(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x28(%rbp) movb $0x0, -0x31(%rbp) movq $0x0, -0x30(%rbp) movq -0x30(%rbp), %rax cmpq -0x18(%rbp), %rax jae 0x21e07 movq -0x20(%rbp), %rax movq -0...
/ARMmbed[P]mbed-crypto/library/cipher.c
mbedtls_cipher_auth_encrypt
int mbedtls_cipher_auth_encrypt( mbedtls_cipher_context_t *ctx, const unsigned char *iv, size_t iv_len, const unsigned char *ad, size_t ad_len, const unsigned char *input, size_t ilen, unsigned char *output, size_t *olen...
pushq %rbp movq %rsp, %rbp pushq %r14 pushq %rbx subq $0x60, %rsp movq 0x30(%rbp), %rax movq 0x28(%rbp), %rax movq 0x20(%rbp), %rax movq 0x18(%rbp), %rax movq 0x10(%rbp), %rax movq %rdi, -0x20(%rbp) movq %rsi, -0x28(%rbp) movq %rdx, -0x30(%rbp) movq %rcx, -0x38(%rbp) movq %r8, -0x40(%rbp) movq %r9, -0x48(%rbp) jmp 0x21...
/ARMmbed[P]mbed-crypto/library/cipher.c
mbedtls_des_key_check_key_parity
int mbedtls_des_key_check_key_parity( const unsigned char key[MBEDTLS_DES_KEY_SIZE] ) { int i; for( i = 0; i < MBEDTLS_DES_KEY_SIZE; i++ ) if( key[i] != odd_parity_table[key[i] / 2] ) return( 1 ); return( 0 ); }
pushq %rbp movq %rsp, %rbp movq %rdi, -0x10(%rbp) movl $0x0, -0x14(%rbp) cmpl $0x8, -0x14(%rbp) jge 0x233e5 movq -0x10(%rbp), %rax movslq -0x14(%rbp), %rcx movzbl (%rax,%rcx), %eax movl %eax, -0x18(%rbp) movq -0x10(%rbp), %rax movslq -0x14(%rbp), %rcx movzbl (%rax,%rcx), %eax movl $0x2, %ecx cltd idivl %ecx movl %eax, ...
/ARMmbed[P]mbed-crypto/library/des.c
des3_set2key
static void des3_set2key( uint32_t esk[96], uint32_t dsk[96], const unsigned char key[MBEDTLS_DES_KEY_SIZE*2] ) { int i; mbedtls_des_setkey( esk, key ); mbedtls_des_setkey( dsk + 32, key + 8 ); for( i = 0; i < 32; i += 2 ) { dsk[i ] =...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rdi movq -0x18(%rbp), %rsi callq 0x23470 movq -0x10(%rbp), %rdi addq $0x80, %rdi movq -0x18(%rbp), %rsi addq $0x8, %rsi callq 0x23470 movl $0x0, -0x1c(%rbp) cmpl $0x20, -0x1c(%rbp) jge 0x23c...
/ARMmbed[P]mbed-crypto/library/des.c
mbedtls_des_crypt_cbc
int mbedtls_des_crypt_cbc( mbedtls_des_context *ctx, int mode, size_t length, unsigned char iv[8], const unsigned char *input, unsigned char *output ) { int i; unsigned char temp[8]; if( length % 8 ) ...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x10(%rbp) movl %esi, -0x14(%rbp) movq %rdx, -0x20(%rbp) movq %rcx, -0x28(%rbp) movq %r8, -0x30(%rbp) movq %r9, -0x38(%rbp) movq -0x20(%rbp), %rax andq $0x7, %rax cmpq $0x0, %rax je 0x243c9 movl $0xffffffce, -0x4(%rbp) # imm = 0xFFFFFFCE jmp 0x24511 cmpl $0x1, -0x...
/ARMmbed[P]mbed-crypto/library/des.c
mbedtls_des3_crypt_cbc
int mbedtls_des3_crypt_cbc( mbedtls_des3_context *ctx, int mode, size_t length, unsigned char iv[8], const unsigned char *input, unsigned char *output ) { int i; unsigned char temp[8]; if( length % 8 ) ...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x10(%rbp) movl %esi, -0x14(%rbp) movq %rdx, -0x20(%rbp) movq %rcx, -0x28(%rbp) movq %r8, -0x30(%rbp) movq %r9, -0x38(%rbp) movq -0x20(%rbp), %rax andq $0x7, %rax cmpq $0x0, %rax je 0x24e59 movl $0xffffffce, -0x4(%rbp) # imm = 0xFFFFFFCE jmp 0x24fa1 cmpl $0x1, -0x...
/ARMmbed[P]mbed-crypto/library/des.c
mbedtls_des_self_test
int mbedtls_des_self_test( int verbose ) { int i, j, u, v, ret = 0; mbedtls_des_context ctx; mbedtls_des3_context ctx3; unsigned char buf[8]; #if defined(MBEDTLS_CIPHER_MODE_CBC) unsigned char prv[8]; unsigned char iv[8]; #endif mbedtls_des_init( &ctx ); mbedtls_des3_init( &ctx3 ); ...
pushq %rbp movq %rsp, %rbp subq $0x250, %rsp # imm = 0x250 movl %edi, -0x8(%rbp) movl $0x0, -0x1c(%rbp) leaq -0x9c(%rbp), %rdi callq 0x23270 leaq -0x21c(%rbp), %rdi callq 0x232d0 movl $0x0, -0xc(%rbp) cmpl $0x6, -0xc(%rbp) jge 0x2520b movl -0xc(%rbp), %eax sarl %eax movl %eax, -0x14(%rbp) movl -0xc(%rbp), %e...
/ARMmbed[P]mbed-crypto/library/des.c
mbedtls_aes_setkey_enc
int mbedtls_aes_setkey_enc( mbedtls_aes_context *ctx, const unsigned char *key, unsigned int keybits ) { unsigned int i; uint32_t *RK; AES_VALIDATE_RET( ctx != NULL ); AES_VALIDATE_RET( key != NULL ); switch( keybits ) { case 128: ctx->nr = 10; break; case 1...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movl %edx, -0x1c(%rbp) jmp 0x282c5 jmp 0x282c7 jmp 0x282c9 movl -0x1c(%rbp), %eax movl %eax, -0x2c(%rbp) subl $0x80, %eax je 0x282f0 jmp 0x282d8 movl -0x2c(%rbp), %eax subl $0xc0, %eax je 0x282fc jmp 0x282e4 movl -0x2c(%rbp), %eax...
/ARMmbed[P]mbed-crypto/library/aes.c
mbedtls_aes_xts_setkey_dec
int mbedtls_aes_xts_setkey_dec( mbedtls_aes_xts_context *ctx, const unsigned char *key, unsigned int keybits) { int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; const unsigned char *key1, *key2; unsigned int key1bits, key2bits; AES_VALIDAT...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movl %edx, -0x1c(%rbp) movl $0xffffff92, -0x20(%rbp) # imm = 0xFFFFFF92 jmp 0x2923c jmp 0x2923e jmp 0x29240 movq -0x18(%rbp), %rdi movl -0x1c(%rbp), %esi leaq -0x28(%rbp), %rdx leaq -0x34(%rbp), %rcx leaq -0x30(%rbp), %r8 leaq -0x...
/ARMmbed[P]mbed-crypto/library/aes.c
mbedtls_aes_crypt_xts
int mbedtls_aes_crypt_xts( mbedtls_aes_xts_context *ctx, int mode, size_t length, const unsigned char data_unit[16], const unsigned char *input, unsigned char *output ) { int ret = ...
pushq %rbp movq %rsp, %rbp subq $0xb0, %rsp movq %rdi, -0x10(%rbp) movl %esi, -0x14(%rbp) movq %rdx, -0x20(%rbp) movq %rcx, -0x28(%rbp) movq %r8, -0x30(%rbp) movq %r9, -0x38(%rbp) movl $0xffffff92, -0x3c(%rbp) # imm = 0xFFFFFF92 movq -0x20(%rbp), %rax shrq $0x4, %rax movq %rax, -0x48(%rbp) movq -0x20(%rbp), %rax andq $...
/ARMmbed[P]mbed-crypto/library/aes.c
mbedtls_aesni_crypt_ecb
int mbedtls_aesni_crypt_ecb( mbedtls_aes_context *ctx, int mode, const unsigned char input[16], unsigned char output[16] ) { asm( "movdqu (%3), %%xmm0 \n\t" // load input "movdqu (%1), %%xmm1 \n\t" // load round key 0 "pxor...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq -0x8(%rbp), %rax movl (%rax), %eax movq -0x8(%rbp), %rcx movq 0x8(%rcx), %rcx movl -0xc(%rbp), %edx movq -0x18(%rbp), %rsi movq -0x20(%rbp), %rdi movdqu (%rsi), %xmm0 movdqu (%rcx), %xmm1 pxor %xmm1...
/ARMmbed[P]mbed-crypto/library/aesni.c
aesni_setkey_enc_128
static void aesni_setkey_enc_128( unsigned char *rk, const unsigned char *key ) { asm( "movdqu (%1), %%xmm0 \n\t" // copy the original key "movdqu %%xmm0, (%0) \n\t" // as round key 0 "jmp 2f \n\t" // skip aux...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rcx movq -0x10(%rbp), %rdx movdqu (%rdx), %xmm0 movdqu %xmm0, (%rcx) jmp 0x2c68b pshufd $0xff, %xmm1, %xmm1 # xmm1 = xmm1[3,3,3,3] pxor %xmm0, %xmm1 pslldq $0x4, %xmm0 # xmm0 = zero,zero,zero,zero,xmm0[0,1,2,3,4,5,...
/ARMmbed[P]mbed-crypto/library/aesni.c
aesni_setkey_enc_192
static void aesni_setkey_enc_192( unsigned char *rk, const unsigned char *key ) { asm( "movdqu (%1), %%xmm0 \n\t" // copy original round key "movdqu %%xmm0, (%0) \n\t" "add $16, %0 \n\t" "movq 16(%1), %%xmm1 \n\t" "movq %%xmm1, (%...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rcx movq -0x10(%rbp), %rdx movdqu (%rdx), %xmm0 movdqu %xmm0, (%rcx) addq $0x10, %rcx movq 0x10(%rdx), %xmm1 movq %xmm1, (%rcx) addq $0x8, %rcx jmp 0x2c776 pshufd $0x55, %xmm2, %xmm2 # xmm2 = xmm2[1,1,1,1] pxor %xmm0, %xmm2 ps...
/ARMmbed[P]mbed-crypto/library/aesni.c
mbedtls_arc4_self_test
int mbedtls_arc4_self_test( int verbose ) { int i, ret = 0; unsigned char ibuf[8]; unsigned char obuf[8]; mbedtls_arc4_context ctx; mbedtls_arc4_init( &ctx ); for( i = 0; i < 3; i++ ) { if( verbose != 0 ) mbedtls_printf( " ARC4 test #%d: ", i + 1 ); memcpy( ib...
pushq %rbp movq %rsp, %rbp subq $0x130, %rsp # imm = 0x130 movl %edi, -0x4(%rbp) movl $0x0, -0xc(%rbp) leaq -0x124(%rbp), %rdi callq 0x2c8b0 movl $0x0, -0x8(%rbp) cmpl $0x3, -0x8(%rbp) jge 0x2cc06 cmpl $0x0, -0x4(%rbp) je 0x2cb4c movl -0x8(%rbp), %esi addl $0x1, %esi leaq 0xc4eb(%rip), %rdi # 0x39030 mo...
/ARMmbed[P]mbed-crypto/library/arc4.c
mbedtls_blowfish_setkey
int mbedtls_blowfish_setkey( mbedtls_blowfish_context *ctx, const unsigned char *key, unsigned int keybits ) { unsigned int i, j, k; uint32_t data, datal, datar; BLOWFISH_VALIDATE_RET( ctx != NULL ); BLOWFISH_VALIDATE_RET( key != NULL ); if(...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movl %edx, -0x1c(%rbp) jmp 0x2ccb5 jmp 0x2ccb7 jmp 0x2ccb9 cmpl $0x20, -0x1c(%rbp) jb 0x2ccd3 cmpl $0x1c0, -0x1c(%rbp) # imm = 0x1C0 ja 0x2ccd3 movl -0x1c(%rbp), %eax andl $0x7, %eax cmpl $0x0, %eax je 0x2ccdf movl $0xffffffea...
/ARMmbed[P]mbed-crypto/library/blowfish.c
mbedtls_blowfish_crypt_cfb64
int mbedtls_blowfish_crypt_cfb64( mbedtls_blowfish_context *ctx, int mode, size_t length, size_t *iv_off, unsigned char iv[MBEDTLS_BLOWFISH_BLOCKSIZE], const unsigned char *input, un...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq 0x10(%rbp), %rax movq %rdi, -0x10(%rbp) movl %esi, -0x14(%rbp) movq %rdx, -0x20(%rbp) movq %rcx, -0x28(%rbp) movq %r8, -0x30(%rbp) movq %r9, -0x38(%rbp) jmp 0x2d345 jmp 0x2d347 jmp 0x2d349 jmp 0x2d34b jmp 0x2d34d jmp 0x2d34f jmp 0x2d351 jmp 0x2d353 jmp 0x2d355 jmp 0x2d35...
/ARMmbed[P]mbed-crypto/library/blowfish.c
mbedtls_camellia_crypt_cbc
int mbedtls_camellia_crypt_cbc( mbedtls_camellia_context *ctx, int mode, size_t length, unsigned char iv[16], const unsigned char *input, unsigned char *output ...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x10(%rbp) movl %esi, -0x14(%rbp) movq %rdx, -0x20(%rbp) movq %rcx, -0x28(%rbp) movq %r8, -0x30(%rbp) movq %r9, -0x38(%rbp) jmp 0x2ec91 jmp 0x2ec93 jmp 0x2ec95 jmp 0x2ec97 jmp 0x2ec99 jmp 0x2ec9b jmp 0x2ec9d jmp 0x2ec9f jmp 0x2eca1 movq -0x20(%rbp), %rax andq $0xf...
/ARMmbed[P]mbed-crypto/library/camellia.c
mbedtls_ccm_star_auth_decrypt
int mbedtls_ccm_star_auth_decrypt( mbedtls_ccm_context *ctx, size_t length, const unsigned char *iv, size_t iv_len, const unsigned char *add, size_t add_len, const unsigned char *input, unsigned char *output, const unsigned char *ta...
pushq %rbp movq %rsp, %rbp pushq %r14 pushq %rbx subq $0x80, %rsp movq 0x28(%rbp), %rax movq 0x20(%rbp), %rax movq 0x18(%rbp), %rax movq 0x10(%rbp), %rax movq %rdi, -0x20(%rbp) movq %rsi, -0x28(%rbp) movq %rdx, -0x30(%rbp) movq %rcx, -0x38(%rbp) movq %r8, -0x40(%rbp) movq %r9, -0x48(%rbp) movl $0xffffff92, -0x4c(%rbp) ...
/ARMmbed[P]mbed-crypto/library/ccm.c
mbedtls_ccm_auth_decrypt
int mbedtls_ccm_auth_decrypt( mbedtls_ccm_context *ctx, size_t length, const unsigned char *iv, size_t iv_len, const unsigned char *add, size_t add_len, const unsigned char *input, unsigned char *output, const unsigned char *tag, si...
pushq %rbp movq %rsp, %rbp pushq %rbx subq $0x58, %rsp movq 0x28(%rbp), %rax movq 0x20(%rbp), %rax movq 0x18(%rbp), %rax movq 0x10(%rbp), %rax movq %rdi, -0x18(%rbp) movq %rsi, -0x20(%rbp) movq %rdx, -0x28(%rbp) movq %rcx, -0x30(%rbp) movq %r8, -0x38(%rbp) movq %r9, -0x40(%rbp) jmp 0x30393 jmp 0x30395 jmp 0x30397 jmp 0...
/ARMmbed[P]mbed-crypto/library/ccm.c
mbedtls_ccm_self_test
int mbedtls_ccm_self_test( int verbose ) { mbedtls_ccm_context ctx; /* * Some hardware accelerators require the input and output buffers * would be in RAM, because the flash is not accessible. * Use buffers on the stack to hold the test vectors data. */ unsigned char plaintext[CCM_SELFTE...
pushq %rbp movq %rsp, %rbp pushq %rbx subq $0xd8, %rsp movl %edi, -0x10(%rbp) movl $0xffffff92, -0xbc(%rbp) # imm = 0xFFFFFF92 leaq -0x70(%rbp), %rdi callq 0x2f890 leaq -0x70(%rbp), %rdi movl $0x2, %esi leaq 0xa62e(%rip), %rdx # 0x3aa70 movl $0x80, %ecx callq 0x2f8c0 cmpl $0x0, %eax je 0x30471 cmpl $0x0, -0x10(%rb...
/ARMmbed[P]mbed-crypto/library/ccm.c
mbedtls_chacha20_starts
int mbedtls_chacha20_starts( mbedtls_chacha20_context* ctx, const unsigned char nonce[12], uint32_t counter ) { CHACHA20_VALIDATE_RET( ctx != NULL ); CHACHA20_VALIDATE_RET( nonce != NULL ); /* Counter */ ctx->state[12] = counter; /* Nonce *...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) jmp 0x309f5 jmp 0x309f7 jmp 0x309f9 movl -0x14(%rbp), %ecx movq -0x8(%rbp), %rax movl %ecx, 0x30(%rax) movq -0x10(%rbp), %rax movzbl (%rax), %ecx movq -0x10(%rbp), %rax movzbl 0x1(%rax), %eax shll $0x8, %eax ...
/ARMmbed[P]mbed-crypto/library/chacha20.c
mbedtls_chacha20_crypt
int mbedtls_chacha20_crypt( const unsigned char key[32], const unsigned char nonce[12], uint32_t counter, size_t data_len, const unsigned char* input, unsigned char* output ) { ...
pushq %rbp movq %rsp, %rbp subq $0xc0, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movq %rcx, -0x20(%rbp) movq %r8, -0x28(%rbp) movq %r9, -0x30(%rbp) movl $0xffffff92, -0xbc(%rbp) # imm = 0xFFFFFF92 jmp 0x30ffe jmp 0x31000 jmp 0x31002 jmp 0x31004 jmp 0x31006 jmp 0x31008 jmp 0x3100a leaq -0x...
/ARMmbed[P]mbed-crypto/library/chacha20.c
chacha20_quarter_round
static inline void chacha20_quarter_round( uint32_t state[16], size_t a, size_t b, size_t c, size_t d ) { /* a += b; d ^= a; d <<<= 16; */ s...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq %r8, -0x28(%rbp) movq -0x8(%rbp), %rax movq -0x18(%rbp), %rcx movl (%rax,%rcx,4), %edx movq -0x8(%rbp), %rax movq -0x10(%rbp), %rcx addl (%rax,%rcx,4), %edx movl %edx, (%rax,%rcx,4) movq -0x8(%rbp)...
/ARMmbed[P]mbed-crypto/library/chacha20.c
chachapoly_pad_aad
static int chachapoly_pad_aad( mbedtls_chachapoly_context *ctx ) { uint32_t partial_block_len = (uint32_t) ( ctx->aad_len % 16U ); unsigned char zeroes[15]; if( partial_block_len == 0U ) return( 0 ); memset( zeroes, 0, sizeof( zeroes ) ); return( mbedtls_poly1305_update( &ctx->poly1305_ct...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rax movq 0xd8(%rax), %rax andq $0xf, %rax movl %eax, -0x14(%rbp) cmpl $0x0, -0x14(%rbp) jne 0x318ed movl $0x0, -0x4(%rbp) jmp 0x31920 leaq -0x23(%rbp), %rdi xorl %esi, %esi movl $0xf, %edx callq 0x90f0 movq -0x10(%rbp), %rdi addq $0x8...
/ARMmbed[P]mbed-crypto/library/chachapoly.c
std::ostream& std::operator<<<cppjieba::Word>(std::ostream&, std::vector<cppjieba::Word, std::allocator<cppjieba::Word>> const&)
ostream& operator << (ostream& os, const vector<T>& v) { if(v.empty()) { return os << "[]"; } os<<"["<<v[0]; for(size_t i = 1; i < v.size(); i++) { os<<", "<<v[i]; } os<<"]"; return os; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdi, %r14 movq (%rsi), %rax cmpq 0x8(%rsi), %rax je 0x4937 movq %rsi, %rbx leaq 0xdd86(%rip), %rsi # 0x12577 movl $0x1, %r12d movl $0x1, %edx movq %r14, %rdi callq 0x32a0 movq (%rbx), %r13 leaq 0xdd6e(%rip), %rsi # 0x1257c movl...
/qiangsiwei[P]jiebac/cppjieba/limonp/StdExtension.hpp
std::ostream& std::operator<<<cppjieba::KeywordExtractor::Word>(std::ostream&, std::vector<cppjieba::KeywordExtractor::Word, std::allocator<cppjieba::KeywordExtractor::Word>> const&)
ostream& operator << (ostream& os, const vector<T>& v) { if(v.empty()) { return os << "[]"; } os<<"["<<v[0]; for(size_t i = 1; i < v.size(); i++) { os<<", "<<v[i]; } os<<"]"; return os; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdi, %rbx movq (%rsi), %rax cmpq 0x8(%rsi), %rax je 0x4fa0 movq %rsi, %r14 leaq 0xd74f(%rip), %rsi # 0x12577 movl $0x1, %ebp movl $0x1, %edx movq %rbx, %rdi callq 0x32a0 movq (%r14), %r12 leaq 0xd738(%rip), %rsi # 0x1257c movl ...
/qiangsiwei[P]jiebac/cppjieba/limonp/StdExtension.hpp
cppjieba::MixSegment::MixSegment(cppjieba::DictTrie const*, cppjieba::HMMModel const*)
MixSegment(const DictTrie* dictTrie, const HMMModel* model) : mpSeg_(dictTrie), hmmSeg_(model) { }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rdx, %r14 movq %rsi, %r12 movq %rdi, %rbx callq 0xa7ca leaq 0x1382f(%rip), %rax # 0x18cd8 movq %rax, (%rbx) leaq 0x40(%rbx), %r15 movq %r15, %rdi movq %r12, %rsi callq 0x543e leaq 0x90(%rbx), %rdi callq 0xa7ca leaq 0x137ca(%rip), %rax # 0x18c98 movq %...
/qiangsiwei[P]jiebac/cppjieba/MixSegment.hpp
cppjieba::DecodeRunesInString(char const*, unsigned long, limonp::LocalVector<cppjieba::RuneStr>&)
inline bool DecodeRunesInString(const char* s, size_t len, RuneStrArray& runes) { runes.clear(); runes.reserve(len / 2); for (uint32_t i = 0, j = 0; i < len;) { RuneStrLite rp = DecodeRuneInString(s + i, len - i); if (rp.len == 0) { runes.clear(); return false; } RuneStr x(rp.rune, i, ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rdx, %r14 movq %rsi, 0x8(%rsp) movq %rdi, (%rsp) movq 0x140(%rdx), %rdi cmpq %rdx, %rdi je 0x6e0d callq 0x32c0 movq %r14, 0x140(%r14) movq $0x0, 0x148(%r14) movq $0x10, 0x150(%r14) movq 0x8(%rsp), %rsi shrq %rsi movq %r14, %rdi cal...
/qiangsiwei[P]jiebac/cppjieba/Unicode.hpp
limonp::LocalVector<std::pair<unsigned long, cppjieba::DictUnit const*>>::reserve(unsigned long)
void reserve(size_t size) { if(size <= capacity_) { return; } T * next = (T*)malloc(sizeof(T) * size); assert(next); T * old = ptr_; ptr_ = next; memcpy(ptr_, old, sizeof(T) * capacity_); capacity_ = size; if(old != buffer_) { free(old); } }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq 0x110(%rdi), %r15 cmpq %rsi, %r15 jae 0xbd56 movq %rsi, %r14 movq %rdi, %rbx movq %rsi, %rdi shlq $0x4, %rdi callq 0x3320 testq %rax, %rax je 0xbd62 movq 0x100(%rbx), %r12 movq %rax, 0x100(%rbx) shlq $0x4, %r15 movq %rax, %rdi movq %r12, %rsi movq %r15, %rdx c...
/qiangsiwei[P]jiebac/cppjieba/limonp/LocalVector.hpp
cppjieba::PosTagger::SpecialRule(limonp::LocalVector<cppjieba::RuneStr> const&) const
const char* SpecialRule(const RuneStrArray& unicode) const { size_t m = 0; size_t eng = 0; for (size_t i = 0; i < unicode.size() && eng < unicode.size() / 2; i++) { if (unicode[i].rune < 0x80) { eng ++; if ('0' <= unicode[i].rune && unicode[i].rune <= '9') { m++; } ...
movq 0x148(%rsi), %rcx cmpq $0x2, %rcx jb 0xc941 movq %rcx, %rdi shrq %rdi movq 0x140(%rsi), %rsi movl $0x1, %r8d xorl %eax, %eax xorl %edx, %edx movl (%rsi), %r9d cmpl $0x7f, %r9d ja 0xc92e incq %rax cmpl $0x30, %r9d jb 0xc92e cmpl $0x3a, %r9d adcq $0x0, %rdx cmpq %rcx, %r8 jae 0xc945 incq %r8 addq $0x14, %rsi cmpq %r...
/qiangsiwei[P]jiebac/cppjieba/PosTagger.hpp
cppjieba::MPSegment::IsUserDictSingleChineseWord(unsigned int const&) const
bool IsUserDictSingleChineseWord(const Rune& value) const { return dictTrie_->IsUserDictSingleChineseWord(value); }
pushq %rbx movq %rsi, %rcx movq 0x40(%rdi), %rsi leaq 0x98(%rsi), %rdi movl (%rcx), %r8d xorl %ebx, %ebx movq %r8, %rax xorl %edx, %edx divq 0xa0(%rsi) movq %rdx, %rsi movq %rcx, %rdx movq %r8, %rcx callq 0x87d4 testq %rax, %rax je 0xd8cc cmpq $0x0, (%rax) setne %bl movl %ebx, %eax popq %rbx retq
/qiangsiwei[P]jiebac/cppjieba/MPSegment.hpp
glfwSetGammaRamp
GLFWAPI void glfwSetGammaRamp(GLFWmonitor* handle, const GLFWgammaramp* ramp) { _GLFWmonitor* monitor = (_GLFWmonitor*) handle; assert(monitor != NULL); assert(ramp != NULL); assert(ramp->size > 0); assert(ramp->red != NULL); assert(ramp->green != NULL); assert(ramp->blue != NULL); if (...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x18(%rbp) cmpq $0x0, -0x18(%rbp) je 0x200b1 jmp 0x200d0 leaq 0x33e2f(%rip), %rdi # 0x53ee7 leaq 0x33da5(%rip), %rsi # 0x53e64 movl $0x1e4, %edx # imm = 0x1E4 leaq 0x3408f(%rip),...
/Konf[P]LearnOpenGL-CLion/glfw/src/monitor.c
glfwGetVulkanResultString
const char* _glfwGetVulkanResultString(VkResult result) { switch (result) { case VK_SUCCESS: return "Success"; case VK_NOT_READY: return "A fence or query has not yet completed"; case VK_TIMEOUT: return "A wait operation has not completed in the specif...
pushq %rbp movq %rsp, %rbp movl %edi, -0xc(%rbp) movl -0xc(%rbp), %eax movl %eax, -0x10(%rbp) subl $0xc4650b07, %eax # imm = 0xC4650B07 je 0x2088a jmp 0x2061a movl -0x10(%rbp), %eax subl $0xc4652a47, %eax # imm = 0xC4652A47 je 0x20870 jmp 0x2062a movl -0x10(%rbp), %eax subl $0xc4653214, %eax # imm = 0...
/Konf[P]LearnOpenGL-CLion/glfw/src/vulkan.c
glfwPlatformGetRequiredInstanceExtensions
void _glfwPlatformGetRequiredInstanceExtensions(char** extensions) { if (!_glfw.vk.KHR_surface) return; if (!_glfw.vk.KHR_xcb_surface || !_glfw.x11.x11xcb.handle) { if (!_glfw.vk.KHR_xlib_surface) return; } extensions[0] = "VK_KHR_surface"; // NOTE: VK_KHR_xcb_surf...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) leaq 0x32dc9(%rip), %rax # 0x60908 cmpl $0x0, 0x1fe98(%rax) jne 0x2db4d jmp 0x2dbd1 leaq 0x32db4(%rip), %rax # 0x60908 cmpl $0x0, 0x1fea0(%rax) je 0x2db6e leaq 0x32da4(%rip), %rax # 0x60908 cmpq $0x0, 0x206a0(%rax) jne 0x2db82 leaq 0x32d93(%rip), %rax # 0...
/Konf[P]LearnOpenGL-CLion/glfw/src/x11_window.c
glfwPlatformGetPhysicalDevicePresentationSupport
int _glfwPlatformGetPhysicalDevicePresentationSupport(VkInstance instance, VkPhysicalDevice device, uint32_t queuefamily) { VisualID visualID = XVisualIDFromVisual(DefaultVisual(_glfw.x11.display, ...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movl %edx, -0x1c(%rbp) leaq 0x32d0e(%rip), %rax # 0x60908 movq 0x1feb8(%rax), %rax movq 0xe8(%rax), %rax leaq 0x32cf9(%rip), %rcx # 0x60908 movslq 0x1fec0(%rcx), %rcx shlq $0x7, %rcx addq %rcx, %rax movq 0x40(%rax), %rdi c...
/Konf[P]LearnOpenGL-CLion/glfw/src/x11_window.c
glfwGetGLXContext
GLFWAPI GLXContext glfwGetGLXContext(GLFWwindow* handle) { _GLFWwindow* window = (_GLFWwindow*) handle; _GLFW_REQUIRE_INIT_OR_RETURN(NULL); if (window->context.client == GLFW_NO_API) { _glfwInputError(GLFW_NO_WINDOW_CONTEXT, NULL); return NULL; } return window->context.glx.hand...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x18(%rbp) leaq 0x2ffbd(%rip), %rax # 0x60908 cmpl $0x0, (%rax) jne 0x3096a movl $0x10001, %edi # imm = 0x10001 xorl %eax, %eax movl %eax, %esi movb $0x0, %al callq 0x1b150 movq $0x0, -0x8(%rbp) jmp 0x309a...
/Konf[P]LearnOpenGL-CLion/glfw/src/glx_context.c
destroyContextOSMesa
static void destroyContextOSMesa(_GLFWwindow* window) { if (window->context.osmesa.handle) { OSMesaDestroyContext(window->context.osmesa.handle); window->context.osmesa.handle = NULL; } if (window->context.osmesa.buffer) { free(window->context.osmesa.buffer); window-...
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax cmpq $0x0, 0x298(%rax) je 0x332b4 leaq 0x2d677(%rip), %rax # 0x60908 movq 0x20950(%rax), %rax movq -0x8(%rbp), %rcx movq 0x298(%rcx), %rdi callq *%rax movq -0x8(%rbp), %rax movq $0x0, 0x298(%rax) movq -0x8(%rbp), %rax cmpq $0x0,...
/Konf[P]LearnOpenGL-CLion/glfw/src/osmesa_context.c
CSimpleIniTempl<char, SI_GenericNoCase<char>, SI_ConvertA<char>>::~CSimpleIniTempl()
CSimpleIniTempl<SI_CHAR,SI_STRLESS,SI_CONVERTER>::~CSimpleIniTempl() { Reset(); }
pushq %r15 pushq %r14 pushq %rbx movq %rdi, %rbx callq 0x6df50 leaq 0x48(%rbx), %r14 movq 0x48(%rbx), %rdi cmpq %r14, %rdi je 0x6ca88 movq (%rdi), %r15 callq 0x69720 movq %r15, %rdi cmpq %r14, %r15 jne 0x6ca78 addq $0x18, %rbx movq %rbx, %rdi popq %rbx popq %r14 popq %r15 jmp 0x6e0e2 movq %rax, %rdi callq 0x6c910 nop
/open-license-manager[P]licensecc/src/inspector/../library/ini/SimpleIni.h
CSimpleIniTempl<char, SI_GenericNoCase<char>, SI_ConvertA<char>>::Delete(char const*, char const*, bool)
bool CSimpleIniTempl<SI_CHAR,SI_STRLESS,SI_CONVERTER>::Delete( const SI_CHAR * a_pSection, const SI_CHAR * a_pKey, bool a_bRemoveEmpty ) { if (!a_pSection) { return false; } typename TSection::iterator iSection = m_data.find(a_pSection); if (iSection == m_data.end()) ...
testq %rsi, %rsi je 0x6d807 pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movl %ecx, %ebx movq %rdx, %r12 movq %rdi, %r14 leaq 0x18(%rdi), %rbp leaq 0x20(%rsp), %rax movq %rsi, (%rax) movq $0x0, 0x8(%rax) movl $0x0, 0x10(%rax) movq %rbp, %rdi movq %rax, %rsi callq 0x6d874 movq %rax,...
/open-license-manager[P]licensecc/src/inspector/../library/ini/SimpleIni.h
CSimpleIniTempl<char, SI_GenericNoCase<char>, SI_ConvertA<char>>::GetSectionSize(char const*) const
int CSimpleIniTempl<SI_CHAR,SI_STRLESS,SI_CONVERTER>::GetSectionSize( const SI_CHAR * a_pSection ) const { if (!a_pSection) { return -1; } typename TSection::const_iterator iSection = m_data.find(a_pSection); if (iSection == m_data.end()) { return -1; } const TKeyVal & s...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x20, %rsp movl $0xffffffff, %ebx # imm = 0xFFFFFFFF testq %rsi, %rsi je 0x6fcf6 movq %rdi, %r15 addq $0x18, %rdi leaq 0x8(%rsp), %rax movq %rsi, (%rax) movq $0x0, 0x8(%rax) movl $0x0, 0x10(%rax) movq %rax, %rsi callq 0x700fc movq %rax, %r14 leaq 0x20(%...
/open-license-manager[P]licensecc/src/library/ini/SimpleIni.h
license::locate::LocatorFactory::get_active_strategies(std::vector<std::unique_ptr<license::locate::LocatorStrategy, std::default_delete<license::locate::LocatorStrategy>>, std::allocator<std::unique_ptr<license::locate::LocatorStrategy, std::default_delete<license::locate::LocatorStrategy>>>>&, LicenseLocation const*)
FUNCTION_RETURN LocatorFactory::get_active_strategies(std::vector<std::unique_ptr<LocatorStrategy>> &strategies, const LicenseLocation *locationHint) { if (find_license_near_moduleb) { strategies.push_back( std::unique_ptr<LocatorStrategy>(dynamic_cast<LocatorStrategy *>(new ApplicationFolder())));...
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rsi, %r14 movq %rdi, %rbx cmpb $0x1, 0x357cb6(%rip) # 0x3c9808 jne 0x71b89 movl $0x28, %edi callq 0x697a0 movq %rax, %r15 movq %rax, %rdi callq 0x84824 leaq 0x8(%rsp), %rsi movq %r15, (%rsi) movq %rbx, %rdi callq 0x71c8c movq 0x8(%rsp), %rdi testq %rdi, %rdi je...
/open-license-manager[P]licensecc/src/library/locate/LocatorFactory.cpp
license::os::ExecutionEnvironment::cloud_provider() const
LCC_API_CLOUD_PROVIDER ExecutionEnvironment::cloud_provider() const { LCC_API_CLOUD_PROVIDER result = PROV_UNKNOWN; const string bios_description = m_dmi_info.bios_description(); const string bios_vendor = m_dmi_info.bios_vendor(); const string sys_vendor = m_dmi_info.sys_vendor(); if (bios_description.size() > 0 ...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x68, %rsp movq %rdi, %rbx leaq 0x18(%rsp), %r14 movq %r14, -0x10(%r14) movq 0x90(%rdi), %rsi movq 0x98(%rdi), %rdx addq %rsi, %rdx leaq 0x8(%rsp), %rdi callq 0x6e108 leaq 0x58(%rsp), %r15 movq %r15, -0x10(%r15) movq 0x70(%rbx), %rsi movq 0x78(%rbx), %rdx addq %rsi, %rd...
/open-license-manager[P]licensecc/src/library/os/execution_environment_common.cpp
license::identify_format(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
FILE_FORMAT identify_format(const string &license) { FILE_FORMAT result = UNKNOWN; if (regex_match(license, b64)) { result = BASE64; } else if (regex_search(license, iniSection)) { result = INI; } return result; }
pushq %rbp pushq %rbx subq $0x28, %rsp movq %rdi, %rbx movq (%rdi), %rdi movq 0x8(%rbx), %rsi addq %rdi, %rsi xorps %xmm0, %xmm0 movq %rsp, %rdx movaps %xmm0, 0x10(%rdx) movaps %xmm0, (%rdx) leaq 0x356a63(%rip), %rcx # 0x3cc358 xorl %r8d, %r8d callq 0x8099d movl %eax, %ebp movq (%rsp), %rdi testq %rdi, %rdi je 0x759...
/open-license-manager[P]licensecc/src/library/base/string_utils.cpp
getAttribute(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&)
static std::string getAttribute(const std::string &source, const std::string &attrName) { std::string attr_namefull = attrName + "=\""; std::size_t startpos = source.find(attr_namefull) + attr_namefull.size(); std::size_t endpos = source.find("\"", startpos); return source.substr(startpos, endpos - startpos); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x18(%rsp), %r12 movq %r12, -0x10(%r12) movq (%rdx), %rsi movq 0x8(%rdx), %rdx addq %rsi, %rdx leaq 0x8(%rsp), %r15 movq %r15, %rdi callq 0x6e108 leaq 0x221ae0(%rip), %rsi # 0x2a7743 movq %r15, %rdi callq 0x69f50 movq 0...
/open-license-manager[P]licensecc/src/library/os/linux/os_linux.cpp
ares_conn_sock_state_cb_update
void ares_conn_sock_state_cb_update(ares_conn_t *conn, ares_conn_state_flags_t flags) { ares_channel_t *channel = conn->server->channel; if ((conn->state_flags & ARES_CONN_STATE_CBFLAGS) != flags && channel->sock_state_cb) { channel->sock_state_cb(channel->s...
pushq %rbp pushq %rbx pushq %rax movl %esi, %ebp movq %rdi, %rbx movl 0x24(%rdi), %eax andl $0x3, %eax cmpl %esi, %eax je 0xe784 movq (%rbx), %rax movq 0x220(%rax), %rcx movq 0xe8(%rcx), %rax testq %rax, %rax je 0xe784 movq 0xf0(%rcx), %rdi movl 0x8(%rbx), %esi movl %ebp, %edx andl $0x1, %edx movl %ebp, %ecx shrl %ecx ...
/c-ares[P]c-ares/src/lib/ares_conn.c
ares_conn_flush
ares_status_t ares_conn_flush(ares_conn_t *conn) { const unsigned char *data; size_t data_len; size_t count; ares_conn_err_t err; ares_status_t status; ares_bool_t tfo = ARES_FALSE; if (conn == NULL) { return ARES_EFORMERR; } if (conn->flags & ARE...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp testq %rdi, %rdi je 0xebbe movq %rdi, %rbx movl 0x20(%rdi), %ebp leaq 0x10(%rsp), %r15 leaq 0x20(%rsp), %r12 movq 0x28(%rbx), %rdi callq 0xda10 xorl %r14d, %r14d testq %rax, %rax je 0xebdb testb $0x1, 0x20(%rbx) jne 0xeb23 movq 0x28(%rbx...
/c-ares[P]c-ares/src/lib/ares_conn.c
ares_dns_cookie_fetch
static const unsigned char * ares_dns_cookie_fetch(const ares_dns_record_t *dnsrec, size_t *len) { const ares_dns_rr_t *rr = ares_dns_get_opt_rr_const(dnsrec); const unsigned char *val = NULL; *len = 0; if (rr == NULL) { return NULL; } if (!ares_dns_rr_get_opt_byid(rr, ARES_RR_O...
pushq %rbx subq $0x10, %rsp movq %rsi, %rbx callq 0xc590 movq %rax, %rdi xorl %eax, %eax movq %rax, 0x8(%rsp) movq %rax, (%rbx) testq %rdi, %rdi je 0xf4e1 leaq 0x8(%rsp), %rcx movl $0x1009, %esi # imm = 0x1009 movl $0xa, %edx movq %rbx, %r8 callq 0xd7e0 testl %eax, %eax je 0xf4df movq 0x8(%rsp), %rax jmp 0xf4...
/c-ares[P]c-ares/src/lib/ares_cookie.c
ares_destroy_servers_state
void ares_destroy_servers_state(ares_channel_t *channel) { ares_slist_node_t *node; while ((node = ares_slist_node_first(channel->servers)) != NULL) { ares_server_t *server = ares_slist_node_claim(node); ares_destroy_server(server); } ares_slist_destroy(channel->servers); channel->servers = NULL; }
pushq %rbx movq %rdi, %rbx movq 0xb8(%rdi), %rdi callq 0xd700 testq %rax, %rax je 0xf897 movq %rax, %rdi callq 0xdb20 movq %rax, %rdi callq 0xc230 movq 0xb8(%rbx), %rdi jmp 0xf874 movq 0xb8(%rbx), %rdi callq 0xc610 movq $0x0, 0xb8(%rbx) popq %rbx retq
/c-ares[P]c-ares/src/lib/ares_destroy.c
ares_freeaddrinfo_cnames
void ares_freeaddrinfo_cnames(struct ares_addrinfo_cname *head) { struct ares_addrinfo_cname *current; while (head) { current = head; head = head->next; ares_free(current->alias); ares_free(current->name); ares_free(current); } }
testq %rdi, %rdi je 0xf9a5 pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx movq 0x8(%rbx), %rdi movq 0x18(%rbx), %r14 callq 0xddd8 movq 0x10(%rbx), %rdi callq 0xddd8 movq %rbx, %rdi callq 0xddd8 movq %r14, %rbx testq %r14, %r14 jne 0xf978 addq $0x8, %rsp popq %rbx popq %r14 retq
/c-ares[P]c-ares/src/lib/ares_freeaddrinfo.c
ares_addrinfo_cat_cnames
void ares_addrinfo_cat_cnames(struct ares_addrinfo_cname **head, struct ares_addrinfo_cname *tail) { struct ares_addrinfo_cname *last = *head; if (!last) { *head = tail; return; } while (last->next) { last = last->next; } last->next = tail; }
movq (%rdi), %rax testq %rax, %rax je 0xfa50 movq %rax, %rdi movq 0x18(%rax), %rax testq %rax, %rax jne 0xfa40 addq $0x18, %rdi movq %rsi, (%rdi) retq
/c-ares[P]c-ares/src/lib/ares_getaddrinfo.c
hquery_free
static void hquery_free(struct host_query *hquery, ares_bool_t cleanup_ai) { if (cleanup_ai) { ares_freeaddrinfo(hquery->ai); } ares_strsplit_free(hquery->names, hquery->names_cnt); ares_free(hquery->name); ares_free(hquery->lookups); ares_free(hquery); }
pushq %rbx movq %rdi, %rbx testl %esi, %esi je 0xff57 movq 0x70(%rbx), %rdi callq 0xc490 movq 0x58(%rbx), %rdi movq 0x60(%rbx), %rsi callq 0xd420 movq 0x8(%rbx), %rdi callq 0xddd8 movq 0x48(%rbx), %rdi callq 0xddd8 movq %rbx, %rdi popq %rbx jmp 0xddd8
/c-ares[P]c-ares/src/lib/ares_getaddrinfo.c
ares_hosts_search_host
ares_status_t ares_hosts_search_host(ares_channel_t *channel, ares_bool_t use_env, const char *host, const ares_hosts_entry_t **entry) { ares_status_t status; *entry = NULL; status = ares_hosts_update(channel, use_env); if (status != AR...
pushq %r15 pushq %r14 pushq %rbx movq %rcx, %rbx movq %rdx, %r14 movq %rdi, %r15 movq $0x0, (%rcx) callq 0x1139b testl %eax, %eax jne 0x11cad movq 0x1b8(%r15), %rax testq %rax, %rax je 0x11ca8 movq 0x18(%rax), %rdi movq %r14, %rsi callq 0xd030 movq %rax, %rcx movq %rax, (%rbx) xorl %eax, %eax testq %rcx, %rcx sete %al ...
/c-ares[P]c-ares/src/lib/ares_hosts_file.c