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.
More information
- Tools 4 Hack
- Ethical Hacker Tools
- How To Make Hacking Tools
- Pentest Reporting Tools
- What Are Hacking Tools
- Hacking App
- Black Hat Hacker Tools
- Pentest Tools Github
- How To Install Pentest Tools In Ubuntu
- Hack Apps
- Pentest Tools Apk
- Game Hacking
- Pentest Tools Online
- Hacker Tools List
- Hacker Hardware Tools
- Pentest Tools Find Subdomains
- Hacker Tools Online
- Hacker Tools For Mac
- Hacking Tools 2019
- Hacker Tool Kit
- Hacker Tools Apk Download
- Easy Hack Tools
- Hacker Search Tools
- How To Install Pentest Tools In Ubuntu
- How To Make Hacking Tools
- Hacking Tools 2019
- Hacker Hardware Tools
- Pentest Tools For Ubuntu
- Hack Tools For Windows
- Hacker Tools Online
- Hack Tools Mac
- Hacker Tools For Mac
- Hacking Tools And Software
- Pentest Reporting Tools
- Pentest Box Tools Download
- Termux Hacking Tools 2019
- Nsa Hack Tools
- Hack Rom Tools
- Hacking Tools Pc
- Hack Apps
- Hacker Search Tools
- Pentest Tools Download
- Hak5 Tools
- Hacking Tools For Windows
- Pentest Tools For Ubuntu
- Hacker Tools
- Pentest Tools Download
- Pentest Tools Windows
- Hacking Tools For Games
- Hacking App
- Blackhat Hacker Tools
- Hack And Tools
- Pentest Tools Review
- Hacker Techniques Tools And Incident Handling
- Nsa Hack Tools
- Hacker Tool Kit
- Hacker Tools For Windows
- Pentest Automation Tools
- Hacker Tools Hardware
- Pentest Tools Bluekeep
- Hack Apps
- Growth Hacker Tools
- Pentest Tools Windows
- Beginner Hacker Tools
- Install Pentest Tools Ubuntu
- Pentest Tools For Ubuntu
- Pentest Tools Website Vulnerability
- Hack Tools 2019
- Hacker Tools Software
- Hacker Techniques Tools And Incident Handling
- Hacker Tool Kit
- New Hack Tools
- Pentest Tools For Ubuntu
- Tools 4 Hack
- Blackhat Hacker Tools
- Pentest Tools Tcp Port Scanner
- Hacker Tools Mac
- Hack Tools
- Free Pentest Tools For Windows
- Hacker Tools For Pc
- Hacker Tool Kit
- Hack Tools Pc
- Hacking Tools Windows
- Ethical Hacker Tools
- Kik Hack Tools
- Growth Hacker Tools
- Hacker Tools Apk
- New Hacker Tools
- Hacking Tools For Pc
- Hacking Tools For Pc
- Pentest Tools Open Source
- Pentest Tools For Android
- Pentest Tools Website Vulnerability
- Hacker Tools
- Pentest Tools Linux
- Hacking Tools For Windows 7
- Best Hacking Tools 2019
- Termux Hacking Tools 2019
- Pentest Tools Review
- Pentest Tools Nmap
- Hacker Hardware Tools
- Hack Tools Download
- Hack Apps
- Pentest Automation Tools
- Tools Used For Hacking
- Hack Tools Github
- Hacking Tools For Games
- Hacker Tools Windows
- Pentest Tools List
- Hack Tools For Pc
- Hacker Tools Mac
- Hacker Techniques Tools And Incident Handling
- Kik Hack Tools
- Pentest Tools Port Scanner
- Hack Tools
- Pentest Tools Bluekeep
- Pentest Tools Find Subdomains
- Hacking Apps
- Pentest Tools Framework
- How To Make Hacking Tools
- Pentest Tools Subdomain
- Hacker Tools Free
- Hack App
- Hack App
- Hacking Tools Free Download
- Pentest Tools
- Growth Hacker Tools
- Pentest Tools Android
- How To Hack
- Hacking Tools Usb
- Pentest Tools
- Hacker Tools Free Download
- Hack Tools For Pc
- Hacker Tools
- Hacking Tools For Windows 7
- Hack Tools
- Hacking Tools For Games
- Hacker Search Tools
No hay comentarios:
Publicar un comentario