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
In this case the condition_variable.wait() crashed, but this happens with other methods, a simple way to trigger it:
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 news
- Hacker Tools Free
- Hacking Tools For Windows Free Download
- Hacker Tools Hardware
- Pentest Tools Framework
- Usb Pentest Tools
- Hacking Tools 2020
- Hacker Security Tools
- Hacker Tools Hardware
- Hacker Tools For Ios
- Nsa Hack Tools
- Hacker Search Tools
- Pentest Tools Tcp Port Scanner
- Ethical Hacker Tools
- Hack And Tools
- Hacking Tools Windows 10
- Hacker Tools Free Download
- Pentest Recon Tools
- Pentest Tools Open Source
- Hacker Tools Software
- Hacking Tools Pc
- Pentest Tools Website
- Hacker Tool Kit
- Hacking Tools For Mac
- Pentest Tools Kali Linux
- Hack Tools
- Pentest Tools Open Source
- Hackrf Tools
- Hacks And Tools
- Hacking Tools Software
- Hacking Tools And Software
- Pentest Tools Subdomain
- Nsa Hack Tools
- Hacker Tools 2020
- Top Pentest Tools
- Best Hacking Tools 2020
- Pentest Tools For Ubuntu
- Pentest Tools
- New Hack Tools
- Hacker Tools Apk
- Hacking Tools Name
- Github Hacking Tools
- Hack Tools For Ubuntu
- Pentest Tools Open Source
- Pentest Automation Tools
- Hacking Tools Pc
- Blackhat Hacker Tools
- Pentest Tools For Windows
- Top Pentest Tools
- Hacker Tools
- Hack Apps
- Hacking Tools And Software
- Hacking Tools Software
- Pentest Tools Android
- Game Hacking
- Pentest Tools Android
- Hack Tools
- Hacking Tools 2020
- Pentest Automation Tools
- Hacking Tools For Windows Free Download
- Blackhat Hacker Tools
- Hacking Tools Hardware
- Pentest Tools Open Source
- Pentest Tools Find Subdomains
- Pentest Tools Apk
- Pentest Tools Tcp Port Scanner
- What Is Hacking Tools
- Hack Tools For Ubuntu
- Hacker Tools Windows
- Hack Tools Download
- Pentest Recon Tools
- Pentest Tools Nmap
- Hacker Tools 2019
- Hacker Tools Linux
- Pentest Tools For Windows
- Hacker Tools List
- Pentest Tools Tcp Port Scanner
- Hack Tool Apk No Root
- How To Install Pentest Tools In Ubuntu
- Hacking Tools For Windows
- Computer Hacker
- Top Pentest Tools
- Hacker Tools Mac
- Hack Apps
- Underground Hacker Sites
- Growth Hacker Tools
- Beginner Hacker Tools
- Hacker Hardware Tools
- Hacking Tools For Pc
- Hack Tools For Pc
- Pentest Tools Nmap
- Beginner Hacker Tools
- Hack And Tools
- Hacker Tools Windows
- Best Hacking Tools 2020
- Hacking Tools 2020
- Ethical Hacker Tools
- Hak5 Tools
- Pentest Tools Online
- Pentest Recon Tools
- Pentest Tools Android
- Hacker Tool Kit
- Pentest Tools For Android
- Pentest Tools Bluekeep
- Bluetooth Hacking Tools Kali
- Hack Tools Github
- Pentest Recon Tools
- Tools 4 Hack
- Hack And Tools
- Hacking Tools For Beginners
- Hacking Tools For Windows 7
- Hacking Tools For Mac
- Pentest Tools Online
- Tools Used For Hacking
- How To Hack
- Hacking Tools For Pc
- Pentest Tools For Android
- Hack Tools Mac
- Hacking Tools Windows
- Pentest Tools Subdomain
- Hacker Tools For Pc








No comments:
Post a Comment