Category : analysis

for example what are your techniques for breaking down a C/C++ program like: https://github.com/arvidn/libtorrent (obviously this is a complex program just an example) What are your usual techniques for understanding open source software, extracting useful samples of code and understand them to a point you can use them in your own projects. I’m sorry if ..

Read more

How to get a list of all Windows function Names, called from my C/C++ codebase. (From IO CreateFile to GDI+) Nice to also get functions called dynamically from GetProcAddress. For example – void main() { myClass obj; obj.method(); HANDLE file = CreateFile(L"hello_there.txt", GENERIC_WRITE, 0, NULL, CREATE_NEW, FILE_ATTRIBUTE_NORMAL, NULL); MyFuncProcess(file); WriteFile(file, L"general kenobi", 15, &written, NULL); ..

Read more

I’m attempting to use Sourcetrail (https://www.sourcetrail.com/) to quickly get into some old embedded c/c++ source code for the pic18 series of microcontrollers. I get errors when importing the hardware include files, which uses an exotic method to define the hardware address of the bit addressable hardware registers, such as the below from pic18f26k22.h. typedef union ..

Read more

I had to write code for a function that uses a loop to compute the sum of all integers from 1 to n. I also need to do a time analysis, counting each basic operation (such as assignment and ++) as one operation. I need help with understanding how to count each basic operation. Is ..

Read more