I have been wrestling with a persistent segmentation fault in a multi-threaded C++ program running on a cluster of AMD Barcelona CPUs Linux/x86_64. The code causing the crashes is a […]
I am trying to install ia32-libs on my Debian 12 system to run a 32-bit application. I’ve tried the following commands: sudo dpkg –add-architecture i386 sudo apt update sudo apt […]
I’m trying to use the LD_PRELOAD to inject my custom function in a program. I’ve compiled a shared library `getpid.so` having a modified getpid function that prints a message: #include […]
Why will there be issues while trying to build the Boot to Gecko (B2G) project on my x86-64 Ubuntu 12.10 system. The Gecko build fails when attempting to link `librt`, […]
I’m to instrument GCC and Gcov to collect execution sequence information. While my approach works well for **c** programs on `x86` and `x86_64`, I’m encountering a segmentation fault when attempting […]
I am debugging a program on an `x86-64` system `Ubuntu 22.04` `GDB v10.2` `GCC 11.2.0` using `GDB` and encountered an unexpected behavior. I was inspecting the value of the `rbx` […]
I’m working on a network server application in assembly language so I can understand low level networking concepts. So I’ve implemented a socket server using assembly language system calls, but […]
I’ve written a test program using AT&T syntax for use with GNU assembler. The program is supposed to print the value `1` using printf.
I started a C++ library for efficient matrix operations, with a primary focus on matrix multiplication. The target application is scientific computing, of course performance is critical. I implemented a […]