name
stringlengths
1
473k
code
stringlengths
7
647k
asm
stringlengths
4
3.39M
file
stringlengths
8
196
dg::ADT::SparseBitvectorImpl<unsigned long, unsigned long, unsigned long, 1ul, dg::STLHashMap<unsigned long, unsigned long>>::const_iterator::operator++()
const_iterator &operator++() { // shift to the next bit in the current bits assert(pos < BITS_IN_BUCKET); assert(container_it != container_end && "operator++ called on end"); if (++pos != BITS_IN_BUCKET) _findClosestBit(); if (pos == BITS_IN_B...
movq %rdi, %rax movq (%rdi), %rcx movq 0x10(%rdi), %rdx leaq 0x1(%rdx), %rsi movq %rsi, 0x10(%rdi) cmpq $0x40, %rsi je 0x1084a movq 0x10(%rcx), %rsi addq $0x2, %rdx leal -0x1(%rdx), %edi movzbl %dil, %edi btq %rdi, %rsi jb 0x10877 movq %rdx, 0x10(%rax) incq %rdx cmpq $0x41, %rdx jne 0x10830 movq (%rcx), %rcx movq %rcx,...
/mchalupa[P]dg/include/dg/ADT/Bitvector.h
dg::PointerIDLookupTable::getOrCreate(dg::pta::Pointer const&)
IDTy getOrCreate(const Pointer &ptr) { auto res = get(ptr); if (res != 0) return res; _idToPtr.push_back(ptr); res = _idToPtr.size(); #ifndef NDEBUG bool r = #endif _ptrToID[ptr.target].put(ptr.offset, res); assert(r && "Duplicated ID!"); ...
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rsi, %rbx movq %rdi, %r14 callq 0x10d1c movq %rax, %r15 testq %rax, %rax jne 0x10d0f movq 0x40(%r14), %rsi cmpq 0x48(%r14), %rsi je 0x10cd6 movups (%rbx), %xmm0 movups %xmm0, (%rsi) movq 0x40(%r14), %r15 addq $0x10, %r15 movq %r15, 0x40(%r14) jmp 0x10ce6 leaq 0x38...
/mchalupa[P]dg/include/dg/PointerAnalysis/PointsToSets/LookupTable.h
dg::PointerIDLookupTable::get(dg::pta::Pointer const&) const
IDTy get(const Pointer &ptr) const { auto it = _ptrToID.find(ptr.target); if (it == _ptrToID.end()) { return 0; // invalid ID } auto it2 = it->second.find(ptr.offset); if (it2 == it->second.end()) return 0; return it2->second; }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 callq 0x10d78 testq %rax, %rax je 0x10d6b movq %rax, %rcx movq %rax, %rdi addq $0x10, %rdi movq 0x8(%r14), %r8 addq $0x8, %r14 xorl %ebx, %ebx movq %r8, %rax xorl %edx, %edx divq 0x18(%rcx) movq %rdx, %rsi movq %r14, %rdx movq %r8, %rcx callq 0x10dd4 testq %rax, %rax je ...
/mchalupa[P]dg/include/dg/PointerAnalysis/PointsToSets/LookupTable.h
dg::DGLLVMPointsToSet::size() const
size_t size() const override { return PTSet.size(); }
movq 0x8(%rdi), %rax movq 0x10(%rax), %rcx xorl %eax, %eax testq %rcx, %rcx je 0x1150f movq 0x10(%rcx), %rsi xorl %edx, %edx testq %rsi, %rsi je 0x11507 movq %rsi, %rdi movl %esi, %r8d andl $0x1, %r8d addq %r8, %rdx shrq %rdi cmpq $0x1, %rsi movq %rdi, %rsi ja 0x114f1 addq %rdx, %rax movq (%rcx), %rcx jmp 0x114de retq
/mchalupa[P]dg/include/dg/llvm/PointerAnalysis/LLVMPointsToSet.h
dg::DGLLVMPointsToSet::getKnownSingleton() const
LLVMPointer getKnownSingleton() const override { assert(isKnownSingleton()); auto ptr = (*(PTSet.begin())); return {ptr.target->getUserData<llvm::Value>(), ptr.offset}; }
movq 0x8(%rdi), %rcx movq 0x10(%rcx), %rax cmpq $0x0, 0x18(%rcx) je 0x11541 movq 0x10(%rax), %rdx testb $0x1, %dl jne 0x11541 xorl %ecx, %ecx cmpq $0x3f, %rcx je 0x11569 movq %rdx, %rsi shrq %cl, %rsi incq %rcx testb $0x2, %sil je 0x1152a jmp 0x11543 xorl %ecx, %ecx movq 0x8(%rax), %rax movq 0xca52(%rip), %rdx # 0...
/mchalupa[P]dg/include/dg/llvm/PointerAnalysis/LLVMPointsToSet.h
dg::DGLLVMPointsToSet::_findNextReal()
bool operator==(const const_iterator &rhs) const { return pos == rhs.pos && container_it == rhs.container_it; }
movq 0x10(%rdi), %rcx movq 0x20(%rdi), %rax movq %rax, %rdx orq %rcx, %rdx je 0x11665 pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdi, %rbx leaq 0x10(%rdi), %r14 movq 0xc9a1(%rip), %r15 # 0x1dfa0 movq 0xc9f2(%rip), %r12 # 0x1dff8 movq 0xc973(%rip), %r13 # 0x1df80 mo...
/mchalupa[P]dg/include/dg/ADT/Bitvector.h
dg::pta::PointerIdPointsToSet::pointsToTarget(dg::pta::PSNode*) const
bool pointsToTarget(PSNode *target) const { for (auto ptrid : pointers) { const auto &ptr = getPointer(ptrid); if (ptr.target == target) { return true; } } return false; }
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x18, %rsp movq %rsi, %rbx movq 0x10(%rdi), %rax movq %rax, (%rsp) xorps %xmm0, %xmm0 movups %xmm0, 0x8(%rsp) cmpq $0x0, 0x18(%rdi) je 0x116ac movq 0x10(%rax), %rdx xorl %ecx, %ecx testb $0x1, %dl jne 0x116b5 cmpq $0x3f, %rcx je 0x116b0 movq %rdx, %rsi shrq %cl, %rsi in...
/mchalupa[P]dg/include/dg/PointerAnalysis/PointsToSets/PointerIdPointsToSet.h
dg::DGLLVMPointerAnalysis::initialize()
void initialize() { if (options.isFSInv()) _builder->setInvalidateNodesFlag(true); buildSubgraph(); if (options.isFS()) { // FIXME: make a interface with run() method PTA.reset(new DGLLVMPointerAnalysisImpl<pta::PointerAnalysisFS>( PS, _b...
pushq %r15 pushq %r14 pushq %rbx movq %rdi, %rbx cmpl $0x2, 0x70(%rdi) jne 0x1184c movq 0x88(%rbx), %rax movb $0x1, 0x149(%rax) movq %rbx, %rdi callq 0x11924 movl 0x70(%rbx), %eax testl %eax, %eax je 0x118c5 leaq 0x8(%rbx), %r14 cmpl $0x2, %eax je 0x11892 cmpl $0x1, %eax jne 0x1191e movl $0xa8, %edi callq 0xe2a0 movq %...
/mchalupa[P]dg/include/dg/llvm/PointerAnalysis/PointerAnalysis.h
dg::DGLLVMPointerAnalysis::buildSubgraph()
void buildSubgraph() { // run the analysis itself assert(_builder && "Incorrectly constructed PTA, missing builder"); PS = _builder->buildLLVMPointerGraph(); if (!PS) { llvm::errs() << "Pointer Subgraph was not built, aborting\n"; abort(); } /* ...
pushq %rbx movq %rdi, %rbx movq 0x88(%rdi), %rdi callq 0xe040 movq %rax, 0x78(%rbx) testq %rax, %rax je 0x1193f popq %rbx retq callq 0xe410 leaq 0x6998(%rip), %rsi # 0x182e3 movq %rax, %rdi callq 0xf448 callq 0xe420
/mchalupa[P]dg/include/dg/llvm/PointerAnalysis/PointerAnalysis.h
dg::DGLLVMPointerAnalysisImpl<dg::pta::PointerAnalysisFS>::DGLLVMPointerAnalysisImpl(dg::pta::PointerGraph*, dg::pta::LLVMPointerGraphBuilder*, dg::LLVMPointerAnalysisOptions const&)
DGLLVMPointerAnalysisImpl(PointerGraph *PS, LLVMPointerGraphBuilder *b, const LLVMPointerAnalysisOptions &opts) : PTType(PS, opts), builder(b) {}
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x50, %rsp movq %rcx, %rbx movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %r12 movq 0x20(%rcx), %rax leaq 0x10(%rsp), %r13 movq %rax, -0x8(%r13) leaq 0x28(%rcx), %rsi movq %r13, %rdi callq 0xfa96 movups 0x58(%rbx), %xmm0 movups %xmm0, 0x30(%r13) leaq 0x8(%rsp), %...
/mchalupa[P]dg/include/dg/llvm/PointerAnalysis/PointerAnalysis.h
dg::DGLLVMPointerAnalysisImpl<dg::pta::PointerAnalysisFSInv>::DGLLVMPointerAnalysisImpl(dg::pta::PointerGraph*, dg::pta::LLVMPointerGraphBuilder*, dg::LLVMPointerAnalysisOptions const&)
DGLLVMPointerAnalysisImpl(PointerGraph *PS, LLVMPointerGraphBuilder *b, const LLVMPointerAnalysisOptions &opts) : PTType(PS, opts), builder(b) {}
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x50, %rsp movq %rcx, %rbx movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %r12 movq 0x20(%rcx), %rax leaq 0x10(%rsp), %r13 movq %rax, -0x8(%r13) leaq 0x28(%rcx), %rsi movq %r13, %rdi callq 0xfa96 movups 0x58(%rbx), %xmm0 movups %xmm0, 0x30(%r13) leaq 0x8(%rsp), %...
/mchalupa[P]dg/include/dg/llvm/PointerAnalysis/PointerAnalysis.h
dg::pta::PointerAnalysisFS::PointerAnalysisFS(dg::pta::PointerGraph*, dg::PointerAnalysisOptions)
PointerAnalysisFS(PointerGraph *ps, PointerAnalysisOptions opts) : PointerAnalysis(ps, opts.setPreprocessGeps(false)) { assert(opts.preprocessGeps == false && "Preprocessing GEPs does not work correctly for FS analysis"); memoryMaps.reserve(ps->size() / 5); ps->compute...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rdx, %r12 movq %rsi, %rbx movq %rdi, %r14 movb $0x0, 0x38(%rdx) movq (%rdx), %rax leaq 0x8(%rsp), %r15 movq %rax, -0x8(%r15) leaq 0x8(%rdx), %rsi movq %r15, %rdi callq 0xfa96 movups 0x38(%r12), %xmm0 movups %xmm0, 0x30(%r15) leaq 0xbf76(%rip), %rax ...
/mchalupa[P]dg/include/dg/PointerAnalysis/PointerAnalysisFS.h
dg::pta::PointerAnalysisFS::getMemoryObjects(dg::pta::PSNode*, dg::pta::Pointer const&, std::vector<dg::pta::MemoryObject*, std::allocator<dg::pta::MemoryObject*>>&)
void getMemoryObjects(PSNode *where, const Pointer &pointer, std::vector<MemoryObject *> &objects) override { MemoryMapT *mm = where->getData<MemoryMapT>(); assert(mm && "Node does not have memory map"); auto I = mm->find(pointer.target); if (I != mm->end()) { ...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rcx, %rbx movq %rdx, %r14 movq %rsi, %r12 movq 0x10(%rsi), %r15 movq 0x10(%r15), %rcx testq %rcx, %rcx je 0x11c47 leaq 0x8(%r15), %rsi movq (%r14), %rdx movq %rsi, %rax xorl %edi, %edi cmpq %rdx, 0x20(%rcx) setb %dil cmovaeq %rcx, %rax movq 0...
/mchalupa[P]dg/include/dg/PointerAnalysis/PointerAnalysisFS.h
dg::pta::PointerAnalysisFS::afterProcessed(dg::pta::PSNode*)
bool afterProcessed(PSNode *n) override { bool changed = false; PointsToSetT *overwritten = nullptr; MemoryMapT *mm = n->getData<MemoryMapT>(); // we must have the memory map, we created it // in the beforeProcessed method assert(mm && "Do not have memory map"); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rsi, %r15 movq 0x10(%rsi), %rbx cmpl $0x3, 0x90(%rsi) jne 0x11dec movq 0x58(%r15), %rax movq 0x8(%rax), %rdi callq 0x12f2c testb %al, %al je 0x11df1 xorl %r14d, %r14d jmp 0x11dff movq 0x58(%r15), %rax movl $0xb0, %r14d addq 0x8(%rax), %r...
/mchalupa[P]dg/include/dg/PointerAnalysis/PointerAnalysisFS.h
dg::pta::PointerAnalysis::enqueue(dg::pta::PSNode*)
virtual void enqueue(PSNode *n) { changed.push_back(n); }
pushq %rax movq %rsi, %rax movq %rsi, (%rsp) movq 0x28(%rdi), %rsi cmpq 0x30(%rdi), %rsi je 0x11f2a movq %rax, (%rsi) addq $0x8, 0x28(%rdi) jmp 0x11f36 addq $0x20, %rdi movq %rsp, %rdx callq 0x130a4 popq %rax retq
/mchalupa[P]dg/include/dg/PointerAnalysis/PointerAnalysis.h
dg::DGLLVMPointerAnalysisImpl<dg::pta::PointerAnalysisFS>::handleFork(dg::pta::PSNode*, dg::pta::PSNode*)
bool handleFork(PSNode *forkNode, PSNode *called) override { using namespace llvm; using namespace dg::pta; assert(called->getType() == PSNodeType::FUNCTION && "The called value is not a function"); PSNodeFork *fork = PSNodeFork::get(forkNode); builder->addFuncti...
pushq %rax xorl %eax, %eax cmpl $0xd, 0x90(%rsi) cmoveq %rsi, %rax movq 0xa0(%rdi), %rdi movq %rdx, %rsi movq %rax, %rdx callq 0xe1d0 movb $0x1, %al popq %rcx retq
/mchalupa[P]dg/include/dg/llvm/PointerAnalysis/PointerAnalysis.h
dg::pta::PointerAnalysis::~PointerAnalysis()
virtual ~PointerAnalysis() = default;
pushq %rbx movq %rdi, %rbx leaq 0xb865(%rip), %rax # 0x1da08 movq %rax, (%rdi) addq $0x48, %rdi movq 0x58(%rbx), %rsi callq 0x117cc movq 0x20(%rbx), %rdi testq %rdi, %rdi je 0x121c8 movq 0x30(%rbx), %rsi subq %rdi, %rsi callq 0xe050 movq 0x8(%rbx), %rdi testq %rdi, %rdi je 0x121de movq 0x18(%rbx), %rsi subq %rdi, ...
/mchalupa[P]dg/include/dg/PointerAnalysis/PointerAnalysis.h
dg::pta::PointerAnalysisFS::createMM()
MemoryMapT *createMM() { MemoryMapT *mm = new MemoryMapT(); memoryMaps.emplace_back(mm); return mm; }
pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx movl $0x30, %edi callq 0xe2a0 leaq 0x8(%rax), %rcx xorps %xmm0, %xmm0 movaps %xmm0, 0x10(%rax) movaps %xmm0, (%rax) movq %rcx, 0x18(%rax) movq %rcx, 0x20(%rax) movq $0x0, 0x28(%rax) movq %rax, (%rsp) movq 0x90(%rbx), %rsi cmpq 0x98(%rbx), %rsi je 0x12714 movq %rax, (%rsi...
/mchalupa[P]dg/include/dg/PointerAnalysis/PointerAnalysisFS.h
dg::pta::PointerAnalysisFS::mergeMaps(std::map<dg::pta::PSNode*, std::unique_ptr<dg::pta::MemoryObject, std::default_delete<dg::pta::MemoryObject>>, std::less<dg::pta::PSNode*>, std::allocator<std::pair<dg::pta::PSNode* const, std::unique_ptr<dg::pta::MemoryObject, std::default_delete<dg::pta::MemoryObject>>>>>*, std::...
static bool mergeMaps(MemoryMapT *mm, MemoryMapT *from, PointsToSetT *overwritten) { bool changed = false; for (auto &it : *from) { PSNode *fromTarget = it.first; std::unique_ptr<MemoryObject> &toMo = (*mm)[fromTarget]; if (toMo == nullptr) ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rsi, %r14 movq 0x18(%rsi), %r12 addq $0x8, %r14 cmpq %r14, %r12 je 0x12969 movq %rdx, %rbx movq %rdi, %r15 xorl %ebp, %ebp movq 0x20(%r12), %rax movq %rax, (%rsp) movq %r15, %rdi movq %rsp, %rsi callq 0x12980 movq (%rax), %rsi testq %rsi...
/mchalupa[P]dg/include/dg/PointerAnalysis/PointerAnalysisFS.h
dg::pta::PointerAnalysisFS::mergeObjects(dg::pta::PSNode*, dg::pta::MemoryObject*, dg::pta::MemoryObject*, dg::pta::PointerIdPointsToSet*)
static bool mergeObjects(PSNode *node, MemoryObject *to, MemoryObject *from, PointsToSetT *overwritten) { bool changed = false; for (auto &fromIt : from->pointsTo) { if (overwritten && overwritten->count(Pointer(node, fromIt.first))) continue; ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rdi, 0x18(%rsp) movq 0x20(%rdx), %rbp addq $0x10, %rdx movq %rdx, 0x30(%rsp) cmpq %rdx, %rbp je 0x12b2c movq %rcx, %r15 addq $0x8, %rsi movq %rsi, 0x20(%rsp) xorl %r13d, %r13d movq 0xb57b(%rip), %r14 # 0x1dfa0 movq %rsp, %r12 ...
/mchalupa[P]dg/include/dg/PointerAnalysis/PointerAnalysisFS.h
dg::pta::PointerAnalysisFI::PointerAnalysisFI(dg::pta::PointerGraph*, dg::PointerAnalysisOptions const&)
PointerAnalysisFI(PointerGraph *ps, const PointerAnalysisOptions &opts) : PointerAnalysis(ps, opts) { memory_objects.reserve( std::max(ps->size() / 100, static_cast<size_t>(8))); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rdx, %r12 movq %rsi, %rbx movq %rdi, %r14 movq (%rdx), %rax leaq 0x8(%rsp), %r15 movq %rax, -0x8(%r15) leaq 0x8(%rdx), %rsi movq %r15, %rdi callq 0xfa96 movups 0x38(%r12), %xmm0 movups %xmm0, 0x30(%r15) leaq 0xa7ea(%rip), %rax # 0x1da08 movq %rax, ...
/mchalupa[P]dg/include/dg/PointerAnalysis/PointerAnalysisFI.h
dg::pta::PointerAnalysisFI::~PointerAnalysisFI()
void preprocessGEPs() { // if a node is in a loop (a scc that has more than one node), // then every GEP that is also stored to the same memory afterwards // in the loop will end up with Offset::UNKNOWN after some // number of iterations (in FI analysis), so we can do that right now ...
pushq %rbx movq %rdi, %rbx leaq 0xa7ab(%rip), %rax # 0x1dae8 movq %rax, (%rdi) addq $0x88, %rdi callq 0x1375e movq %rbx, %rdi popq %rbx jmp 0x12198 nop
/mchalupa[P]dg/include/dg/PointerAnalysis/PointerAnalysisFI.h
dg::pta::PointerAnalysisFI::getMemoryObjects(dg::pta::PSNode*, dg::pta::Pointer const&, std::vector<dg::pta::MemoryObject*, std::allocator<dg::pta::MemoryObject*>>&)
void getMemoryObjects(PSNode *where, const Pointer &pointer, std::vector<MemoryObject *> &objects) override { // irrelevant in flow-insensitive (void) where; PSNode *n = pointer.target; // we want to have memory in allocation sites if (n->getType() == P...
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rcx, %rbx movq %rdi, %r14 movq (%rdx), %r15 movl 0x90(%r15), %eax cmpl $0x4, %eax je 0x133ae cmpl $0x12, %eax je 0x133b4 cmpl $0x6, %eax jne 0x1340e movq 0x58(%r15), %rax jmp 0x1340b movq 0xc0(%r15), %rax cmpq $0x0, 0xc8(%r15) je 0x133eb movq 0x10(%rax), %rdx test...
/mchalupa[P]dg/include/dg/PointerAnalysis/PointerAnalysisFI.h
dg::DGLLVMPointerAnalysisImpl<dg::pta::PointerAnalysisFI>::handleFork(dg::pta::PSNode*, dg::pta::PSNode*)
bool handleFork(PSNode *forkNode, PSNode *called) override { using namespace llvm; using namespace dg::pta; assert(called->getType() == PSNodeType::FUNCTION && "The called value is not a function"); PSNodeFork *fork = PSNodeFork::get(forkNode); builder->addFuncti...
pushq %rax xorl %eax, %eax cmpl $0xd, 0x90(%rsi) cmoveq %rsi, %rax movq 0xa0(%rdi), %rdi movq %rdx, %rsi movq %rax, %rdx callq 0xe1d0 movb $0x1, %al popq %rcx retq
/mchalupa[P]dg/include/dg/llvm/PointerAnalysis/PointerAnalysis.h
dg::pta::PointerAnalysisFI::~PointerAnalysisFI()
void preprocessGEPs() { // if a node is in a loop (a scc that has more than one node), // then every GEP that is also stored to the same memory afterwards // in the loop will end up with Offset::UNKNOWN after some // number of iterations (in FI analysis), so we can do that right now ...
pushq %rbx movq %rdi, %rbx leaq 0xa403(%rip), %rax # 0x1dae8 movq %rax, (%rdi) addq $0x88, %rdi callq 0x1375e movq %rbx, %rdi callq 0x12198 movl $0xa0, %esi movq %rbx, %rdi popq %rbx jmp 0xe050
/mchalupa[P]dg/include/dg/PointerAnalysis/PointerAnalysisFI.h
dg::pta::PointerAnalysisFSInv::PointerAnalysisFSInv(dg::pta::PointerGraph*, dg::PointerAnalysisOptions)
PointerAnalysisFSInv(PointerGraph *ps, PointerAnalysisOptions opts) : PointerAnalysisFS(ps, opts.setInvalidateNodes(true)) {}
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 movb $0x1, 0x39(%rdx) movq (%rdx), %rax leaq 0x8(%rsp), %r12 movq %rax, -0x8(%r12) leaq 0x8(%rdx), %rsi movq %r12, %rdi callq 0xfa96 movups 0x38(%rbx), %xmm0 movups %xmm0, 0x30(%r12) movq %rsp, %rbx movq %r15, %...
/mchalupa[P]dg/include/dg/PointerAnalysis/PointerAnalysisFSInv.h
dg::pta::PointerAnalysisFSInv::afterProcessed(dg::pta::PSNode*)
bool afterProcessed(PSNode *n) override { if (n->getType() == PSNodeType::INVALIDATE_LOCALS) return handleInvalidateLocals(n); if (n->getType() == PSNodeType::INVALIDATE_OBJECT) return invalidateMemory(n); if (n->getType() == PSNodeType::FREE) return handleFre...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movq %rsi, %r15 movl 0x90(%rsi), %eax cmpl $0x11, %eax je 0x13b54 cmpl $0x10, %eax je 0x13b43 cmpl $0xf, %eax jne 0x13b65 movq 0x40(%r15), %r14 movq 0x48(%r15), %r12 xorl %ebx, %ebx cmpq %r12, %r14 je 0x13bb5 movq (%r14), %rsi movq %r15, %rdi callq 0x13ebe orb %al,...
/mchalupa[P]dg/include/dg/PointerAnalysis/PointerAnalysisFSInv.h
dg::DGLLVMPointerAnalysisImpl<dg::pta::PointerAnalysisFSInv>::handleFork(dg::pta::PSNode*, dg::pta::PSNode*)
bool handleFork(PSNode *forkNode, PSNode *called) override { using namespace llvm; using namespace dg::pta; assert(called->getType() == PSNodeType::FUNCTION && "The called value is not a function"); PSNodeFork *fork = PSNodeFork::get(forkNode); builder->addFuncti...
pushq %rax xorl %eax, %eax cmpl $0xd, 0x90(%rsi) cmoveq %rsi, %rax movq 0xa0(%rdi), %rdi movq %rdx, %rsi movq %rax, %rdx callq 0xe1d0 movb $0x1, %al popq %rcx retq
/mchalupa[P]dg/include/dg/llvm/PointerAnalysis/PointerAnalysis.h
dg::pta::PointerAnalysisFSInv::handleInvalidateLocals(dg::pta::PSNode*, dg::pta::PSNode*)
static bool handleInvalidateLocals(PSNode *node, PSNode *pred) { MemoryMapT *pmm = pred->getData<MemoryMapT>(); if (!pmm) { // predecessor was not processed yet return false; } MemoryMapT *mm = node->getData<MemoryMapT>(); assert(mm && "Node does not have...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x68, %rsp movq %rdi, (%rsp) movq 0x10(%rsi), %rcx testq %rcx, %rcx je 0x1411c movq 0x18(%rcx), %r15 addq $0x8, %rcx cmpq %rcx, %r15 je 0x1411c movq (%rsp), %rax movq 0x10(%rax), %rax movq %rax, 0x10(%rsp) xorl %r14d, %r14d movq 0xa09b(%rip), %rbx ...
/mchalupa[P]dg/include/dg/PointerAnalysis/PointerAnalysisFSInv.h
dg::pta::PointerAnalysisFSInv::containsRemovableLocals(dg::pta::PSNode*, dg::pta::PointerIdPointsToSet&)
static bool containsRemovableLocals(PSNode *where, PointsToSetT &S) { for (const auto &ptr : S) { if (ptr.isNull() || ptr.isUnknown() || ptr.isInvalidated()) continue; if (PSNodeAlloc *alloc = PSNodeAlloc::get(ptr.target)) { if (isLocal(alloc, where) && k...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdi, %rbx movq 0x10(%rsi), %rax movq %rax, (%rsp) xorps %xmm0, %xmm0 movups %xmm0, 0x8(%rsp) cmpq $0x0, 0x18(%rsi) je 0x141e4 movq 0x10(%rax), %rdx xorl %ecx, %ecx testb $0x1, %dl jne 0x141ed cmpq $0x3f, %rcx je 0x141e8 movq %rdx, ...
/mchalupa[P]dg/include/dg/PointerAnalysis/PointerAnalysisFSInv.h
dg::pta::PointerAnalysisFSInv::replaceLocalsWithInv(dg::pta::PSNode*, dg::pta::PointerIdPointsToSet&)
static void replaceLocalsWithInv(PSNode *where, PointsToSetT &S1) { PointsToSetT S; for (const auto &ptr : S1) { if (ptr.isNull() || ptr.isUnknown() || ptr.isInvalidated()) continue; if (PSNodeAlloc *alloc = PSNodeAlloc::get(ptr.target)) { // if ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x68, %rsp movq %rsi, %rbx movq %rdi, 0x18(%rsp) leaq 0x60(%rsp), %rax movq $0x0, -0x10(%rax) movq %rax, -0x30(%rax) movq $0x1, -0x28(%rax) xorps %xmm0, %xmm0 movups %xmm0, -0x20(%rax) movl $0x3f800000, -0x10(%rax) # imm = 0x3F800000 movups %xmm0, ...
/mchalupa[P]dg/include/dg/PointerAnalysis/PointerAnalysisFSInv.h
dg::pta::PointerAnalysisFSInv::overwriteMOFromFree(std::map<dg::pta::PSNode*, std::unique_ptr<dg::pta::MemoryObject, std::default_delete<dg::pta::MemoryObject>>, std::less<dg::pta::PSNode*>, std::allocator<std::pair<dg::pta::PSNode* const, std::unique_ptr<dg::pta::MemoryObject, std::default_delete<dg::pta::MemoryObject...
static bool overwriteMOFromFree(MemoryMapT *mm, PSNode *target) { // if we know exactly which memory object // is being used for freeing the memory, // we can set it to invalidated auto *mo = getOrCreateMO(mm, target); if (mo->pointsTo.size() == 1) { auto &S = mo->poi...
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp callq 0x14136 movq %rax, %r14 leaq 0x8(%rax), %rbx cmpq $0x1, 0x30(%rax) jne 0x14a4b leaq 0x10(%rsp), %rsi movq $0x0, (%rsi) movq %rbx, %rdi callq 0x14cd6 movq 0x10(%rax), %rdx testq %rdx, %rdx je 0x14a4b xorl %ecx, %ecx movq %rdx, %rsi movq 0x10(%rsi), %r8 xorl %edi, %...
/mchalupa[P]dg/include/dg/PointerAnalysis/PointerAnalysisFSInv.h
dg::pta::PointerAnalysisFSInv::invStrongUpdate(dg::pta::PSNode const*)
size_t size() const { size_t num = 0; for (auto &it : _bits) num += _countBits(it.second); return num; }
movq 0xc0(%rdi), %rax testq %rax, %rax je 0x14b2d pushq %rax xorl %ecx, %ecx movq %rax, %rdx movq 0x10(%rdx), %r8 xorl %esi, %esi testq %r8, %r8 je 0x14af0 movq %r8, %r9 movl %r8d, %r10d andl $0x1, %r10d addq %r10, %rsi shrq %r9 cmpq $0x1, %r8 movq %r9, %r8 ja 0x14ada addq %rsi, %rcx movq (%rdx), %rdx testq %rdx, %rdx ...
/mchalupa[P]dg/include/dg/ADT/Bitvector.h
dg::pta::PointerAnalysisFSInv::replaceTargetWithInv(dg::pta::PointerIdPointsToSet&, dg::pta::PSNode*)
static void replaceTargetWithInv(PointsToSetT &S1, PSNode *target) { PointsToSetT S; for (const auto &ptr : S1) { if (ptr.target != target) S.add(ptr); } S.add(INVALIDATED, 0); S1.swap(S); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x68, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x60(%rsp), %rax movq $0x0, -0x10(%rax) movq %rax, -0x30(%rax) movq $0x1, -0x28(%rax) xorps %xmm0, %xmm0 movups %xmm0, -0x20(%rax) movl $0x3f800000, -0x10(%rax) # imm = 0x3F800000 movups %xmm0, -0x8(%...
/mchalupa[P]dg/include/dg/PointerAnalysis/PointerAnalysisFSInv.h
MemorySSADumper::dumpBBlockDefinitions(dg::dda::RWBBlock*)
void dumpBBlockDefinitions(RWBBlock *block) override { auto *SSA = static_cast<MemorySSATransformation *>( DDA->getDDA()->getImpl()); const auto *D = SSA->getDefinitions(block); if (!D) return; printf("<tr><td colspan=\"4\">== defines ==</td></tr>"); ...
pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx movq 0x8(%rdi), %rax movq 0xb8(%rax), %rax movq (%rax), %rdi callq 0x154ce testq %rax, %rax je 0x152b0 movq %rax, %r14 leaq 0x30e9(%rip), %rdi # 0x18362 xorl %eax, %eax callq 0xe250 leaq 0x8(%r14), %rsi movq %rbx, %rdi callq 0x15382 leaq 0x30fc(%rip), %rdi # 0x...
/mchalupa[P]dg/tools/llvm-dda-dump.cpp
MemorySSADumper::dumpSubgraphLabel(dg::dda::RWSubgraph*)
void dumpSubgraphLabel(RWSubgraph *subgraph) override { auto *SSA = static_cast<MemorySSATransformation *>( DDA->getDDA()->getImpl()); const auto *summary = SSA->getSummary(subgraph); if (!summary) { printf(" label=<<table cellborder=\"0\">\n" "<t...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rsi, %r15 movq %rdi, %rbx movq 0x8(%rdi), %rax movq 0xb8(%rax), %rax movl $0x128, %edi # imm = 0x128 addq (%rax), %rdi movq %rsp, %rsi movq %r15, (%rsi) callq 0x15520 testq %rax, %rax je 0x15349 movq %rax, %r14 leaq 0x48(%rax), %r12 movq 0x30(%r15)...
/mchalupa[P]dg/tools/llvm-dda-dump.cpp
MemorySSADumper::dumpDDIMap(dg::dda::DefinitionsMap<dg::dda::RWNode> const&)
void dumpDDIMap(const DefinitionsMap<RWNode> &map) { for (const auto &it : map) { for (const auto &it2 : it.second) { printf(R"(<tr><td align="left" colspan="4">)"); printName(it.first); printf("</td></tr>"); for (auto *where : it2.seco...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq 0x10(%rsi), %r15 testq %r15, %r15 je 0x154be movq %rdi, %rbx movq 0x8c31(%rip), %rax # 0x1dfd8 movq (%rax), %r14 movq 0x28(%r15), %r13 leaq 0x18(%r15), %rax movq %rax, 0x10(%rsp) cmpq %rax, %r13 je 0x154b2 movq %r15, 0x8(%rsp) ...
/mchalupa[P]dg/tools/llvm-dda-dump.cpp
dg::dda::MemorySSATransformation::getBBlockInfo(dg::dda::RWBBlock*) const
const BBlockInfo *getBBlockInfo(RWBBlock *b) const { const auto *si = getSubgraphInfo(b->getSubgraph()); if (si) { return si->getBBlockInfo(b); } return nullptr; }
pushq %rbx subq $0x10, %rsp movq %rsi, %rbx movq 0x50(%rsi), %rax leaq 0x8(%rsp), %rsi movq %rax, (%rsi) addq $0x128, %rdi # imm = 0x128 callq 0x15520 testq %rax, %rax je 0x15517 addq $0x10, %rax leaq 0x8(%rsp), %rsi movq %rbx, (%rsi) movq %rax, %rdi callq 0x1557c movq %rax, %rcx addq $0x10, %rax testq %rcx,...
/mchalupa[P]dg/include/dg/MemorySSA/MemorySSA.h
Dumper::printName(dg::dda::RWNode const*)
void printName(const RWNode *node) { if (node == nullptr) { printf("nullptr"); return; } if (node == UNKNOWN_MEMORY) { printf("unknown mem"); return; } const char *name = nullptr; std::string nm; if (!name) { ...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x240, %rsp # imm = 0x240 testq %rsi, %rsi je 0x156e0 movq %rsi, %r14 movq 0x89ed(%rip), %rax # 0x1dfe8 cmpq %rsi, (%rax) je 0x156e9 leaq 0xb8(%rsp), %r13 movq %r13, -0x10(%r13) movq $0x0, -0x8(%r13) movb $0x0, (%r13) movq 0x8(%rdi), %rdi movq...
/mchalupa[P]dg/tools/llvm-dda-dump.cpp
Dumper::dumpToTty()
void dumpToTty() { for (auto *subg : DDA->getGraph()->subgraphs()) { printf("=========== fun: %s ===========\n", subg->getName().c_str()); for (auto *bb : subg->bblocks()) { printf("<<< bblock: %u >>>\n", bb->getID()); for (auto *node : ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq 0x8(%rdi), %rax movq 0xb8(%rax), %rax movq (%rax), %rax movq 0x28(%rax), %rcx movq 0x30(%rax), %rax movq %rax, 0x8(%rsp) cmpq %rax, %rcx je 0x16126 movq %rdi, %rbx leaq 0x2a76(%rip), %r12 # 0x18a52 movq %rcx, 0x10(%rsp) movq (%...
/mchalupa[P]dg/tools/llvm-dda-dump.cpp
Dumper::nodeToDot(dg::dda::RWNode*)
void nodeToDot(RWNode *node) { static std::set<RWNode *> _dumped; if (!_dumped.insert(node).second) // already dumped return; printf("\tNODE%p ", static_cast<const void *>(node)); printf("[label=<<table border=\"0\"><tr><td>(%u)</td> ", node->getID()); printf("<td><f...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rdi, %rbx movq %rsi, 0x8(%rsp) movb 0x86a7(%rip), %al # 0x1e7f8 testb %al, %al je 0x162f3 leaq 0x8668(%rip), %rdi # 0x1e7c8 leaq 0x8(%rsp), %rsi callq 0x16788 testb $0x1, %dl je 0x162e5 movq 0x8(%rsp), %rsi leaq 0x25df(%rip), %rdi ...
/mchalupa[P]dg/tools/llvm-dda-dump.cpp
Dumper::dumpNodeEdges(dg::dda::RWNode*)
void dumpNodeEdges(RWNode *node) { static std::set<RWNode *> dumped; if (!dumped.insert(node).second) return; if (verbose || node->isPhi()) { for (RWNode *def : node->defuse) { printf("\tNODE%p->NODE%p [style=dotted constraint=false]\n", ...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x20, %rsp movq %rdi, %rbx movq %rsi, (%rsp) movb 0x83c0(%rip), %al # 0x1e830 testb %al, %al je 0x1660c leaq 0x8381(%rip), %rdi # 0x1e800 movq %rsp, %rsi callq 0x16788 testb $0x1, %dl je 0x165fe movq (%rsp), %r14 cmpb $0x0, 0x7f7d(%rip) # 0x1e...
/mchalupa[P]dg/tools/llvm-dda-dump.cpp
Dumper::dumpBBlockEdges(dg::dda::RWBBlock*)
static void dumpBBlockEdges(RWBBlock *block) { // dump CFG edges between nodes in one block RWNode *last = nullptr; for (RWNode *node : block->getNodes()) { if (last) { // successor edge printf("\tNODE%p->NODE%p [constraint=true]\n", static_cast...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rdi, %rbx movq 0x38(%rdi), %r12 addq $0x38, %rbx cmpq %rbx, %r12 je 0x1665a leaq 0x23c5(%rip), %r14 # 0x189fa xorl %esi, %esi movq 0x10(%r12), %r15 testq %rsi, %rsi je 0x1664e movq %r14, %rdi movq %r15, %rdx xorl %eax, %eax callq 0xe250 movq (%r12), %r12...
/mchalupa[P]dg/tools/llvm-dda-dump.cpp
doctest::(anonymous namespace)::ConsoleReporter::test_run_end(doctest::TestRunStats const&)
void test_run_end(const TestRunStats& p) override { if(opt.minimal && p.numTestCasesFailed == 0) return; separator_to_stream(); s << std::dec; auto totwidth = int(std::ceil(log10((std::max(p.numTestCasesPassingFilters, static_cast<unsigned>(p.numAsserts)...
subq $0xb8, %rsp movq %rdi, 0xb0(%rsp) movq %rsi, 0xa8(%rsp) movq 0xb0(%rsp), %rax movq %rax, 0x60(%rsp) movq 0x60(%rax), %rax testb $0x1, 0x70(%rax) je 0x1ccca1 movq 0xa8(%rsp), %rax cmpl $0x0, 0xc(%rax) jne 0x1ccca1 jmp 0x1cd27f movq 0x60(%rsp), %rdi callq 0x1cf020 movq 0x60(%rsp), %rax movq 0x8(%rax), %rdi leaq 0xd7...
/qicosmos[P]rest_rpc/tests/doctest/doctest.h
main
int main(int argc, char* argv[]) { if (argc != 2) { std::cerr << "usage: test_xref INPUT.pdf" << std::endl; std::exit(2); } try { QPDF qpdf; qpdf.processFile(argv[1]); for (auto const& iter: qpdf.getXRefTable()) { std::cout << iter.first.getObj() << "/" ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp cmpl $0x2, %edi jne 0x255a movq %rsi, %rbx movq %rsp, %rdi callq 0x2090 movq 0x8(%rbx), %rsi movq %rsp, %rdi xorl %edx, %edx callq 0x2130 leaq 0x8(%rsp), %rdi movq %rsp, %rsi callq 0x21a0 leaq 0x10(%rsp), %r15 movq 0x10(%r15), %rbx cmpq ...
/jberkenbilt[P]qpdf/qpdf/test_xref.cc
mserialize::detail::singular_tuple(mserialize::string_view, mserialize::string_view, int)
inline bool singular_tuple(string_view full_tag, string_view tag, int max_recursion) { tag.remove_prefix(1); // drop ( tag.remove_suffix(1); // drop ) for (string_view elem_tag = tag_pop(tag); ! elem_tag.empty(); elem_tag = tag_pop(tag)) { if (! singular_impl(full_tag, elem_tag, max_recursion)) { return fal...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x10, %rsp movl %r8d, %ebx movq %rsi, %r14 movq %rdi, %r15 xorl %eax, %eax testq %rcx, %rcx setne %al addq %rax, %rdx movq %rsp, %r12 movq %rdx, (%r12) subq %rax, %rcx xorl %eax, %eax subq $0x1, %rcx cmovaeq %rcx, %rax movq %rax, 0x8(%r12) movq %r12, %rdi cal...
/erenon[P]binlog/include/mserialize/detail/Singular.hpp
char* mserialize::detail::write_integer_as_hex<long>(long, char*)
constexpr char* write_integer_as_hex(Integer v, char* end) { const char digits[] = "0123456789ABCDEF"; if (v == 0) { *--end = '0'; } else if (v > 0) { while (v != 0) { *--end = digits[v % 16]; v = static_cast<Integer>(v / 16); } } else { while (v != 0) { *--e...
testq %rdi, %rdi je 0x8fba jle 0x8fbe leaq 0x167f(%rip), %rax # 0xa620 testq %rdi, %rdi je 0x8ff6 movl %edi, %ecx andl $0xf, %ecx movb (%rcx,%rax), %cl movb %cl, -0x1(%rsi) decq %rsi shrq $0x4, %rdi jmp 0x8fa1 movb $0x30, %al jmp 0x8ff0 pushq $0x10 popq %rcx leaq 0x1658(%rip), %r8 # 0xa620 testq %rdi, %rdi j...
/erenon[P]binlog/include/mserialize/detail/integer_to_hex.hpp
testing::internal::InDeathTestChild()
bool InDeathTestChild() { #if defined(GTEST_OS_WINDOWS) || defined(GTEST_OS_FUCHSIA) // On Windows and Fuchsia, death tests are thread-safe regardless of the value // of the death_test_style flag. return !GTEST_FLAG_GET(internal_run_death_test).empty(); #else if (GTEST_FLAG_GET(death_test_style) == "threadsa...
pushq %rax leaq 0x393b6(%rip), %rdi # 0x415a8 leaq 0x22094(%rip), %rsi # 0x2a28d callq 0x1eab5 leaq 0x393cb(%rip), %rcx # 0x415d0 xorl %edx, %edx cmpq $0x0, 0x8(%rcx) setne %dl movzbl 0x393da(%rip), %ecx # 0x415f0 testb %al, %al cmovnel %edx, %ecx andb $0x1, %cl movl %ecx, %eax popq %rcx retq
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/src/gtest-death-test.cc
testing::internal::FilePath::MakeFileName(testing::internal::FilePath const&, testing::internal::FilePath const&, int, char const*)
FilePath FilePath::MakeFileName(const FilePath& directory, const FilePath& base_name, int number, const char* extension) { std::string file; if (number == 0) { file = base_name.string() + "." + extension; } else { file = base_name.str...
pushq %r15 pushq %r14 pushq %rbx subq $0xd0, %rsp movq %r8, %r15 movq %rsi, %r14 leaq 0x60(%rsp), %rax movq %rax, -0x10(%rax) andq $0x0, -0x8(%rax) movq %rdi, %rbx movl %ecx, 0xc(%rsp) movb $0x0, (%rax) testl %ecx, %ecx je 0xb4e9 leaq 0x1f363(%rip), %rax # 0x2a7a0 leaq 0x90(%rsp), %rdi movq %rdx, %rsi movq %rax, %r...
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/src/gtest-filepath.cc
testing::internal::FilePath::GenerateUniqueFileName(testing::internal::FilePath const&, testing::internal::FilePath const&, char const*)
FilePath FilePath::GenerateUniqueFileName(const FilePath& directory, const FilePath& base_name, const char* extension) { FilePath full_pathname; int number = 0; do { full_pathname.Set(MakeFileName(directory, base_name, number+...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rcx, %r14 movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %rbx callq 0x1f0b0 xorl %ebp, %ebp leaq 0x8(%rsp), %r13 movq %r13, %rdi movq %r12, %rsi movq %r15, %rdx movl %ebp, %ecx movq %r14, %r8 callq 0xb404 movq %rbx, %rdi movq %r13, %rs...
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/src/gtest-filepath.cc
testing::Matcher<std::basic_string_view<char, std::char_traits<char>> const&>::Matcher(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
Matcher<const internal::StringView&>::Matcher(const std::string& s) { *this = Eq(s); }
pushq %r14 pushq %rbx subq $0x58, %rsp movq %rdi, %rbx xorps %xmm0, %xmm0 movups %xmm0, 0x8(%rdi) leaq 0x34b20(%rip), %rax # 0x40788 addq $0x10, %rax movq %rax, (%rdi) leaq 0x18(%rsp), %rdi callq 0x77b0 leaq 0x38(%rsp), %rdi leaq 0x18(%rsp), %rsi callq 0x77b0 movq %rsp, %rdi leaq 0x38(%rsp), %rsi callq 0x1f0f8 movq...
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/src/gtest-matchers.cc
testing::internal::RE::Init(char const*)
void RE::Init(const char* regex) { pattern_ = regex; // Reserves enough bytes to hold the regular expression used for a // full match. const size_t full_regex_len = strlen(regex) + 10; char* const full_pattern = new char[full_regex_len]; snprintf(full_pattern, full_regex_len, "^(%s)$", regex); is_valid_...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rsi, %r15 movq %rdi, %rbx movq %rsi, 0x10(%rsp) callq 0x7a70 movq %r15, %rdi callq 0x7200 leaq 0xa(%rax), %r12 movq %r12, %rdi callq 0x7040 movq %rax, %r14 leaq 0x1e52d(%rip), %rdx # 0x2a6c4 movq %rax, %rdi movq %r12, %rsi movq %r15, %rcx xorl %eax,...
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/src/gtest-port.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 %r15 pushq %r14 pushq %rbx subq $0x30, %rsp movq %rdi, %rbx movq %rdx, 0x28(%rsp) movq %rcx, 0x20(%rsp) movq %r8, 0x18(%rsp) movq 0x8(%rsi), %rax testq %rax, %rax je 0xc33e movq (%rax), %r15 jmp 0xc345 leaq 0x1f32f(%rip), %r15 # 0x2b674 movq %r15, 0x10(%rsp) leaq 0x8(%rsp), %r14 movq %r14, %rdi callq 0xff66 m...
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/src/gtest.cc
testing::internal::FormatCompilerIndependentFileLocation[abi:cxx11](char const*, int)
GTEST_API_ ::std::string FormatCompilerIndependentFileLocation(const char* file, int line) { const std::string file_name(file == nullptr ? kUnknownFile : file); if (line < 0) return file_name; else return file_name + ":" + StreamableToString(...
pushq %rbp pushq %rbx subq $0x68, %rsp movl %edx, %ebp movq %rdi, %rbx movl %edx, 0x4(%rsp) testq %rsi, %rsi leaq 0x1cafd(%rip), %rax # 0x29108 cmoveq %rax, %rsi leaq 0x28(%rsp), %rdi leaq 0x8(%rsp), %rdx callq 0x1ea7a testl %ebp, %ebp js 0xc66f leaq 0x1f537(%rip), %rdx # 0x2bb60 leaq 0x8(%rsp), %rdi leaq 0x28(...
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/src/gtest-port.cc
testing::internal::GTestLog::GTestLog(testing::internal::GTestLogSeverity, char const*, int)
GTestLog::GTestLog(GTestLogSeverity severity, const char* file, int line) : severity_(severity) { const char* const marker = severity == GTEST_INFO ? "[ INFO ]" : severity == GTEST_WARNING ? "[WARNING]" : severity == GTEST_ERROR ? "[ ERROR ]" ...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x28, %rsp movl %ecx, %ebx movq %rdx, %r14 movl %esi, (%rdi) cmpl $0x2, %esi leaq 0x1e0df(%rip), %rax # 0x2a7c1 leaq 0x1e0e2(%rip), %rcx # 0x2a7cb cmoveq %rax, %rcx cmpl $0x1, %esi leaq 0x1e0c0(%rip), %rax # 0x2a7b7 cmovneq %rcx, %rax testl %esi, %esi leaq 0...
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/src/gtest-port.cc
testing::internal::GetArgvs[abi:cxx11]()
::std::vector<std::string> GetArgvs() { #if defined(GTEST_CUSTOM_GET_ARGVS_) // GTEST_CUSTOM_GET_ARGVS_() may return a container of std::string or // ::string. This code converts it to the appropriate type. const auto& custom = GTEST_CUSTOM_GET_ARGVS_(); return ::std::vector<std::string>(custom.begin(), custom....
pushq %rbx movq %rdi, %rbx leaq 0x34d64(%rip), %rsi # 0x41700 callq 0x1f19a movq %rbx, %rax popq %rbx retq
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/src/gtest.cc
testing::internal::ParseInt32(testing::Message const&, char const*, int*)
bool ParseInt32(const Message& src_text, const char* str, int32_t* value) { // Parses the environment variable as a decimal integer. char* end = nullptr; const long long_value = strtol(str, &end, 10); // NOLINT // Has strtol() consumed all characters in the string? if (*end != '\0') { // No - an invalid...
pushq %r15 pushq %r14 pushq %rbx subq $0x40, %rsp movq %rdx, %r14 movq %rdi, %rbx movq %rsi, 0x10(%rsp) leaq 0x38(%rsp), %r15 andq $0x0, (%r15) pushq $0xa popq %rdx movq %rsi, %rdi movq %r15, %rsi callq 0x77f0 movq (%r15), %rcx cmpb $0x0, (%rcx) je 0xcb1a leaq 0x8(%rsp), %r14 movq %r14, %rdi callq 0xff66 movq (%r14), %...
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/src/gtest-port.cc
testing::internal::PrintTo(unsigned __int128, std::ostream*)
void PrintTo(__uint128_t v, ::std::ostream* os) { if (v == 0) { *os << "0"; return; } // Buffer large enough for ceil(log10(2^128))==39 and the null terminator char buf[40]; char* p = buf + sizeof(buf); // Some configurations have a __uint128_t, but no support for built in // division. Do manual...
movq %rdx, %rcx movq %rdi, %rax orq %rsi, %rax je 0xd07b pushq %rbx subq $0x30, %rsp movq %rsi, %r8 leaq 0x27(%rsp), %rsi movb $0x0, (%rsi) pushq $0xa popq %r10 movabsq $0x1999999999999999, %r11 # imm = 0x1999999999999999 movb $0xa, %bl movq %r8, %rax orq %rdi, %rax je 0xd06d movq %r8, %rax xorl %edx, %edx divq %r10 mo...
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/src/gtest-printers.cc
testing::internal::PrintTo(char const*, std::ostream*)
void PrintTo(const char* s, ostream* os) { PrintCStringTo(s, os); }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx testq %rdi, %rdi je 0xd1e1 movq %rdi, %r14 movq %rbx, %rdi movq %r14, %rsi callq 0x73c0 leaq 0x1f8d3(%rip), %rsi # 0x2ca8f movq %rax, %rdi callq 0x74b0 movq %r14, %rdi callq 0x7200 movq %r14, %rdi movq %rax, %rsi movq %rbx, %rdx addq $0x8, %rsp popq %rbx popq %r14 jm...
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/src/gtest-printers.cc
testing::internal::Random::Generate(unsigned int)
uint32_t Random::Generate(uint32_t range) { // These constants are the same as are used in glibc's rand(3). // Use wider types than necessary to prevent unsigned overflow diagnostics. state_ = static_cast<uint32_t>(1103515245ULL * state_ + 12345U) % kMaxRange; GTEST_CHECK_(range > 0) << "Cannot generate a numb...
pushq %r14 pushq %rbx pushq %rax movl %esi, %ebx movq %rdi, %r14 imull $0x41c64e6d, (%rdi), %eax # imm = 0x41C64E6D addl $0x3039, %eax # imm = 0x3039 andl $0x7fffffff, %eax # imm = 0x7FFFFFFF movl %eax, (%rdi) testl %esi, %esi je 0xde5d cmpl $0x80000001, %ebx # imm = 0x80000001 jb 0xdea2 leaq 0x1c...
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/src/gtest.cc
testing::Message::operator<<(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t>> const&)
Message& Message::operator<<(const ::std::wstring& wstr) { internal::StreamWideCharsToMessage(wstr.c_str(), wstr.length(), this); return *this; }
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x20, %rsp movq %rdi, %rbx movq (%rsi), %r15 movq 0x8(%rsi), %r12 xorl %r13d, %r13d movq %rsp, %r14 cmpq %r13, %r12 je 0x10106 cmpl $0x0, (%r15,%r13,4) je 0x100ed leaq (%r15,%r13,4), %rsi movl %r12d, %edx subl %r13d, %edx movq %r14, %rdi callq 0x11fce movq %r...
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/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 AssertionFailure() << "Expected: ("...
pushq %r15 pushq %r14 pushq %rbx subq $0x70, %rsp movq %rdi, %r14 movq %rsi, 0x18(%rsp) movq %rdx, 0x10(%rsp) movq %rcx, 0x8(%rsp) movq %r8, (%rsp) movq %rcx, %rdi movq %r8, %rsi callq 0x12090 testb %al, %al je 0x12267 leaq 0x68(%rsp), %rbx movb $0x0, -0x8(%rbx) andq $0x0, (%rbx) leaq 0x18e98(%rip), %rsi # 0x2b049 ...
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/src/gtest.cc
testing::internal::ReportFailureInUnknownLocation(testing::TestPartResult::Type, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void ReportFailureInUnknownLocation(TestPartResult::Type result_type, const std::string& message) { // This function is a friend of UnitTest and as such has access to // AddTestPartResult. UnitTest::GetInstance()->AddTestPartResult( result_type, nullptr, // No info...
pushq %rbp pushq %r14 pushq %rbx subq $0x30, %rsp movq %rsi, %rbx movl %edi, %ebp callq 0xdf4e leaq 0x18b11(%rip), %rsi # 0x2b674 leaq 0x10(%rsp), %r14 leaq 0xf(%rsp), %rdx movq %r14, %rdi callq 0x1ea7a leaq 0x2eba4(%rip), %rdi # 0x41720 pushq $-0x1 popq %rcx movl %ebp, %esi xorl %edx, %edx movq %rbx, %r8 movq ...
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/src/gtest.cc
testing::Test::HasFatalFailure()
bool Test::HasFatalFailure() { return internal::GetUnitTestImpl()->current_test_result()->HasFatalFailure(); }
pushq %rax callq 0x1eac2 movq 0x170(%rax), %rdi testq %rdi, %rdi je 0x130e7 addq $0x90, %rdi jmp 0x13105 movq 0x168(%rax), %rdi testq %rdi, %rdi je 0x130fc addq $0x88, %rdi jmp 0x13105 addq $0x178, %rax # imm = 0x178 movq %rax, %rdi popq %rax jmp 0x12a20 nop
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/src/gtest.cc
testing::Test::IsSkipped()
bool Test::IsSkipped() { return internal::GetUnitTestImpl()->current_test_result()->Skipped(); }
pushq %rax callq 0x1eac2 movq 0x170(%rax), %rdi testq %rdi, %rdi je 0x13127 addq $0x90, %rdi jmp 0x13145 movq 0x168(%rax), %rdi testq %rdi, %rdi je 0x1313c addq $0x88, %rdi jmp 0x13145 addq $0x178, %rax # imm = 0x178 movq %rax, %rdi popq %rax jmp 0x12996 nop
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/src/gtest.cc
testing::internal::PrettyUnitTestResultPrinter::OnTestCaseStart(testing::TestSuite const&)
void PrettyUnitTestResultPrinter::OnTestCaseStart(const TestCase& test_case) { const std::string counts = FormatCountableNoun(test_case.test_to_run_count(), "test", "tests"); ColoredPrintf(GTestColor::kGreen, "[----------] "); printf("%s from %s", counts.c_str(), test_case.name()); if (test_case.type_para...
pushq %rbx subq $0x20, %rsp movq %rsi, %rbx movq %rsi, %rdi callq 0xfed4 leaq 0x15e24(%rip), %rdx # 0x2a569 leaq 0x1623f(%rip), %rcx # 0x2a98b movq %rsp, %rdi movl %eax, %esi callq 0x147dd leaq 0x16e83(%rip), %rsi # 0x2b5e0 pushq $0x2 popq %rdi xorl %eax, %eax callq 0x140cf movq (%rsp), %rsi movq 0x8(%rbx),...
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/src/gtest.cc
testing::internal::PrintTestPartResult(testing::TestPartResult const&)
static void PrintTestPartResult(const TestPartResult& test_part_result) { const std::string& result = PrintTestPartResultToString(test_part_result); printf("%s\n", result.c_str()); fflush(stdout); // If the test program runs in Visual Studio or a debugger, the // following statements add the test part result ...
pushq %rbx subq $0x20, %rsp movq %rdi, %rsi movq %rsp, %rbx movq %rbx, %rdi callq 0x12f29 movq (%rbx), %rdi callq 0x78d0 movq 0x2c65f(%rip), %rax # 0x40f90 movq (%rax), %rdi callq 0x7620 movq %rbx, %rdi callq 0x7ad8 addq $0x20, %rsp popq %rbx retq nop
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/src/gtest.cc
testing::internal::PrettyUnitTestResultPrinter::PrintFailedTests(testing::UnitTest const&)
void PrettyUnitTestResultPrinter::PrintFailedTests(const UnitTest& unit_test) { const int failed_test_count = unit_test.failed_test_count(); ColoredPrintf(GTestColor::kRed, "[ FAILED ] "); printf("%s, listed below:\n", FormatTestCount(failed_test_count).c_str()); for (int i = 0; i < unit_test.total_test_suit...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rdi, %r14 callq 0x14cfc movl %eax, %ebp leaq 0x16a75(%rip), %rsi # 0x2b642 pushq $0x1 popq %rdi xorl %eax, %eax callq 0x140cf leaq 0x8(%rsp), %rbx movq %rbx, %rdi movl %ebp, 0x4(%rsp) movl %ebp, %esi callq 0x146b3 movq (%rbx), ...
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/src/gtest.cc
testing::internal::BriefUnitTestResultPrinter::OnTestEnd(testing::TestInfo const&)
void BriefUnitTestResultPrinter::OnTestEnd(const TestInfo& test_info) { if (test_info.result()->Failed()) { ColoredPrintf(GTestColor::kRed, "[ FAILED ] "); PrintTestName(test_info.test_suite_name(), test_info.name()); PrintFullTestCommentIfPresent(test_info); if (GTEST_FLAG_GET(print_time)) { ...
pushq %rbx subq $0x30, %rsp movq %rsi, %rbx leaq 0x90(%rsi), %rdi callq 0x129cc testb %al, %al je 0x151b5 leaq 0x16505(%rip), %rsi # 0x2b642 pushq $0x1 popq %rdi xorl %eax, %eax callq 0x140cf movq (%rbx), %rdi movq 0x20(%rbx), %rsi callq 0x213d6 movq %rbx, %rdi callq 0x14a16 leaq 0x2c53f(%rip), %rax # 0x416a1 c...
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/src/gtest.cc
testing::internal::XmlUnitTestResultPrinter::EscapeXml(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool)
std::string XmlUnitTestResultPrinter::EscapeXml(const std::string& str, bool is_attribute) { Message m; for (size_t i = 0; i < str.size(); ++i) { const char ch = str[i]; switch (ch) { case '<': m << "&lt;"; break; case '>': ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movl %edx, %ebp movq %rsi, %r14 movq %rdi, 0x10(%rsp) leaq 0x8(%rsp), %rdi callq 0xff66 xorl %r12d, %r12d leaq 0x1561b(%rip), %rbx # 0x2b75d leaq 0x18(%rsp), %r13 cmpq 0x8(%r14), %r12 jae 0x162a7 movq (%r14), %rax movzbl (%rax,%r12),...
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/src/gtest.cc
testing::internal::XmlUnitTestResultPrinter::RemoveInvalidXmlCharacters(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
std::string XmlUnitTestResultPrinter::RemoveInvalidXmlCharacters( const std::string& str) { std::string output; output.reserve(str.size()); for (std::string::const_iterator it = str.begin(); it != str.end(); ++it) if (IsValidXmlCharacter(static_cast<unsigned char>(*it))) output.push_back(*it); re...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx leaq 0x10(%rdi), %rax movq %rax, (%rdi) andq $0x0, 0x8(%rdi) movq %rsi, %r14 movb $0x0, 0x10(%rdi) movq 0x8(%rsi), %rsi callq 0x78e0 movq (%r14), %rax movl $0x2600, %ebp # imm = 0x2600 movq %rax, %r15 movq 0x8(%r14), %rcx addq %rax, %rcx c...
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/src/gtest.cc
testing::internal::XmlUnitTestResultPrinter::OutputXmlAttribute(std::ostream*, 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&, std::__cxx11::basic_string<char, std::char_traits<char>, std::alloc...
void XmlUnitTestResultPrinter::OutputXmlAttribute( std::ostream* stream, const std::string& element_name, const std::string& name, const std::string& value) { const std::vector<std::string>& allowed_names = GetReservedOutputAttributesForElement(element_name); GTEST_CHECK_(std::find(allowed_names.begi...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x40, %rsp movq %rcx, %rbx movq %rdx, %r14 movq %rsi, %r12 movq %rdi, %r15 leaq 0x28(%rsp), %r13 movq %r13, %rdi callq 0x16ad4 movq (%r13), %rdi movq 0x8(%r13), %rsi movq %r14, %rdx callq 0x27563 cmpq 0x30(%rsp), %rax jne 0x16a24 leaq 0x140cc(%rip), %rdx ...
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/src/gtest.cc
testing::internal::JsonUnitTestResultPrinter::OutputJsonTestInfo(std::ostream*, char const*, testing::TestInfo const&)
void JsonUnitTestResultPrinter::OutputJsonTestInfo(::std::ostream* stream, const char* test_suite_name, const TestInfo& test_info) { const TestResult& result = *test_info.result(); const std::string kTestsuite = "t...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x88, %rsp movq %rdx, %r15 movq %rsi, %r14 movq %rdi, %rbx leaq 0x11774(%rip), %rsi # 0x2b870 leaq 0x68(%rsp), %rdi leaq 0x48(%rsp), %rdx callq 0x1ea7a leaq 0x48(%rsp), %rdi pushq $0xa popq %rsi callq 0x1983f leaq 0x8(%rsp), %rdi pushq $0x8 popq %rsi callq 0x1983f l...
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/src/gtest.cc
testing::internal::OsStackTraceGetter::CurrentStackTrace[abi:cxx11](int, int)
GTEST_LOCK_EXCLUDED_(mutex_) { #ifdef GTEST_HAS_ABSL std::string result; if (max_depth <= 0) { return result; } max_depth = std::min(max_depth, kMaxStackTraceDepth); std::vector<void*> raw_stack(max_depth); // Skips the frames requested by the caller, plus this function. const int raw_stack_size = ...
pushq %rbx subq $0x10, %rsp movq %rdi, %rbx leaq 0x106a1(%rip), %rsi # 0x2b674 leaq 0xf(%rsp), %rdx callq 0x1ea7a movq %rbx, %rax addq $0x10, %rsp popq %rbx retq
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/src/gtest.cc
testing::internal::OsStackTraceGetter::UponLeavingGTest()
GTEST_LOCK_EXCLUDED_(mutex_) { #ifdef GTEST_HAS_ABSL void* caller_frame = nullptr; if (absl::GetStackTrace(&caller_frame, 1, 3) <= 0) { caller_frame = nullptr; } MutexLock lock(&mutex_); caller_frame_ = caller_frame; #endif // GTEST_HAS_ABSL }
retq nop
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/src/gtest.cc
testing::TestEventListeners::SetDefaultResultPrinter(testing::TestEventListener*)
void TestEventListeners::SetDefaultResultPrinter(TestEventListener* listener) { if (default_result_printer_ != listener) { // It is an error to pass this method a listener that is already in the // list. delete Release(default_result_printer_); default_result_printer_ = listener; if (listener != n...
pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx movq 0x8(%rdi), %rsi cmpq %rbx, %rsi je 0x1b097 movq %rdi, %r14 callq 0x1b034 testq %rax, %rax je 0x1b07c movq (%rax), %rcx movq %rax, %rdi callq *0x8(%rcx) movq %rbx, 0x8(%r14) testq %rbx, %rbx je 0x1b097 movq %r14, %rdi movq %rbx, %rsi addq $0x8, %rsp popq %rbx popq %r...
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/src/gtest.cc
testing::UnitTest::Run()
int UnitTest::Run() { #ifdef GTEST_HAS_DEATH_TEST const bool in_death_test_child_process = GTEST_FLAG_GET(internal_run_death_test).length() > 0; // Google Test implements this protocol for catching that a test // program exits before returning control to Google Test: // // 1. Upon start, Google Test ...
pushq %rbx subq $0x20, %rsp movq %rdi, %rbx leaq 0x2635d(%rip), %rax # 0x415d0 cmpq $0x0, 0x8(%rax) je 0x1b27e xorl %esi, %esi jmp 0x1b28d leaq 0x108dd(%rip), %rdi # 0x2bb62 callq 0x7670 movq %rax, %rsi movq %rsp, %rdi callq 0x21580 movq 0x40(%rbx), %rdi leaq 0x26395(%rip), %rax # 0x41635 movb (%rax), %al m...
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/src/gtest.cc
testing::internal::PrintOnOneLine(char const*, int)
static void PrintOnOneLine(const char* str, int max_length) { if (str != nullptr) { for (int i = 0; *str != '\0'; ++str) { if (i >= max_length) { printf("..."); break; } if (*str == '\n') { printf("\\n"); i += 2; } else { printf("%c", *str); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx testq %rdi, %rdi je 0x1c9ed movq %rdi, %rbx leaq 0xf030(%rip), %r14 # 0x2b9df pushq $0x2 popq %rbp pushq $0x1 popq %r15 xorl %r12d, %r12d movsbl (%rbx), %edi testl %edi, %edi je 0x1c9ed cmpl $0xfa, %r12d jae 0x1c9f6 cmpb $0xa, %dil jne 0x1c9dd movq %r14, %rdi ...
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/src/gtest.cc
testing::internal::(anonymous namespace)::FailureTest::FailureTest(testing::internal::CodeLocation const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool)
explicit FailureTest(const CodeLocation& loc, std::string error_message, bool as_error) : loc_(loc), error_message_(std::move(error_message)), as_error_(as_error) {}
pushq %r15 pushq %r14 pushq %rbx movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx callq 0x12a6c leaq 0x23016(%rip), %rax # 0x406a0 movq %rax, (%rbx) leaq 0x10(%rbx), %rdi movq %r15, %rsi callq 0x1f850 leaq 0x38(%rbx), %rdi movq %r14, %rsi callq 0x7720 movb $0x1, 0x58(%rbx) popq %rbx popq %r14 popq %r15 retq movq %ra...
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/src/gtest.cc
testing::TestInfo* testing::RegisterTest<testing::internal::TypeParameterizedTestSuiteRegistry::CheckForInstantiations()::$_0>(char const*, char const*, char const*, char const*, char const*, int, testing::internal::TypeParameterizedTestSuiteRegistry::CheckForInstantiations()::$_0)::FactoryImpl::CreateTest()
Test* CreateTest() override { return factory_(); }
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rdi, %r14 leaq 0x8(%rdi), %r15 pushq $0x60 popq %rdi callq 0x74d0 movq %rax, %rbx movq %rsp, %rdi movq %r15, %rsi callq 0x77b0 addq $0x48, %r14 movq %rsp, %rdx movq %rbx, %rdi movq %r14, %rsi callq 0x1d670 movq %rsp, %rdi callq 0x7ad8 movq %rbx, %rax addq $0x20, %...
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/include/gtest/gtest.h
testing::internal::FormatCxxExceptionMessage[abi:cxx11](char const*, char const*)
static std::string FormatCxxExceptionMessage(const char* description, const char* location) { Message message; if (description != nullptr) { message << "C++ exception with description \"" << description << "\""; } else { message << "Unknown C++ exception"; } ...
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rsi, %r14 movq %rdi, %rbx movq %rsi, 0x18(%rsp) movq %rdx, 0x10(%rsp) leaq 0x8(%rsp), %r15 movq %r15, %rdi callq 0xff66 movq (%r15), %rdi addq $0x10, %rdi testq %r14, %r14 je 0x1d8fc leaq 0xf239(%rip), %rsi # 0x2cb10 callq 0x74b0 leaq 0x8(%rsp), %rdi leaq 0x1...
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/src/gtest.cc
testing::internal::ParseGoogleTestFlag(char const*)
static bool ParseGoogleTestFlag(const char* const arg) { #define GTEST_INTERNAL_PARSE_FLAG(flag_name) \ do { \ auto value = GTEST_FLAG_GET(flag_name); \ if (ParseFlag(arg, #flag_name, &value)) { \ GTEST_FLAG_SET(flag_name, value); \ return true; ...
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rdi, %rbx leaq 0x233ae(%rip), %r14 # 0x41633 movb (%r14), %al movq %rsp, %rdx movb %al, (%rdx) leaq 0xc6e5(%rip), %rsi # 0x2a979 callq 0x1e96a testb %al, %al jne 0x1e2e1 leaq 0x23390(%rip), %r14 # 0x41634 movb (%r14), %al movq %rsp, %rdx movb %al, (%r...
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/src/gtest.cc
testing::Message& testing::Message::operator<<<char [12]>(char const (&) [12])
inline Message& operator<<(const T& val) { // Some libraries overload << for STL containers. These // overloads are defined in the global namespace instead of ::std. // // C++'s symbol lookup rule (i.e. Koenig lookup) says that these // overloads are visible in either the std namespace or the g...
pushq %rbx movq %rdi, %rbx movq (%rdi), %rdi addq $0x10, %rdi callq 0x74b0 movq %rbx, %rax popq %rbx retq nop
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/include/gtest/gtest-message.h
testing::AssertionResult& testing::AssertionResult::operator<<<char [24]>(char const (&) [24])
AssertionResult& operator<<(const T& value) { AppendMessage(Message() << value); return *this; }
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x8(%rsp), %r15 movq %r15, %rdi callq 0xff66 movq (%r15), %rdi addq $0x10, %rdi movq %r14, %rsi callq 0x74b0 leaq 0x8(%rsp), %rsi movq %rbx, %rdi callq 0x2395e movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x1fb32 movq (%rdi), %rax callq ...
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/include/gtest/gtest-assertion-result.h
bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)
Result HandleExceptionsInMethodIfSupported(T* object, Result (T::*method)(), const char* location) { // NOTE: The user code can affect the way in which Google Test handles // exceptions by setting GTEST_FLAG(catch_exceptions), but only before // RUN_ALL_TESTS() starts. I...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rcx, %rbx movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %r14 callq 0x1eac2 addq %r15, %r14 cmpb $0x1, 0x258(%rax) jne 0x2161a testb $0x1, %r12b je 0x21608 movq (%r14), %rax movq -0x1(%rax,%r12), %r12 movq %r14, %rdi callq *%r12 addq $0x28, %rsp popq %rbx p...
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/src/gtest.cc
testing::Matcher<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>::~Matcher()
class GTEST_API_ Matcher<std::string> : public internal::MatcherBase<std::string> { public: Matcher() {} explicit Matcher(const MatcherInterface<const std::string&>* impl) : internal::MatcherBase<std::string>(impl) {} explicit Matcher(const MatcherInterface<std::string>* impl) : internal::Matche...
pushq %rbx movq %rdi, %rbx callq 0x25390 pushq $0x18 popq %rsi movq %rbx, %rdi popq %rbx jmp 0x7500 nop
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/include/gtest/gtest-matchers.h
testing::internal::MatcherBase<std::basic_string_view<char, std::char_traits<char>>>::operator=(testing::internal::MatcherBase<std::basic_string_view<char, std::char_traits<char>>>&&)
MatcherBase& operator=(MatcherBase&& other) { if (this == &other) return *this; Destroy(); vtable_ = other.vtable_; buffer_ = other.buffer_; other.vtable_ = nullptr; return *this; }
pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx cmpq %rsi, %rdi je 0x229be movq %rsi, %r14 movq %rbx, %rdi callq 0x229ca movq 0x8(%r14), %rax movq %rax, 0x8(%rbx) movq 0x10(%r14), %rax movq %rax, 0x10(%rbx) andq $0x0, 0x8(%r14) movq %rbx, %rax addq $0x8, %rsp popq %rbx popq %r14 retq nop
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/include/gtest/gtest-matchers.h
testing::internal::StreamingListener::SocketWriter::CloseConnection()
void CloseConnection() override { GTEST_CHECK_(sockfd_ != -1) << "CloseConnection() can be called only when there is a connection."; close(sockfd_); sockfd_ = -1; }
pushq %rbx subq $0x10, %rsp movq %rdi, %rbx movl 0x8(%rdi), %edi cmpl $-0x1, %edi jne 0x24fde leaq 0x7566(%rip), %rdx # 0x2c503 leaq 0xc(%rsp), %rdi pushq $0x3 popq %rsi movl $0x455, %ecx # imm = 0x455 callq 0xc6c6 movq 0x1c03a(%rip), %rdi # 0x40ff0 leaq 0x773d(%rip), %rsi # 0x2c6fa callq 0x74b...
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/src/gtest-internal-inl.h
testing::internal::UniversalTersePrinter<wchar_t const*>::Print(wchar_t const*, std::ostream*)
static void Print(const wchar_t* str, ::std::ostream* os) { if (str == nullptr) { *os << "NULL"; } else { UniversalPrint(::std::wstring(str), os); } }
pushq %r14 pushq %rbx subq $0x28, %rsp movq %rsi, %rbx testq %rdi, %rdi je 0x252a1 movq %rdi, %rsi leaq 0x8(%rsp), %r14 leaq 0x7(%rsp), %rdx movq %r14, %rdi callq 0x252cc movq %r14, %rdi movq %rbx, %rsi callq 0xd6dd leaq 0x8(%rsp), %rdi callq 0x70c0 addq $0x28, %rsp popq %rbx popq %r14 retq leaq 0x76e6(%rip), %rsi ...
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/include/gtest/gtest-printers.h
testing::Message& testing::Message::operator<<<long>(long const&)
inline Message& operator<<(const T& val) { // Some libraries overload << for STL containers. These // overloads are defined in the global namespace instead of ::std. // // C++'s symbol lookup rule (i.e. Koenig lookup) says that these // overloads are visible in either the std namespace or the g...
pushq %rbx movq %rdi, %rbx movq (%rdi), %rdi addq $0x10, %rdi movq (%rsi), %rsi callq 0x74a0 movq %rbx, %rax popq %rbx retq
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/include/gtest/gtest-message.h
testing::internal::ThreadLocal<testing::TestPartResultReporterInterface*>::GetOrCreateValue() const
T* GetOrCreateValue() const { ThreadLocalValueHolderBase* const holder = static_cast<ThreadLocalValueHolderBase*>(pthread_getspecific(key_)); if (holder != nullptr) { return CheckedDowncastToActualType<ValueHolder>(holder)->pointer(); } ValueHolder* const new_holder = default_factory_->Ma...
pushq %rbp pushq %r14 pushq %rbx subq $0x10, %rsp movq %rdi, %r14 movl (%rdi), %edi callq 0x7890 testq %rax, %rax je 0x26488 movq %rax, %rdi callq 0x2651a movq %rax, %rbx jmp 0x264f5 movq 0x8(%r14), %rdi movq (%rdi), %rax callq *0x10(%rax) movq %rax, %rbx movl (%r14), %edi movq %rax, %rsi callq 0x70f0 testl %eax, %eax ...
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/include/gtest/internal/gtest-port.h
testing::Message& testing::Message::operator<<<double>(double const&)
inline Message& operator<<(const T& val) { // Some libraries overload << for STL containers. These // overloads are defined in the global namespace instead of ::std. // // C++'s symbol lookup rule (i.e. Koenig lookup) says that these // overloads are visible in either the std namespace or the g...
pushq %rbx movq %rdi, %rbx movq (%rdi), %rdi addq $0x10, %rdi movsd (%rsi), %xmm0 callq 0x7940 movq %rbx, %rax popq %rbx retq nop
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/include/gtest/gtest-message.h
testing::internal::FloatingPoint<float>::AlmostEquals(testing::internal::FloatingPoint<float> const&) const
Bits exponent_bits() const { return kExponentBitMask & u_.bits_; }
movl (%rdi), %eax movl %eax, %ecx notl %ecx testl $0x7f800000, %ecx # imm = 0x7F800000 sete %cl testl $0x7fffff, %eax # imm = 0x7FFFFF setne %al testb %al, %cl jne 0x26e56 movl (%rsi), %eax movl %eax, %ecx notl %ecx testl $0x7f800000, %ecx # imm = 0x7F800000 sete %cl testl $0x7fffff, %eax # ...
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/include/gtest/internal/gtest-internal.h
testing::internal::ThreadLocal<std::vector<testing::internal::TraceInfo, std::allocator<testing::internal::TraceInfo>>>::CreateKey()
static pthread_key_t CreateKey() { pthread_key_t key; // When a thread exits, DeleteThreadLocalValue() will be called on // the object managed for that thread. GTEST_CHECK_POSIX_SUCCESS_( pthread_key_create(&key, &DeleteThreadLocalValue)); return key; }
pushq %rbx subq $0x10, %rsp leaq -0x50(%rip), %rsi # 0x28550 leaq 0xc(%rsp), %rdi callq 0x7900 testl %eax, %eax je 0x285ff movl %eax, %ebx leaq 0x3d72(%rip), %rdx # 0x2c329 leaq 0x8(%rsp), %rdi pushq $0x3 popq %rsi movl $0x73b, %ecx # imm = 0x73B callq 0xc6c6 movq 0x18a20(%rip), %rdi # 0x40ff0...
/LLNL[P]camp/extern/blt/thirdparty_builtin/googletest/googletest/include/gtest/internal/gtest-port.h
Util::Angle2RotM(Eigen::Matrix<double, 3, 1, 0, 3, 1>, std::vector<int, std::allocator<int>>)
Eigen::Matrix3d Angle2RotM(Eigen::Vector3d angles, std::vector<int> order){ //initialize matrix Eigen::Matrix3d R = Eigen::Matrix3d::Identity(3,3); for (int ii = 0; ii < 3; ++ii){ //iteration matrix Eigen::Matrix3d R_iter = Eigen::Matrix3d::Identity(3,3); //switch case switch(order[ii]) { c...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xf8, %rsp movq %rdx, %r14 movq %rsi, %r15 movq %rdi, 0x8(%rsp) movabsq $0x3ff0000000000000, %rbp # imm = 0x3FF0000000000000 leaq 0x68(%rsp), %r12 movq %rbp, (%r12) xorps %xmm0, %xmm0 movups %xmm0, 0x8(%r12) andq $0x0, 0x18(%r12) movq %rbp, 0x20(%r...
/coreymarcus[P]OrbitalDetermination/src/project/Util.cc
Util::OrthoNormMat(Eigen::Matrix<double, 3, 3, 0, 3, 3>)
Eigen::Matrix3d OrthoNormMat(Eigen::Matrix3d mat){ //extract columns Eigen::Vector3d x = mat.block(0,0,3,1); Eigen::Vector3d y = mat.block(0,1,3,1); Eigen::Vector3d z = mat.block(0,2,3,1); //error double err = x.dot(y); //orthogonal vectors Eigen::Vector3d x_ort = x - 0.5*err*y; Eigen::Vector3d y_o...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xe8, %rsp movq %rsi, %r15 movq %rdi, %rbx leaq 0x18(%rsp), %r12 movq %rsi, (%r12) pushq $0x3 popq %rbp movq %rbp, 0x8(%r12) pushq $0x1 popq %r14 movq %r14, 0x10(%r12) movq %rsi, 0x18(%r12) xorpd %xmm0, %xmm0 movupd %xmm0, 0x20(%r12) movq %rbp, 0x3...
/coreymarcus[P]OrbitalDetermination/src/project/Util.cc
Util::EigenVec2Std(Eigen::Matrix<double, -1, 1, 0, -1, 1>)
std::vector<double> EigenVec2Std(Eigen::VectorXd vec1){ //locals int n = vec1.size(); std::vector<double> vec2(n,0); //loop for (int ii = 0; ii < n; ++ii){ vec2[ii] = vec1[ii]; } //output return vec2; }
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rsi, %r14 movq %rdi, %rbx movq 0x8(%rsi), %rax movslq %eax, %r15 leaq 0x8(%rsp), %rdx andq $0x0, (%rdx) leaq 0x7(%rsp), %rcx movq %r15, %rsi callq 0x119d0 movq (%rbx), %rax xorl %ecx, %ecx testl %r15d, %r15d cmovlel %ecx, %r15d cmpq %rcx, %r15 je 0xe95e movq (%r14...
/coreymarcus[P]OrbitalDetermination/src/project/Util.cc
Util::StdVec2Eigen(std::vector<double, std::allocator<double>>)
Eigen::VectorXd StdVec2Eigen(std::vector<double> vec1){ //locals int n = vec1.size(); Eigen::VectorXd vec2(n); //loop for (int ii = 0; ii < n; ++ii){ vec2[ii] = vec1[ii]; } //output return vec2; }
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rsi, %rbx movq 0x8(%rsi), %rax subq (%rsi), %rax movq %rdi, %r14 shrq $0x3, %rax leaq 0xc(%rsp), %r15 movl %eax, (%r15) movq %r15, %rsi callq 0x9262 movslq (%r15), %rax movq (%r14), %rcx xorl %edx, %edx cmpq %rax, %rdx jge 0xe9b4 movq (%rbx), %rsi movsd (%rsi,%rdx...
/coreymarcus[P]OrbitalDetermination/src/project/Util.cc
Util::Eigen2csv(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, Eigen::Matrix<double, -1, -1, 0, -1, -1>)
void Eigen2csv(std::string file, Eigen::MatrixXd mat){ //locals int height = mat.rows(); int width = mat.cols(); //open file std::ofstream f; f.open(file); if(!f.is_open()){ std::cout << "Error: Unable to open file!" << std::endl; } //set precision f << std::fixed << std::setprecision(17); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x208, %rsp # imm = 0x208 movq %rsi, %rbx movq %rdi, %r14 movl 0x8(%rsi), %eax movq %rax, (%rsp) movq 0x10(%rsi), %r13 leaq 0x8(%rsp), %r15 movq %r15, %rdi callq 0x4500 pushq $0x10 popq %rdx movq %r15, %rdi movq %r14, %rsi callq 0x4160 l...
/coreymarcus[P]OrbitalDetermination/src/project/Util.cc
Util::GetGravJac(Eigen::Matrix<double, 3, 1, 0, 3, 1>, Eigen::Matrix<double, 3, 1, 0, 3, 1>, double, double, double, double, double, double)
Eigen::MatrixXd GetGravJac(Eigen::Vector3d pos, Eigen::Vector3d vel, double Rearth, double wEarth, double mu, double J2, double J3, double drag_coeff){ //extract locals double x = pos[0]; double y = pos[1]; double z = pos[2]; double v_x = vel[0]; double v_y = vel[1]; double v_z = vel[2]; //initialize ...
pushq %r14 pushq %rbx subq $0x2c8, %rsp # imm = 0x2C8 movaps %xmm5, 0x280(%rsp) movaps %xmm4, 0x10(%rsp) movsd %xmm3, 0x58(%rsp) movsd %xmm2, 0x60(%rsp) movaps %xmm1, 0x260(%rsp) movaps %xmm0, 0x80(%rsp) movq %rdi, %rbx movsd 0x10(%rsi), %xmm0 movaps %xmm0, 0xc0(%rsp) movups (%rsi), %xmm0 movaps %xmm0, 0xd0(...
/coreymarcus[P]OrbitalDetermination/src/project/Util.cc