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 word
- Hacker Tools Online
- What Are Hacking Tools
- Top Pentest Tools
- Blackhat Hacker Tools
- Pentest Recon Tools
- Hacking Tools Usb
- Hack App
- Hacker Tools For Pc
- Pentest Tools Apk
- Hacker Tools Windows
- Hak5 Tools
- Hack Tools For Pc
- Hacking Tools Kit
- Hack Tools For Pc
- Computer Hacker
- Nsa Hacker Tools
- Hacker Tools Linux
- Hackrf Tools
- Hacker Tools For Pc
- Hacking Tools Pc
- Hacker Techniques Tools And Incident Handling
- Easy Hack Tools
- Hacker Tools 2019
- Github Hacking Tools
- Hacking Tools Windows
- Hacker Techniques Tools And Incident Handling
- Beginner Hacker Tools
- Pentest Tools Find Subdomains
- Hacker Tools For Ios
- Hack Tools For Games
- Hack App
- Hacking Tools
- Hacking Tools Online
- Hacker Tools Software
- Hacking Tools Hardware
- Pentest Automation Tools
- Easy Hack Tools
- New Hack Tools
- Hacking Tools Kit
- Hack Tools Mac
- Android Hack Tools Github
- Hack And Tools
- Hacking Tools 2020
- How To Make Hacking Tools
- Hacker Tools Apk
- Hacker Tools Hardware
- Hacker Tools
- Hak5 Tools
- Pentest Tools Bluekeep
- Beginner Hacker Tools
- Hacking Tools 2019
- Usb Pentest Tools
- Physical Pentest Tools
- Growth Hacker Tools
- Hacking Tools 2019
- Blackhat Hacker Tools
- Hack App
- Hacker Security Tools
- Hacker Search Tools
- Hacking Tools Pc
- Hacker Tools Apk
- Hacking Tools For Windows
- Black Hat Hacker Tools
- Hacking Apps
- Pentest Tools Open Source
- Beginner Hacker Tools
- Tools 4 Hack
- Hacking Apps
- Pentest Tools Apk
- Hacker Tools List
- Hacker Tools Mac
- Hacking Tools Download
- Free Pentest Tools For Windows
- Hacker Tools Windows
- Nsa Hack Tools
- Hacking Tools And Software
No comments:
Post a Comment