Post AjOpIC0wbOIKfavMcS by [email protected] | |
More posts by [email protected] | |
Post #AjOpIC0wbOIKfavMcS by [email protected] | |
0 likes, 1 repeats | |
1) Write binary literals with a 0b prefix: uint8_t bin_val = 0b10101010; 2)… | |
Post #AjOqQDC2CdVob4V15U by [email protected] | |
0 likes, 1 repeats | |
@lcamtuf the minimum C standard version for each of the features mentioned? | |
Post #AjOrBt6EDJGsB4W7Qu by [email protected] | |
0 likes, 0 repeats | |
@lcamtuf Non-const array size:void foo( size_t nn ){ char buff[ nn ]; . . .} | |
Post #AjOrBtCxoGeuVxfUvo by [email protected] | |
0 likes, 1 repeats | |
@ste Ah, yep. I'm always nervous about this because you never know when an … | |
Post #AjOrP34KSWbYrTu7lI by [email protected] | |
0 likes, 1 repeats | |
@infosecdj Not all of these are standard, but they've been supported by cla… | |
Post #AjOrVYfprj3ucVYGfo by [email protected] | |
0 likes, 1 repeats | |
@lcamtuf #embed is tremendously useful: const char sound[] = { #embed <a… | |
Post #AjOrVYnHQ316zb2DHE by [email protected] | |
0 likes, 1 repeats | |
@muvlon Ah yeah! This one is a game-changer. But yeah, it's too new to be u… | |
Post #AjOtwYfsAfpQLhZUVE by [email protected] | |
0 likes, 1 repeats | |
@lcamtuf asm(".incbin <file>") is pretty cool, better than incl… | |
Post #AjOuLWL9zD3SLjmo8O by [email protected] | |
0 likes, 1 repeats | |
@lcamtuf oslo struct { const char* const i; const char* const j; } static const… | |
Post #AjOz3ce8IksOSvwg0O by [email protected] | |
0 likes, 1 repeats | |
@lcamtuf you can define functions inside other functions, which makes them lexi… | |
Post #AjP0bPR21kFLI8UZcm by [email protected] | |
0 likes, 1 repeats | |
@lcamtuf If an int or such isn’t enough, a function can return struct. |