---
title: "Discussion on \"Top 5 Compiler Flags to Prevent Stack-Based Attacks\" | Hashnode"
description: "Discussion on \"Top 5 Compiler Flags to Prevent Stack-Based Attacks\". Stack-based attacks have been a persistent threat in software development, primarily because the stack's predictable behavior makes it a prime target for exploitation. Attackers often manipulate stack memory to execute malicious code, disrupt program..."
url: "https://hashnode.com/posts/top-5-compiler-flags-to-prevent-stack-based-attacks/6751988690492636661d4a5c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Top 5 Compiler Flags to Prevent Stack-Based Attacks](https://blog.bytehackr.in/top-5-compiler-flags-to-prevent-stack-based-attacks?utm_source=hashnode&utm_medium=feed)

Stack-based attacks have been a persistent threat in software development, primarily because the stack's predictable behavior makes it a prime target for exploitation. Attackers often manipulate stack memory to execute malicious code, disrupt program...

Dec 5, 2024 · 5 min read · blog.bytehackr.in  
Read the article

-   [#security](https://hashnode.com/tag/security)
-   [#cpp](https://hashnode.com/tag/cpp)
-   [#hacking](https://hashnode.com/tag/hacking)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)

## Written by

[Sandipan Roy](https://hashnode.com/@bytehackr)

@bytehackr · Kolkata, India

  
[View profile](https://hashnode.com/@bytehackr)

Product Security Engineer at Red Hat

Sandipan Roy is a Product Security Engineer working for the Red Hat Product Security Team with a demonstrated history of working in Incident Response, Code Review, and Vulnerability Analysis. Also, he has contributed to many Open Source Projects and also actively maintains a few packages for the Fedora Project. As a Red Hatter applying his technical experience, he guides customers in adopting the best security practices &amp; technologies and helps to raise global awareness about Red Hat Product Security.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
