Skip to content

Instantly share code, notes, and snippets.

@yulvil
Last active November 16, 2017 17:29
Show Gist options
  • Select an option

  • Save yulvil/e656eb048e06d389c7549ecc8ab9737f to your computer and use it in GitHub Desktop.

Select an option

Save yulvil/e656eb048e06d389c7549ecc8ab9737f to your computer and use it in GitHub Desktop.
c2go scratchpad

GO AST

CLANG AST

Projects (single file):

Collections:

Projects (multi file):

Weird edge cases

csmith

csmith -o main.c \
--no-argc \
--no-arrays \
--no-bitfields \
--no-checksum \
--no-comma-operators \
--no-compound-assignment \
--no-consts \
--divs \
--no-embedded-assigns \
--no-pre-incr-operator \
--no-pre-decr-operator \
--no-post-incr-operator \
--no-post-decr-operator \
--no-unary-plus-operator \
--no-jumps \
--longlong \
--float \
--main \
--math64 \
--no-inline-function \
--max-array-dim 1 \
--max-pointer-depth 1 \
--no-safe-math \
--no-packed-struct \
--no-unions \
--no-volatiles \
--no-volatile-pointers \
--no-const-pointers \
--no-builtins \
--max-nested-struct-level 0 \
--no-dangling-global-pointers \
--no-return-dead-pointer \
--max-struct-nested-level 1 \
--strict-float \
--no-int8 \
--no-uint8

sqlite3.go warnings

  • 2017-11-11 20,422 warnings PR and Travis Fixed unary not for pointers
  • 2017-11-16 20,186 warnings PR and Travis
  • 2017-11-16 20,186 warnings PR and Travis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment