Category : analysis

When working on a big project, I would like to know in which header file a particular function is defined. Is there a way to do that for C++ in Ubunt (linux)? Source: Windows Que..

So, I have the work mostly done here, but I can’t seem to figure out how to have the words in the order of how the text files displays it. It just takes the words from the text files, and puts the words in alphabetical order. Text Files are at the bottom of this page. ..

if the following loop structure is under Analysis of Upper bound. Does it still Computes to O(n^2)? I’m confused since inner loop has a dependency on the outer loop and with each outer iteration inner for loop loops one less time. In addition to whatever O(n) is does the time complexity function will be "n!.n+C" ..

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 ..

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 ..

i need to make a program very similar to closest point problem in c++ i aint got an idea from where to start. i need to count the "strength" of every point in an array, where strength is defined as: a point (p_1,p_2) take over a point (q_1,q_2) if p_1 <= q_1 and p_2 <= ..

Are there any C++ static analysis tools that will detect the use of multiple inheritance? I’m familiar with a lot of tools that way (Lint, Prefast, PVS Studio etc) – but does anyone know a tool that will find its use in C++ code. A current project I’m working on requires that we get a ..