Or how to look cooler with htop Htop is a popular command-line tools for monitoring processes. It has some features that seem to be rarely used but could help you with process management or at least make your terminal look cooler. Help If you’ve ever wondered what do those weird colors on CPU and memory […]
Tag: macos
Simple assembly program on MacOS
While going through shellcoding course on Pantester Academy I though I would like to check how the code in the course would look like on MacOS. On Linux this was pretty straightforward: Set one syscall (mov rax, 1), to write to standard output (mov rdi, 1), enter hello_world string, enter its length, call, set another […]
How do libraries work? Part 2
In the previous part we’ve taken a quick look on how to create a dynamic library in MacOS system that would be used as dependent library. While this approach is really straightforward, and has all the advantages of the dynamic loading (smaller binary file size, ability to patch library without the need to recompile entire […]
How do libraries work? Part 1.
I’ve been always wondering what happens, step by step when I use static or dynamic libraries and how can I actually use them. This very first blog post is about writing and including a dynamic library in MacOS system. Linux and Windows are coming soon. I will be mostly focusing on programming part, however, to […]