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 articles
- Hacking Tools For Games
- Hackrf Tools
- How To Hack
- Hack Tools For Pc
- Hacker Security Tools
- Hack Tool Apk No Root
- Hacking Tools Github
- Hacking Tools Software
- Hacking Tools Kit
- Pentest Tools For Mac
- Hack Tools Mac
- Pentest Tools Find Subdomains
- Pentest Tools Open Source
- Computer Hacker
- Hacker Tools Free Download
- Hacker Hardware Tools
- Hacker Tools 2019
- How To Hack
- Hacker Tools Apk Download
- Pentest Tools Windows
- Pentest Tools Url Fuzzer
- Pentest Tools Tcp Port Scanner
- Hacker Techniques Tools And Incident Handling
- Pentest Automation Tools
- Pentest Tools Url Fuzzer
- Hacking Tools For Kali Linux
- Blackhat Hacker Tools
- Pentest Tools Bluekeep
- Hacker Tools For Windows
- Hack Tools
- Hacker Tools Online
- Hacks And Tools
- Hacker Tools Hardware
- Hacker Tools For Ios
- Hacking Tools Name
- Hacker Tools Github
- Pentest Reporting Tools
- Blackhat Hacker Tools
- Hackrf Tools
- Hacker Tools Linux
- Android Hack Tools Github
- Top Pentest Tools
- Pentest Tools Windows
- Pentest Tools For Windows
- Hack Tools Pc
- Game Hacking
- Hacker Tools Apk
- Hack Tools For Mac
- Hacker Tools Free
- Hacking App
- Pentest Tools List
- Hacking Tools For Windows Free Download
- Hacking Tools For Games
- Best Hacking Tools 2019
- Blackhat Hacker Tools
- Hack Tools Download
- Bluetooth Hacking Tools Kali
- Hacker Tools Hardware
- How To Install Pentest Tools In Ubuntu
- Hackrf Tools
- Pentest Tools Find Subdomains
- Tools For Hacker
- Hacker Tools Online
- Pentest Automation Tools
- Hacking Tools Windows
- Hacking Tools For Windows 7
- Pentest Reporting Tools
- Pentest Tools For Mac
- Hacker Tools
- How To Install Pentest Tools In Ubuntu
- World No 1 Hacker Software
- What Are Hacking Tools
- Pentest Tools Android
- Pentest Tools Windows
- Hackers Toolbox
- Hack Tools For Windows
- What Is Hacking Tools
- Best Hacking Tools 2020
- Hack Tools For Windows
- Pentest Tools For Ubuntu
- Hack Tools
- Pentest Tools Android
- Hacking Tools
- Hack Tools 2019
- Pentest Tools Download
- Pentest Tools Github
- Nsa Hack Tools
- Pentest Tools Online
- What Are Hacking Tools
- Hacking Tools Hardware
- Pentest Tools Website
- Hack Tools For Games
- Pentest Tools Android
- Hacker Tools Mac
- Pentest Tools For Android
- Hacking Tools Windows
- Nsa Hacker Tools
- Best Hacking Tools 2020
- Hacker Security Tools
- Usb Pentest Tools
- World No 1 Hacker Software
- Hackrf Tools
- Hacking Tools Windows 10
- Hacking Tools For Pc
- Hack Tools
- Hacker Tools Github
- Hack Tools For Games
- Pentest Tools Find Subdomains
- Hacker Tools List
- Easy Hack Tools
- Top Pentest Tools
- Hacker Tools Online
- Tools 4 Hack
- Hacker Hardware Tools
- Pentest Tools Kali Linux
- Pentest Tools List
- How To Hack
- Hacking Apps
- New Hack Tools
- Computer Hacker
- Hack Tools For Windows
- Hack Tools
- How To Hack
- Hack Tools
- Hacker Tools Apk Download
- Hacker Tools Online
- Hacking Apps
- Pentest Tools List
- Pentest Tools Download
- Hacker Tools Linux
- Hacking Tools For Windows
- Pentest Tools For Android
- Best Hacking Tools 2020
- Hacking Tools
- Hacking Tools For Pc
- Hacking Tools Github
- Pentest Tools Website
- What Is Hacking Tools
- Hack Tools For Mac
- Hacking App
- Hacking Tools For Windows
- Hacker Tools Free Download
- Pentest Tools Apk
- Pentest Tools For Windows
- Pentest Tools For Mac
- Nsa Hack Tools
- Black Hat Hacker Tools
- Physical Pentest Tools
- Hacking Tools For Kali Linux
- Hack Tools
- Android Hack Tools Github
- Hacker Tools Free Download
- Pentest Tools Review
- Hack Tool Apk No Root
- Pentest Tools Kali Linux
- Hack Tools Online
- Pentest Tools Linux
- Hack Tools
- Hack Tools For Windows
- Github Hacking Tools
- Pentest Tools For Ubuntu
- Hackrf Tools
- Pentest Tools Download
- Pentest Tools For Android
- Hacker Tools For Windows
- Pentest Box Tools Download
- Hacker Tools Free
- Pentest Tools Website
- Hack Tools Download
- Pentest Tools Framework
- Pentest Tools List