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
- Pentest Tools Kali Linux
- Hacker Tools Apk
- Best Pentesting Tools 2018
- What Are Hacking Tools
- Pentest Tools For Mac
- How To Hack
- What Are Hacking Tools
- Nsa Hack Tools Download
- Github Hacking Tools
- Hacking Tools
- Hacking Tools For Beginners
- Pentest Tools Find Subdomains
- Hacking Tools Kit
- Best Hacking Tools 2019
- Usb Pentest Tools
- Hack Apps
- Pentest Automation Tools
- Computer Hacker
- Best Hacking Tools 2020
- Hacking Tools Software
- Hack Tools
- Hacker Tools Free
- Hacking Tools Download
- Hacking App
- Hacker Tools Free
- Hacker Search Tools
- Nsa Hacker Tools
- Tools For Hacker
- Growth Hacker Tools
- Easy Hack Tools
- Hacker Tools For Ios
- Game Hacking
- Pentest Tools Windows
- Hacker Tools List
- Physical Pentest Tools
- Bluetooth Hacking Tools Kali
- Hack And Tools
- Hack Tools For Ubuntu
- Hacking Tools Github
- Pentest Tools Tcp Port Scanner
- Growth Hacker Tools
- Pentest Tools Url Fuzzer
- New Hacker Tools
- Hacker Tools For Pc
- Hackers Toolbox
- Hacking App
- Hacking Tools Free Download
- Hacking Tools For Beginners
- Game Hacking
- Kik Hack Tools
- How To Install Pentest Tools In Ubuntu
- Hacker Tool Kit
- Top Pentest Tools
- Hacker Tools Github
- Hacking Tools For Windows
- New Hacker Tools
- Hacker Tools For Windows
- Hacking Tools For Kali Linux
- Pentest Tools List
- Pentest Tools Review
- Hacking Tools For Kali Linux
- Hack Tools Pc
- Pentest Tools Bluekeep
- Hack Tool Apk
- Hack Tools For Ubuntu
- Pentest Tools Kali Linux
- Pentest Tools Free
- Hacking Tools For Games
- Hacking Tools Pc
- How To Make Hacking Tools
- Pentest Tools Open Source
- What Are Hacking Tools
- Pentest Tools Nmap
- Hacking App
- Pentest Tools
- Hacks And Tools
- Pentest Tools Subdomain
- Android Hack Tools Github
- Hacker Tools Github
- Tools 4 Hack
- Hacker Tools 2020
- Hacker Tools For Windows
- Hacking App
- Hacking Tools Software
- Hacking Tools For Kali Linux
- Android Hack Tools Github
- Android Hack Tools Github
- Kik Hack Tools
- Hacking Tools And Software
- Hacker Tools Software
- Hack Tools Download
- Hack Rom Tools
- What Are Hacking Tools
- Hacking Tools Hardware
- Pentest Tools Find Subdomains
- Hacker Tools Apk Download
- Hack Tools For Mac
- Pentest Tools Apk
- Nsa Hacker Tools
- Pentest Tools List
- Free Pentest Tools For Windows
- Hacking Apps
- Hacking Tools Download
- Hack Tools For Windows
- Hack Tool Apk No Root
- Hacking Tools Pc
- Hacker Techniques Tools And Incident Handling
- Hacking App
- What Is Hacking Tools
- Hacking Tools Windows
- Hacker Tools Free Download
- Hackrf Tools
- Pentest Tools Windows
- Hak5 Tools
- Hak5 Tools
- Hacking Apps
No hay comentarios:
Publicar un comentario