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 articles
- Hacking Tools
- Hacking Tools Online
- Underground Hacker Sites
- Pentest Tools
- Hacking Tools Software
- Blackhat Hacker Tools
- Hack App
- Underground Hacker Sites
- Hacker Tools Free Download
- Hacker Techniques Tools And Incident Handling
- Hack Tools
- Hack Tools 2019
- Hacker Tools Free Download
- Hacking Tools Free Download
- Best Pentesting Tools 2018
- Hackers Toolbox
- Hacking Tools Mac
- Pentest Tools Nmap
- Hacking Tools Pc
- Hack Tools Download
- Termux Hacking Tools 2019
- Hack Tools For Ubuntu
- Kik Hack Tools
- Pentest Tools Online
- Hacking Tools For Kali Linux
- Hack Tools Pc
- Underground Hacker Sites
- Hacker Tools 2019
- Hack Tools 2019
- Pentest Tools Find Subdomains
- Hacking Tools For Pc
- Pentest Tools Apk
- Hacker Tools Free Download
- Hacker Tools Linux
- Beginner Hacker Tools
- Hacking Tools Kit
- Best Hacking Tools 2019
- Black Hat Hacker Tools
- Hacker Tools Github
- Ethical Hacker Tools
- New Hack Tools
- What Is Hacking Tools
- Hacker Tools
- Hacker Tools Free
- Ethical Hacker Tools
- Hacking Tools Windows
- Pentest Tools Url Fuzzer
- Hackrf Tools
- Hacker Tools
- Pentest Tools Website Vulnerability
- Hak5 Tools
- Hacking Tools Mac
- Hack And Tools
- Pentest Tools Website
- Pentest Tools Download
- Hacker Tools 2020
- Pentest Tools Linux
- Hacking Tools For Games
- Pentest Tools Subdomain
- Pentest Tools Android
- Hacking Tools And Software
- Hacker Tools For Mac
- Tools For Hacker
- Hacker Tools For Windows
- Pentest Tools Linux
- Tools 4 Hack
- Pentest Tools Website
- Hack Tools For Ubuntu
- Hacker Hardware Tools
- Kik Hack Tools
- Best Pentesting Tools 2018
- Hacking Tools Online
- Wifi Hacker Tools For Windows
- Hacker Tool Kit
- Hacking Tools For Beginners
- Hacks And Tools
- Hack Tools Online
- Hacker Tool Kit
- Pentest Box Tools Download
- Pentest Reporting Tools
- Hacking Tools 2020
- Best Hacking Tools 2019
- Pentest Tools Website Vulnerability
- Hacker Tools Free
- Pentest Tools Subdomain
- Hacking Tools Windows 10
- Hacking Tools 2019
- Hacker Tools Free
- Hacking Tools Online
- Pentest Tools Nmap
- Hacking Tools Github
- Tools For Hacker
- Best Hacking Tools 2019
- Pentest Tools Apk
- Game Hacking
- Pentest Tools Find Subdomains
- Hacker Tools 2020
- Hacker Tools Github
- Computer Hacker
- Pentest Tools Linux
- Hacking Tools Windows 10
- Hacking App
- Hacker Techniques Tools And Incident Handling
- Hacker Tools For Windows
- Pentest Reporting Tools
- Hackers Toolbox
- Github Hacking Tools
- Best Pentesting Tools 2018
- Physical Pentest Tools
- Hack Tools
- Pentest Box Tools Download
- Hacker Tools Online
- Free Pentest Tools For Windows
- Hack Tools
- Pentest Tools Windows
- Hackrf Tools
- Hacker Tools Mac
- What Are Hacking Tools
- Hacking Tools For Windows 7
- Termux Hacking Tools 2019
- Best Hacking Tools 2019
- How To Hack
- Pentest Tools
- Pentest Tools Download
- Nsa Hacker Tools
- Hack Tools 2019
- Bluetooth Hacking Tools Kali
- Usb Pentest Tools
- Pentest Tools Find Subdomains
- Pentest Tools Nmap
- Hacking Tools For Pc
- Tools 4 Hack
- Hacking Tools 2019
- Hack Tools For Mac
- Hacker Tools For Mac
- Hak5 Tools
- Pentest Box Tools Download
- Hacking Tools For Games
- What Is Hacking Tools
- Best Pentesting Tools 2018
- Hack Tools For Ubuntu
- Pentest Tools Linux
- Hacking Tools Online
- Hacker Tools Online
- Hack Website Online Tool
- Pentest Tools Linux
Tidak ada komentar:
Posting Komentar