This story is about a bug generated by g++ and clang compilers (at least)
The condition_variables is a feature on the standard library of c++ (libstdc++), when its compiled statically a weird asm code is generated.
Any example on the link below will crash if its compiled statically:
https://en.cppreference.com/w/cpp/thread/condition_variable
If this program is compiled dynamically the crash doesn't occur:
Looking the dissasembly there is a surprise created by the compiler:
Compilers:
g++ 9.2.1+20200130-2
clang++ v9
Both compilers are generating the "call 0x00"
If we check this call in a dynamic compiled:
The implementation of condition_variable in github:
https://github.com/gcc-mirror/gcc/blob/b7c9bd36eaacac42631b882dc67a6f0db94de21c/libstdc%2B%2B-v3/include/std/condition_variable
The compilers can't copile well this code in static, and same happens on other condition_variable methods.
I would say the _lock is being assembled improperly in static, is not exacly a null pointer derreference but the effects are the same, executing code at address 0x00 which on linux is a crash on most of cases.
Related links
- Pentest Tools Find Subdomains
- Nsa Hack Tools
- Pentest Automation Tools
- Install Pentest Tools Ubuntu
- Pentest Tools Nmap
- Growth Hacker Tools
- Top Pentest Tools
- Hack And Tools
- Beginner Hacker Tools
- Hacker Tools Hardware
- Blackhat Hacker Tools
- Pentest Tools Website
- Pentest Tools Alternative
- Hack Tool Apk No Root
- Termux Hacking Tools 2019
- Hacker Hardware Tools
- Pentest Tools Linux
- Pentest Tools Download
- Hacking Tools For Windows Free Download
- How To Make Hacking Tools
- How To Make Hacking Tools
- Hackrf Tools
- Best Hacking Tools 2020
- Hacker Tools For Mac
- Hacker Tools Free
- Hacker Tools Apk Download
- Hacker Tools Apk
- Growth Hacker Tools
- Kik Hack Tools
- Hacker Tools
- New Hacker Tools
- Hacking Tools Free Download
- Hacker Tools Mac
- Hacking Tools Name
- Black Hat Hacker Tools
- Hacking Tools Name
- Pentest Tools For Mac
- Hacking Tools Hardware
- Tools For Hacker
- Hack Tools For Ubuntu
- Hackrf Tools
- Android Hack Tools Github
- Pentest Tools Website
- Github Hacking Tools
- Hacking Tools Software
- Kik Hack Tools
- Hacking Tools For Kali Linux
- Pentest Tools Bluekeep
- Pentest Tools Online
- Nsa Hack Tools
- Hacker Tools Windows
- Hacking Tools 2019
- Hack Tools Online
- Tools 4 Hack
- Pentest Tools Download
- Hack Apps
- Hack And Tools
- Hacking Tools Hardware
- Hacker
- How To Install Pentest Tools In Ubuntu
- Top Pentest Tools
- Tools Used For Hacking
- Hacker Techniques Tools And Incident Handling
- New Hacker Tools
- Pentest Tools Linux
- Hacker Tools Mac
- Hacker Tools For Windows
- Nsa Hacker Tools
- Hacking Tools Pc
- Hacker Tools
- Hacking Tools Software
- Pentest Tools Bluekeep
- Easy Hack Tools
- Hacking Tools 2020
- Pentest Tools Review
- Hacking Tools Download
- Pentest Tools Linux
- Pentest Recon Tools
- Growth Hacker Tools
- Pentest Tools Port Scanner
- Pentest Tools Download
- Pentest Tools Alternative
- Hacker Tool Kit
- Nsa Hack Tools
- Github Hacking Tools
- New Hack Tools
- Termux Hacking Tools 2019
- Pentest Tools Github
- Hacker Tools Apk
- Pentest Tools Apk
- Pentest Tools Port Scanner
- Hacking Tools Name
- Pentest Tools Kali Linux
- What Are Hacking Tools
- Hack Website Online Tool
- Pentest Tools Online
- Hack Tools For Pc
- Best Hacking Tools 2020
- Hack Tool Apk
- Pentest Tools For Android
- Blackhat Hacker Tools
- Hacker Tools
- Hacking Tools Github
- Pentest Tools Url Fuzzer
- How To Hack
- Hacker Tools Free Download
- Pentest Tools Kali Linux
- Ethical Hacker Tools
- Install Pentest Tools Ubuntu
- Pentest Tools For Windows
- Beginner Hacker Tools
- Hack Website Online Tool
- Pentest Tools Port Scanner
- Hacker Tools Apk
- Hacking Tools 2019
- Hacking Tools For Beginners
- Hacker
- Hacker Tools Apk Download
- Hacking Tools Download
- Hacking Tools For Windows Free Download
- Hacker Tools Online
- Hacker Techniques Tools And Incident Handling
- Hacker Security Tools
- Hacking Tools Pc
- Blackhat Hacker Tools
- Hacking Tools For Games
- Hacking Tools
- Hacker Tools Free Download
- How To Make Hacking Tools
- Pentest Tools For Mac
- Hack Tool Apk
- Pentest Tools Review
- Hacker Tools For Mac
- Hacking Tools For Beginners
- Hacking Tools For Kali Linux
- Hacking Tools Usb
- Hack Apps
- Pentest Reporting Tools