C

1. C   c

properties ID: 5479d877-2bd1-41d9-8409-1ff0436fcc59
edges

C reference - cppreference.com
<< Objective-C
-> GCC
-> LLVM


C23 - cppreference.com

// gcc -O0 -g hello.c
#include <stdio.h>

int main(int argc, char* argv[])
{
    printf("hello\n");

    return 0;
}

1.1. Syntax

properties ID: 0157d160-7eeb-4e01-ab69-43000e09cc3c
CREATED: <2026-04-24 Fri 12:06>
edges

Lexical Syntax (GNU C Language Manual)


1.1.1. Statements

properties ID: 9132ff22-4c85-4aed-ab5c-1bd777648927
CREATED: <2026-04-24 Fri 12:04>
edges

Statements (GNU C Language Manual)


A statement specifies computations to be done for effect; it does not produce a value, as an expression would. In general a statement ends with a semicolon (‘;’), but blocks (which are statements, more or less) are an exception to that rule.

  1. Duff's Device
    properties ID: f9a7443a-a362-4d47-b3d3-045fdd6c3c57
    CREATED: <2026-04-24 Fri 12:06>
    edges

    Duff's device - Wikipedia


1.1.2. Preprocessor

properties ID: 6c5a4df9-612c-4591-bfe9-7904cc03fb4c
CREATED: <2026-04-24 Fri 12:08>
edges

Preprocessing (GNU C Language Manual)


  1. Macros
    properties ID: 93cddd0e-4189-4e78-a0e5-b3ceaf6b7d6e
    CREATED: <2025-03-07 Fri 18:44>

    The C preprocessor is unhygienic (good) and fairly simple (at least compared to C)

1.1.3. Types

properties ID: 3aa8b635-2c81-4992-8e65-fb2b0dee7b06
CREATED: <2025-09-29 Mon 17:58>
edges

wiki


1.2. libc

properties ID: d77ecb14-ecd4-4432-af2e-f431bf9ea18b
CREATED: <2025-03-07 Fri 12:32>
edges

info


1.2.1. glibc

properties ID: 1770afe7-1224-486b-bd35-2c24bb526ba7
CREATED: <2025-04-06 Sun 17:47>
edges

home


The GNU C Library

  1. malloc
    properties ID: e9bb191e-5226-4bff-b2ea-94716dac48e7
    CREATED: <2025-04-06 Sun 17:50>
    edges

    Understanding glibc malloc - sploitF-U-N


1.2.2. nostd

properties ID: c7e3f469-f1c9-4b9f-a104-72ae91abab21
CREATED: <2025-03-07 Fri 12:33>
edges

Writing C software without the standard library


Information about compiling without libc.

  • compile with gcc -nostdlib -m64 (64-bit)
// Tell the compiler incoming stack alignment is not RSP%16==8 or ESP%16==12
__attribute__((force_align_arg_pointer))
void _start() {
  /* call main(), etc */

  /* exit system call */
  // 32-bit
  // asm("movl $1,%eax;xorl %ebx,%ebx;int  $0x80");
  // 64-bit
  asm("mov rax,60; mov rdi,0; syscall");
  __builtin_unreachable();  // tell the compiler to make sure side effects are done before the asm statement
}

1.2.3. avr-libc

properties ID: 75819bf7-326d-49e1-8a4b-b93e1336b7db
CREATED: <2025-08-08 Fri 22:15>
edges

src
AVR-LibC
-> AVR
<- avrforth
<- flashforth


1.3. Articles

properties ID: ffb7ba79-a805-43b3-b304-0575005e19e1
CREATED: <2025-04-11 Fri 21:28>

1.4. Libraries

properties ID: b0ff5843-38de-4bd9-800a-728391dafc02
CREATED: <2025-03-07 Fri 12:32>

1.4.1. libjpeg-turbo

properties ID: e25fd7f1-8387-4572-8cee-f2da0183d5e2
CREATED: <2025-07-18 Fri 23:43>
edges

home
-> JPEG


1.4.2. LAPACKE

properties ID: 7f29ca19-b76c-40c0-981c-41c4034ecf4c
CREATED: <2025-05-08 Thu 20:22>

Part of LAPACK

1.4.3. libarchive

properties ID: 8abf5410-165d-43c5-a37b-fb9be29f227e
CREATED: <2026-05-04 Mon 19:44>
edges

home


C library and command-line tools for reading and writing tar, cpio, zip, ISO, and other archive formats.

1.4.4. libcrypto

properties ID: ea07b1ac-7e78-48be-a192-41b52a08002b
CREATED: <2025-09-19 Fri 21:06>
edges

– [BROKEN LINK: github:openssl/openssl]
opensslwiki


  1. aws-lc
    properties ID: 6e354901-1b1d-43f3-b299-1fc8c67aa45a
    CREATED: <2025-09-19 Fri 21:08>
    edges

    – [BROKEN LINK: github:aws/aws-lc]


2. CPP   cpp

properties ID: be1c5802-61bd-4b32-9566-03cef321236e
edges

ref


2.1. Libraries

properties ID: ad099ae1-d55f-49f4-99c7-de92ced85488
CREATED: <2025-03-02 Sun 20:45>

2.1.1. Boost

properties ID: 2b62b530-80c0-4a78-828e-509ac78dbfd9
CREATED: <2025-03-02 Sun 20:45>
edges

home


2.1.2. Adaptagrams   graph

properties ID: d7c12344-b1ae-4bf2-a620-bc99f8e71e29
CREATED: <2025-03-02 Sun 20:45>
edges

home


2.1.3. NaCl

properties ID: f4bfdb27-161d-4b47-b417-55ac4eeff234
CREATED: <2025-03-03 Mon 15:01>
edges

home
secretbox


2.2. CUDA   nvidia gpu

properties ID: a531e912-55ab-4889-806f-475c0316713e
CREATED: <2025-03-02 Sun 21:29>
edges

CUDA Toolkit Documentation 12.8
-> NVCC
>> NVIDIA


3. Objective-C

properties ID: 3021fa48-a98a-471f-896c-db237e97192b
CREATED: <2025-03-03 Mon 20:10>
edges

About Objective-C
>> C
-> Apple