Are you sure this is doable? If int *data = mmap(NULL, 0x68, 3, 0x21, -1, 0) creates the mapping, then *data is 0. This results to *data = (*data & 0xf9) | (data[0x50] + 0xa9 & 3) * '\x02' always being an even integer, which won't pass return (*data & 1) != 0. Could you give me a hint of what I might be missing here? |
==> |