Still, I wonder if GCC is the best tool for this visualisation. Shouldn't it be in the realm of GDB, Valgrind, or other debuggers?
GCC 14 Boasts Nice ASCII Art for Visualizing Buffer Overflows
31–40 of 54 posts
Glad GCC is moving into the direction of human-readable parsing! Back in my day (like 15 years ago) any error would return a stack of unreadable template expansions.
Re: GCC 14 Boasts Nice ASCII Art for Visualizing Buffer Overflows
#32I was just thinking that our core tools don't have enough indecipherable punctuation.
Re: GCC 14 Boasts Nice ASCII Art for Visualizing Buffer Overflows
#33That's not ASCII, but it does look like a nice improvement.
I actually like the use of the warning sign emoji too.
Re: GCC 14 Boasts Nice ASCII Art for Visualizing Buffer Overflows
#34[flagged]
I wonder why Phoronix enabled such levels of protection? All I can think of is that their forum is pretty toxic. But surely nobody would DDoS phoronix.com just because they were insulted for liking Wayland or, god forbid, Windows.
Re: GCC 14 Boasts Nice ASCII Art for Visualizing Buffer Overflows
#35[flagged]
I didn't have any of that. Just a modal saying to please disable my adblocker. I'm using ublock origin and privacy badger in firefox.
Re: GCC 14 Boasts Nice ASCII Art for Visualizing Buffer Overflows
#36Glad GCC is moving into the direction of human-readable parsing! Back in my day (like 15 years ago) any error would return a stack of unreadable template expansions. Still, I wonder if GCC is the best tool for this visualisation. Shouldn't it be in the realm of GDB, Valgrind, or other debuggers?
Yes, a big warning during compilation is thousand times better than getting it during debugging and profiling. Because everybody must compile, but few people use GDB, and even fewer people use Valgrind.
Re: GCC 14 Boasts Nice ASCII Art for Visualizing Buffer Overflows
#37[flagged]
[deleted]
Re: GCC 14 Boasts Nice ASCII Art for Visualizing Buffer Overflows
#38[deleted]
Re: GCC 14 Boasts Nice ASCII Art for Visualizing Buffer Overflows
#39That's not ASCII, but it does look like a nice improvement. I actually like the use of the warning sign emoji too.
You can pass -fdiagnostics-text-art-charset=[none|ascii|unicode|emoji] if you want real ASCII.
Re: GCC 14 Boasts Nice ASCII Art for Visualizing Buffer Overflows
#40That's not ASCII, but it does look like a nice improvement. I actually like the use of the warning sign emoji too.
ASCII Art refers to the style of the art.
Similar to “8-bit” art (which may be in a 24-bit colour space)