1

これが私が使用したコマンドです:

sudo hexdump -C /dev/mem | less

そして、それがダンプした結果の一部:

00000070  53 ff 00 f0 a4 f0 00 f0  c7 ef 00 f0 e0 ba 00 c0  |S...............|
00000080  ef 27 00 f0 ef 27 00 f0  ef 27 00 f0 ef 27 00 f0  |.'...'...'...'..|
*
00000100  99 1b 32 e7 01 e4 00 f0  65 f0 00 f0 e0 be 00 c0  |..2.....e.......|
00000110  ef 27 00 f0 ef 27 00 f0  ef 27 00 f0 ef 27 00 f0  |.'...'...'...'..|
*
00000180  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

興味深いのは、[0x00000120、0x0000017f]のアドレスが、私が見ていると思われる値ではなく、「*」として無視されることです。

私が想像できる限り、それらの部分は読み取られないように保護されていますが、なぜですか?それとも私は何かが足りないのですか?

4

1 に答える 1

1

hexdumpは、出力を読みやすくするために重複行を抑制しています。

'man hexdump'ページから:

-v      Cause hexdump to display all input data.  Without the -v option,
        any number of groups of output lines, which would be identical to
        the immediately preceding group of output lines (except for the
        input offsets), are replaced with a line comprised of a single
        asterisk.
于 2012-12-19T03:46:00.887 に答える