Roxifλsz 🇱🇹
Mark
asan/tsan/lsan change program's behaviour lil bit
Mark
so it might work okay with *san compiled in
Mark
i've had few cases
Mark
but then running your program with certain *san-related environment variables makes checks more aggressive
Mark
of course there are more flags you should use when you want to utilize *san
Mark
i have this in my CMakeLists.txt:
Mark
Mark
well, most of that screenshot is garbage, but -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls are supposed to make asan work better and report more precise errors
Mark
if i read documentation correctly
Mark
kys
Mark
3) msgpack sucks
... well i wrote my own protocol from scratch;
Mark
why
Mark
just a simple thing packing few integers and length-prefixed string arrays together
Mark
you can implement it yourself
Morgan
Just send
Mark
still, why? xd
Box of
Should he also send bobs and vegana?
Morgan
Mark
ok cool, l33t h3xx0rr
Morgan
What's that
Morgan
ok cool, l33t h3xx0rr
After the comma
Mark
After the comma
try harder :^)
Morgan
Oooh with the matrix??
Mark
ye man even i can't do that
Mat
5200U
Brother!
Mark
🤜
Mat
Workstations for everyone lmao
I'm in! Where can i apply myself?
Mark
well in reality you first need to apply for a job somewhere
Mark
also uhhh
Mark
what y'all use for unit testing in C projects?
Mark
bunch of syntax errors
Box of
Remove & from scanf
Box of
And fix last printf
Mark
potential buffer overflow as well
Mark
well as long as you keep your input less than 8 characters then it's ok lol
Box of
And fix table definition
Box of
Remove # before int main
Mark
i assumed windows, so \r\n and not sure if scanf added \0 or not
Mark
it should add 🤔
Box of
It doesn't
Box of
It also doesn't add \n
Mark
okay
Box of
He defined it with %s not %c
Mark
i've never found a use for *scanf anyway, i've done stuff with readline
Box of
It's pretty useful when you want to read string without new line character :p
Box of
And it adds \0
Mark
\0 is obvious, because strings should almost always end with \0
Mat
Is it a programme you've written?
Anonymous
anybody?
Mat
anybody?
Welcome!
Anonymous
thanks
Anonymous
Do you have any books to recommend ?
Box of
/saved
Mark
#noendl
Mark
#ide
Mark
#ot
Anonymous
#cppbook
Mark
ah damn, clion is the least used ide
Mark
F
Anonymous
😂😂
Anonymous
How long have you been learning c/c++
Ибраги́м
u stands for ultraslow
Mocking Intel will get you banned sire
Mark
oof
Mark
... wait
Mark
banned from where?
Mark
using intel cpus?
Mark
xd
Ибраги́м
Btw, our 8th gen U is dual core on i5
Mark
using intel cpus?
i imagine black screen with white text in the middle saying "you're banned from using intel hardware" very clearly yep :D
Box of
2nd gen U is 4 core on R5
Mark
intel me can read memory so they might know that i wrote this
Box of
AyyMD
Mark
👀
Ибраги́м