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 For Ubuntu
- Hack App
- Hacker Tools Hardware
- Growth Hacker Tools
- Hacker Tools For Windows
- Hacking Tools Download
- Termux Hacking Tools 2019
- Pentest Tools Website
- Best Hacking Tools 2019
- What Are Hacking Tools
- How To Hack
- Hacking Tools Windows
- Pentest Tools Review
- Physical Pentest Tools
- Pentest Tools For Mac
- Hack Apps
- What Is Hacking Tools
- Pentest Box Tools Download
- Hacking Tools Mac
- Hacking Tools
- Hacking Tools 2019
- Hacking Tools For Kali Linux
- Pentest Tools Find Subdomains
- Pentest Tools Website
- Pentest Tools Download
- Pentest Automation Tools
- Wifi Hacker Tools For Windows
- Hacker Tools For Ios
- Ethical Hacker Tools
- Hack Tools Pc
- Best Pentesting Tools 2018
- Hacker Tools Apk
- Hack Tools For Ubuntu
- Hacking Tools And Software
- Hack Apps
- Hacker Tools Hardware
- Hak5 Tools
- Pentest Tools Linux
- Hacker Hardware Tools
- Physical Pentest Tools
- Install Pentest Tools Ubuntu
- Hacking Tools Name
- Hackers Toolbox
- Hacker Search Tools
- Hacker Tools Apk Download
- Computer Hacker
- Hacking Tools Free Download
- Hacking Tools For Windows 7
- Growth Hacker Tools
- Hacking Tools For Windows
- Github Hacking Tools
- Hacker Tools Windows
- Growth Hacker Tools
- Tools Used For Hacking
- Pentest Tools Android
- Hacker Tools
- Kik Hack Tools
- Hack Tools For Mac
- Pentest Tools Nmap
- Hacking Tools Software
- Hacker Tools Hardware
- Pentest Tools List
- Pentest Tools Github
- Hack Tools
- Pentest Tools Windows
- Underground Hacker Sites
- Pentest Tools Download
- Hacker Tools For Windows
- How To Make Hacking Tools
- New Hacker Tools
- Hacking Tools Software
- Hack Tools Mac
- Hacker Security Tools
- Hack Tools For Ubuntu
- Underground Hacker Sites
- Ethical Hacker Tools
- Hacker Tools For Pc
- Game Hacking
- Hacker Tools Apk
- Hacker Tools Software








0 Comments:
Post a Comment