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 word
- Pentest Tools Android
- Blackhat Hacker Tools
- Hack Website Online Tool
- Easy Hack Tools
- Hacker Hardware Tools
- Github Hacking Tools
- Pentest Box Tools Download
- Beginner Hacker Tools
- Pentest Tools For Windows
- Bluetooth Hacking Tools Kali
- Hacking Tools For Windows
- Hacker
- Pentest Tools Review
- Hacker Tools Apk
- Pentest Tools List
- Nsa Hack Tools Download
- Hacker Tools 2019
- Hack Apps
- Hackrf Tools
- Pentest Tools Framework
- Pentest Tools For Mac
- Hacker Tools For Ios
- Pentest Tools List
- Hacker Tools Github
- Pentest Tools Free
- Pentest Tools Url Fuzzer
- Pentest Tools Tcp Port Scanner
- Pentest Tools Download
- Android Hack Tools Github
- Hack Apps
- Pentest Tools Port Scanner
- Hack Tools Download
- Pentest Tools Port Scanner
- Hack Tools Download
- Hacker Tools For Pc
- Pentest Tools Port Scanner
- Hacker Tools Free Download
- Black Hat Hacker Tools
- Hack Tools For Mac
- Hacking Tools Software
- Pentest Tools Url Fuzzer
- Hacking Tools For Windows Free Download
- Hacking Tools Github
- Top Pentest Tools
- Hack Rom Tools
- Hacking Tools For Windows 7
- Hacker Tools For Ios
- Nsa Hack Tools Download
- Hacking Tools For Windows
- Hack Tools Download
- Hacker Tool Kit
- Pentest Tools Framework
- Android Hack Tools Github
- Physical Pentest Tools
- Hacking Tools Download
- Pentest Tools Subdomain
- Hack Tools Github
- Tools 4 Hack
- Pentest Automation Tools
- Hacker
- Hacker Tools For Ios
- Hacking Tools Software
- Hacker Tool Kit
- Tools For Hacker
- Hacker Tools For Pc
- Hak5 Tools
- Hack Tools Pc
- Hack Tools
- Hacking Tools Github
- Pentest Tools Port Scanner
- Hacking Tools Github
- Tools 4 Hack
- Pentest Tools Website
- Hacker Tools Github
- How To Hack
- Hacking Tools For Windows 7
- Hacking Tools For Windows 7
- Pentest Tools Online
- Tools 4 Hack
- Hacker Tools For Pc
- Hacker Tools Mac
- Android Hack Tools Github
- Best Hacking Tools 2019
- Tools Used For Hacking
- Hacking Tools Usb
- Pentest Tools Kali Linux
- Hacking Tools For Windows
- Pentest Tools Review
- How To Install Pentest Tools In Ubuntu
- Best Pentesting Tools 2018
- Hacker Tools Linux
- Hacking Tools Download
- Hacking Tools 2019
- Hacker Techniques Tools And Incident Handling
- Blackhat Hacker Tools
- Hacker Tools Apk
- Hacking App
- New Hacker Tools
- Github Hacking Tools
- Hack Tools 2019
- Hacking Tools Github
- Hack Tools Pc
- Pentest Tools For Ubuntu
- Nsa Hacker Tools
- Hacking Tools Usb
- How To Hack
- Hacker Tools Online
- Hacker Tool Kit
- Hack Tool Apk
- Hacker Tools For Pc
- Hacker
- Kik Hack Tools
- Hack Tools Pc
- Pentest Tools For Windows
- Hacker Tools Hardware
- Computer Hacker
- New Hacker Tools
- Tools Used For Hacking
- Hacking Tools 2019
- Kik Hack Tools
- Install Pentest Tools Ubuntu
- Hack Tool Apk
- Bluetooth Hacking Tools Kali
- World No 1 Hacker Software
- Kik Hack Tools
- Hack Website Online Tool
- Best Hacking Tools 2019
- New Hack Tools
- Hacking Tools For Mac
- Hacking Tools Download
- Hack Tool Apk No Root
- Hacking App
- Tools Used For Hacking
- Hacking Tools For Mac
- Nsa Hacker Tools
- Hacker Tool Kit
- Pentest Tools Url Fuzzer
- Hack Apps
No comments:
Post a Comment