Category : analysis

How come the time complexity of this for loop is n+1? I understand that the big o notation of this for loop is O(n), but I’m confused on why it’s n+1 specifically. for(int i = 0; i < n; i++) Also, would the time complexity of this for loop be n + 2? (int i ..

Read more

I am new to LLVM and C++ and was trying to write some code to perform static analysis. My static analysis needs access to memory dependence info, which in LLVM can be obtained using MemoryDependenceAnalysis. This analysis generates an object of type MemoryDependenceResults, which is precisely what I need. The only ways I’ve seen this ..

Read more

Hi I have a problme please. When I try to compile a binary analysis tool that uses the bfd library with this command: g++ -std=c++11 -o loader_demo loader_demo.cc loader.o -lbfd (I have compiled earlier the loader.o and it was successful) but with the command that I provided above I have this error: C:/Strawberry/c/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/Strawberry/c/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../lib/libbfd.a(archures.o):archures.c:(.rdata$.refptr._sch_istable[.refptr._sch_istable]+0x0): undefined ..

Read more