Skip to content

Instantly share code, notes, and snippets.

View isacdaavid's full-sized avatar

Isaac David isacdaavid

View GitHub Profile
# CCExtractor Sample Exercise No. 2 for GSoC 2016:
# Dealing with compiler warning messages
$ uname -srvm
Linux 4.4.2-gnu-1 #1 SMP PREEMPT Sat Feb 20 10:58:02 UYT 2016 x86_64
$ gcc --version
gcc (GCC) 5.3.0
### linux/build ###
# CCExtractor Sample Exercise No. 1 for GSoC 2016:
# Find all functions in CCExtractor.
#!/bin/sh
SRCDIR="../ccextractor/src/"
types="(const|volatile|restrict|atomic|_Atomic|static|extern|inline|signed|unsigned|void|char|short|int|long|float|double|bool|_Bool|size_t|ssize_t|ptrdiff_t|([u]?int(_least|_fast|ptr|max)?[0-9]+_t))+"
identifiers="([[:alnum:]]|_)+"