[Issue 9243] Order locals to prevent buffer overflow attacks

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9243 Iain Buclaw changed: What|Removed |Added Priority|P2 |P4 --

[Issue 9243] Order locals to prevent buffer overflow attacks

2012-12-30 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9243 --- Comment #5 from bearophile_h...@eml.cc 2012-12-30 03:44:40 PST --- (In reply to comment #4) > The complexity of D has nothing to do with the advanced'ness of the optimizer > and back end. Dmc (which shares a back end with dmd) has had an ad

[Issue 9243] Order locals to prevent buffer overflow attacks

2012-12-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9243 --- Comment #4 from Walter Bright 2012-12-29 21:59:11 PST --- (In reply to comment #3) > (In reply to comment #2) > > > Dmd already does this using graph coloring. I guess dmd is advanced? :-) > > Despite in some cases DMD compiles in a sub-

[Issue 9243] Order locals to prevent buffer overflow attacks

2012-12-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9243 --- Comment #3 from bearophile_h...@eml.cc 2012-12-29 20:33:19 PST --- (In reply to comment #2) > Dmd already does this using graph coloring. I guess dmd is advanced? :-) Despite in some cases DMD compiles in a sub-optimal way compared to LDC/

[Issue 9243] Order locals to prevent buffer overflow attacks

2012-12-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9243 --- Comment #2 from Walter Bright 2012-12-29 18:30:18 PST --- (In reply to comment #1) > (In reply to comment #0) > > but this enhancement has zero cost, so why not? > > Advanced compilers do two things: > - If in a function you have nested s

[Issue 9243] Order locals to prevent buffer overflow attacks

2012-12-29 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9243 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc --- Com