搜尋此網誌

2011年10月22日 星期六

EFI Shell commands -- HEXEDIT(全螢幕的16 位元編輯器,可用於檔案、區塊裝置、或記憶體)

Full screen hex editor for files, block devices, or memory.

HEXEDIT [[-f] FileName | [-d DiskName Offset Size] | [-m Address Size]]


    -f      - Name of file to edit
    -d      - Disk block to edit:
                DiskName - Name of disk to edit (for example fs0)
                Offset   - Starting block number (beginning from 0)
                Size     - Number of blocks to be edited
    -m      - Memory region to edit:
                Address  - Starting 32-bit memory address (beginning from 0)
                Size     - Size of memory region to be edited in bytes

Examples:
  * To edit a file in hex mode:
    fs0:\> hexedit test.bin

  * To edit block device fs0 starting at block 0 with size of 2 blocks:
    fs0:\> hexedit -d fs0 0 2

  * To edit memory region starting at address 0x00000000 with size of 2 bytes:
    fs0:\> hexedit -m 0 2

沒有留言:

張貼留言