| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente |
| c:accueil [2025/02/11 11:44] – [Afficher la pile d'appels] add script to call addr2line on whole stack phsw | c:accueil [2025/11/05 15:18] (Version actuelle) – [Langage C] add link phsw |
|---|
| * [[https://fuckingfunctionpointers.com/|How Do I Declare a Function Pointer in C?]] | * [[https://fuckingfunctionpointers.com/|How Do I Declare a Function Pointer in C?]] |
| * [[https://embeddedor.com/blog/2024/06/18/how-to-use-the-new-counted_by-attribute-in-c-and-linux/|How to use the new counted_by attribute in C (and Linux)]] | * [[https://embeddedor.com/blog/2024/06/18/how-to-use-the-new-counted_by-attribute-in-c-and-linux/|How to use the new counted_by attribute in C (and Linux)]] |
| | * [[https://github.com/CodeWithHarry/The-Ultimate-C-Programming-Course|The Ultimate C Programming Handbook]] |
| | * [[http://www.graphics.stanford.edu/~seander/bithacks.html|Bit Twiddling Hacks]] |
| | |
| |
| |
| printf("stdin is a file or a pipe\n"); | printf("stdin is a file or a pipe\n"); |
| </code> | </code> |
| | |
| | |
| | ==== _Generic ==== |
| | |
| | * [[https://www.chiark.greenend.org.uk/~sgtatham/quasiblog/c11-generic/|Workarounds for C11 _Generic]] |
| | * [[https://medium.com/@pauljlucas/generic-in-c-d7ab47e3b5ab|_Generic in C]] |
| | * [[https://en.cppreference.com/w/c/language/generic.html|Generic selection (since C11)]] |
| | * [[http://www.robertgamble.net/2012/01/c11-generic-selections.html|C11 - Generic Selections]] |
| |
| |
| |
| * [[https://blog.malicious.group/inline-assembly/|Inline Assembly]] | * [[https://blog.malicious.group/inline-assembly/|Inline Assembly]] |
| | * [[https://s-mazigh.github.io/ASMx86_64/index.html|ASM x86_64]] |
| | * https://diveintosystems.org/book/C7-x86_64/index.html |
| | * [[https://yuriygeorgiev.com/2024/02/19/x86-64-cpu-architecture-the-stack/|x86/x64 CPU architecture: the stack & stack frames]] |
| | * [[https://cs.brown.edu/courses/cs033/docs/guides/x64_cheatsheet.pdf|x64 Cheat Sheet]] |
| |
| |
| |
| * [[https://stackoverflow.com/questions/32523898/c-reading-non-ascii-characters|c reading non ASCII characters]] | * [[https://stackoverflow.com/questions/32523898/c-reading-non-ascii-characters|c reading non ASCII characters]] |
| | |
| | |
| | ==== Fichiers de suppressions pour sanitizers ==== |
| | |
| | * [[https://github.com/google/sanitizers/wiki/AddressSanitizerLeakSanitizer#suppressions]] |
| | |
| | Dans un fichier ''asan.supp'' : |
| | <code> |
| | leak:libdbus-1.so |
| | </code> |
| | |
| | <code bash> |
| | LSAN_OPTIONS=suppressions=asan.supp,print_suppressions=0 ./programme |
| | </code> |