remzi-arpacidusseau / ostep-homework

1.99k stars 959 forks source link

Update paging-multilevel-translate.py #31

Open stardustman opened 3 years ago

stardustman commented 3 years ago

According to the README.md, A page dump looks like this:

    page 0: 08 00 01 15 11 1d 1d 1c 01 17 15 14 16 1b 13 0b ...
    page 1: 19 05 1e 13 02 16 1e 0c 15 09 06 16 00 19 10 03 ...
    page 2: 1d 07 11 1b 12 05 07 1e 09 1a 18 17 16 18 1a 01 ...
    ...

I found the code in OS.memoryDump() miss a blank space after print the value of the memory address.

yixin0829 commented 3 years ago

LGTM