C Refresher

What is . and -> || a->b === (*a).b

If you have a variable of a structure, use . to access its elements.

Read More

Linux Shell on Mac?

I was trying to use GCC in combination with GDB. There were some errors, that are still unresolved. The problem was that GDB was unable to use the output that was created. I tried changing from clang to gcc provided by brew install gcc but it did not work out.

Read More

GCC Calling Conventions

Question 1: What is the advantage of using callee and caller-saved registers? Why can’t all the registers be either callee-saved or caller-saved?

Read More

AT&T x86 Assembly

The resources are hard to comprehend and general understand is (in my case at least) being done with a lot of Stack Overflow answers. So, let’s make some notes and consolidate all the learnings together

Read More