LADSoft / OrangeC

OrangeC Compiler And Tool Chain
http://ladsoft.tripod.com/orange_c_compiler.html
Other
284 stars 39 forks source link

OCC help output shows `-fstack-protect` instead of `-fstack-protector` #952

Closed johnsonjh closed 10 months ago

johnsonjh commented 10 months ago
Stack Protection:
  -fstack-protect                  - abort if a function with a buffer >= 8 bytes overwrites the return address
  -fstack-protect-all              - abort if any function in the compilation sequence overwrites the return address
  -fstack-protect-strong           - abort if a function with an array or address taken overwrites the return address
  -fstack-protect-explicit         - abort if a function attributed with 'stack_protect' overwrites the return address
  -fruntime-object-overflow        - abort if a buffer overflows
  -fruntime-uninitialized-variable - abort if an uninitialized variable is used
  -fruntime-heap-check             - abort if there is a buffer overflow in a heap variable
LADSoft commented 10 months ago

thanks! will be fixed in next push.