Yes, you have read it right. Unless you are a compiler or a exploit developer you do not really want to know anything about stack canaries. You just need to know they exists and will prevent stack overflows. But if you want to know how they work in detail, then keep reading.

Read More...

PROGRAMMING
2021-03-24
   

We had already briefly talked about atomics to implement a mutex. However, the use of atomics in the general case can be a bit tricky and fires some low level synchronisation issues that the programmer needs to be able to control. This is what the memory models are for.

Read More...

SECURITY
2021-03-11
   
Revisiting my good old' Pocrypt2 project, I just noticed it has stopped working. After a closer look to the problem I figured out that the issue just happens when trying to crypt PIE(Position Independent Executable) binaries.... keep reading to find out why and how I fixed it.

Read More...

 
Tu publicidad aquí :)
 
PROGRAMMING
2021-03-06
   
Before diving deeper into more complicated concurrent programming elements, let's take a quick look to what Java can do for the examples we had already seen. I was planing to do this at the very end, but I have realised that such an article will be too long so it is better to start looking to it right now.

Read More...

PROGRAMMING
2021-02-20
   

Debugging, profiling and optimising concurrent applications is not easy, and there are not that many tools out there to deal with the specific issues of these special programs. Helgrind, part of the Valgrind project is one of those tools.

Read More...

 
PROGRAMMING
2021-02-18
   
Mutexes are one of the most used synchronisation techniques on concurrent programming but there are more sophisticated constructions that allow us synchronise execution flows in more complex circumstances. In this instalment we are going to learn how to use condition variables.

Read More...

 
PROGRAMMING
2021-02-09
   

In the previous instalment we introduced the concept of Mutex and dived into the basics of its implementation, that is, atomic memory modification. As we announced at the end of that article, that is just half of the trick and now it's time to get the other half sorted out.

Read More...

PROGRAMMING
2021-02-04
   

Concurrent programming have its own and special issues on top of the normal difficulties of writing SW. One of the problems we may find when writing concurrent SW is the so called Race Condition Situation.

Read More...

 
Tu publicidad aquí :)