Matthieu Suiche On August - 4 - 2007

If one time you want to fill a buffer (here size is 0×10000) with null bytes, and put a string inside.

Don’t forget the “a” between “>” and “< "

kd> $$>a< "FULL_SCRIPT_PATH" BASE_ADDRESS

$$
$$ Matthieu Suiche 08/2007
$$ http://www.msuiche.net
$$

.if (${/d:$arg1})
{
    f ${$arg1} L10000 0

    ea ${$arg1} "I'm a fucking string !!!! test it oon meeeeeeeeeee! haha"
}
.else
{
    .printf "Usage: BUFFER_ADDRESS";
}

Comments are closed.

Sponsors