La entrega de este producto debe hacerla mediante una presentacion de Power Point, que debe alojarla en Google Drive y enviar el enlace para compartirla al siguiente correo con Marketingcidec.producto@blogger.com para que se proceda al proceso de evaluacion. Envie el correo bien identificado, colocando el vinculo para que se pueda ingresar al mismo, tal como se indica en la siguiente figura

producto final

producto final
Ejemplo del mensaje para enviar el producto

sábado, 27 de enero de 2024

C++ Std::Condition_Variable Null Pointer Derreference


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 posts


  1. Hacker Tools
  2. Hacking Tools For Mac
  3. Pentest Tools Nmap
  4. Hacking Tools For Beginners
  5. Hack Tool Apk No Root
  6. Hack Tools For Games
  7. Android Hack Tools Github
  8. New Hacker Tools
  9. Hacker Tools For Ios
  10. New Hacker Tools
  11. Pentest Tools Find Subdomains
  12. Hacking Tools Usb
  13. Pentest Box Tools Download
  14. Tools For Hacker
  15. Hacker Tools Free
  16. Hak5 Tools
  17. Hack Tools Pc
  18. Kik Hack Tools
  19. Pentest Tools For Ubuntu
  20. Hack Tools For Ubuntu
  21. Hack Tool Apk
  22. How To Make Hacking Tools
  23. Hacker Tools Software
  24. Pentest Tools Review
  25. Usb Pentest Tools
  26. Pentest Tools For Mac
  27. Hacking Tools For Mac
  28. Hack And Tools
  29. Hacking Tools Kit
  30. Physical Pentest Tools
  31. Pentest Tools Bluekeep
  32. Pentest Tools
  33. Hacker Tools Github
  34. Pentest Tools Review
  35. Pentest Tools Framework
  36. Nsa Hacker Tools
  37. Pentest Tools Free
  38. Hack Tool Apk No Root
  39. Hacking Apps
  40. Pentest Tools For Ubuntu
  41. Hack Tools For Mac
  42. Pentest Tools
  43. Pentest Tools Find Subdomains
  44. Hacking Tools For Pc
  45. Hack Tools Online
  46. Hacker Techniques Tools And Incident Handling
  47. Hack Tools Mac
  48. Hacker Techniques Tools And Incident Handling
  49. Hack Tools 2019
  50. Pentest Tools
  51. How To Make Hacking Tools
  52. Tools For Hacker
  53. Pentest Tools Free
  54. Hack App
  55. Hacker Tools 2019
  56. Growth Hacker Tools
  57. Hacker Tools For Pc
  58. Pentest Tools Framework
  59. Game Hacking

No hay comentarios.:

Publicar un comentario