Category Archives: Uncategorized
Build
Beautiful Work
Linux Kernel Development
Debian Research
apropos . search manuals
commandline session $ 4.2.20 4 207—> apropos “memory management” XtAsprintf (3) – memory management functions XtCalloc (3) – memory management functions XtFree (3) – memory management functions XtMalloc (3) – memory management functions XtNew (3) – memory management functions XtNewString (3) – memory management functions XtRealloc (3) – memory management functions $ 4.2.20 5 208—> …
troubleshooting Part 1
commandline session $ 4.2.20 5 176—> cat program.sh #!/bin/bash # trouble: script to demonstrate common errors number=1 if [ $number = 1 ]; then echo “Number is equal to 1.” else echo “Number is not equal to 1.” fi $ 4.2.20 6 177—> sh program.sh Number is equal to 1. $ 4.2.20 7 178—> Missing …
Debug tools
<div Bug Tracking System available through a web interface Nemiver – Standalone graphical debugger for GNOME D.U.M.A Detect Unintended Memory Access – A Red-Zone memory allocator Valgrind – a memory debugger and profiler electricfence – a malloc debugger gdb – GNU source level debugger ddd – GNU data display debugger strace – a system call …
software bugs .
knowledge drop Bugs due to conceptual error syntactically incorrect program, wrong or inappropriate design or concept employed. Math bugs Division by zero, arithmetic overflow or underflow, lack of arithmetic precision due to rounding etc. Logic bugs infinite loops and infinite recursion. Syntax bugs. Resource bugs Buffer overflow, access violations, usage of an uninitialized variable. Co-programming …
kernel space and user space
Kernel space. Linux (which is a kernel) manages the machine’s hardware in a simple and efficient manner, offering the user a simple and uniform programming interface. In the same way, the kernel, and in particular its device drivers, form a bridge or interface between the end-user/programmer and the hardware. Any subroutines or functions forming part …