tum-i4 / self-checksumming

10 stars 6 forks source link

Guard function hashes beyond the function boundary #3

Closed mr-ma closed 7 years ago

mr-ma commented 7 years ago

length must respect the type of the beginAddress pointer Basically length/sizeof(typeof(beginAddress))

What if length is not divisible by sizeof(typeof(beginAddress))?