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.
More info
- Pentest Tools Linux
- Hack Tools For Games
- Pentest Tools Website Vulnerability
- Kik Hack Tools
- Hack Tools
- Hacker Tools 2020
- Pentest Tools Online
- Physical Pentest Tools
- New Hack Tools
- Hack Tools Pc
- Pentest Tools For Mac
- Top Pentest Tools
- Hacker Tools For Ios
- Hacking Tools For Windows Free Download
- Pentest Tools Review
- Hack Tools For Windows
- Wifi Hacker Tools For Windows
- Hack Tool Apk
- Pentest Tools Free
- Best Pentesting Tools 2018
- Hacker Tools Free
- Install Pentest Tools Ubuntu
- Pentest Tools Alternative
- Hacker Tools Windows
- Hacking Tools Download
- Pentest Tools Website Vulnerability
- Hacker Security Tools
- Github Hacking Tools
- Easy Hack Tools
- Kik Hack Tools
- Hacking Tools 2020
- How To Make Hacking Tools
- Hacking Tools Online
- Pentest Tools Website Vulnerability
- Hack Tools For Windows
- Hacker Tools
- Hacking Tools Windows
- Game Hacking
- Nsa Hacker Tools
- Computer Hacker
- Hacker Tools Linux
- Hack Tools Mac
- Hacker Tools Mac
- Ethical Hacker Tools
- Hacker Tools Free Download
- Hack Tools For Pc
- Nsa Hack Tools Download
- Tools 4 Hack
- Usb Pentest Tools
- Hacker Tools Free Download
- Hacker Security Tools
- Computer Hacker
- Pentest Tools Download
- Hacking Tools Name
- Hacking Tools For Mac
- Hack Apps
- Hacking Tools For Windows Free Download
- Best Hacking Tools 2019
- Hacker Hardware Tools
- Pentest Tools Website
- Hack Tools Online
- Physical Pentest Tools
- Hacking Tools For Beginners
- Best Pentesting Tools 2018
- Hack Tools Github
- Pentest Tools
- Hacking Tools Windows
- Pentest Tools Tcp Port Scanner
- Hacker Tools For Windows
- Tools For Hacker
- Hacking Tools Software
- Hack Tools Github
- Bluetooth Hacking Tools Kali
- Pentest Tools Windows
- Pentest Tools Online
- Hacker Security Tools
- Hacking Tools Pc
- Pentest Tools
- Hack Tools Github
- Usb Pentest Tools
- Pentest Tools Tcp Port Scanner
- Hacking Tools Mac
- Pentest Tools Website Vulnerability
- Hacking Tools Pc
- Underground Hacker Sites
- Pentest Tools Alternative
- New Hack Tools
- Hacker Tools For Windows
- Hack Tools For Ubuntu
- Hacker Security Tools
- Pentest Tools For Mac
- Pentest Tools Download