From PS3 Developer wiki
Jump to: navigation, search

What are canaries?[edit]

From wiki:

"Canaries are known values that are placed between a buffer and control data on the stack to monitor buffer overflows."

Those are also present in the PS3 system and they're initialized at kernel startup from timebase counter (ticks).

You can't control them however. These are one of the obstacles against kernel(lv2) exploits.

What functions should have these guards?[edit]

Theoretically, only syscalls, but it's unknown for sure.

Examples of Canaries[edit]

Here in naehrwert's blog you can see an example: (check point 2. for the details)