Upgrade to Pro — share decks privately, control downloads, hide ads and more …

リセットとフリーズで解析する電子辞書リバエン記 / reverse-engineer-e-dictionaries-with-reset-and-freeze

Takumi Sueda
November 20, 2021

リセットとフリーズで解析する電子辞書リバエン記 / reverse-engineer-e-dictionaries-with-reset-and-freeze

Kernel/VM 探検隊 online part4 LT
小説版: https://www.zopfco.de/entry/reset_freeze_re

Takumi Sueda

November 20, 2021
Tweet

More Decks by Takumi Sueda

Other Decks in Technology

Transcript

  1. SHARP Brain SHARP Windows CE 
 CE exe (PE) 2011

    TOSHIBA TMPA 9 10 CRAXBG (armv 5 tej) + 64 MiB DRAM Windows CE 2012 2020 NXP i.MX 2 83 (armv 5 tej) + 12 8 MiB DRAM Windows CE 2021 ??? SHARP Brain 3 https://jp.sharp/edictionary/products/pwsh 1 _overviiew.html
  2. SHARP Brain 2019 2020 SHARP Brain PW-SH 1 Linux +

    i.MX 283 Raspberry Pi Brain Linux SD Brain Linux 4 https://jp.sharp/edictionary/products/pwsh 1 _overviiew.html
  3. Brain SoC NXP i.MX 7 ULP i.MX 7 ULP =

    Cortex-A 7 + Cortex-M 4 12
  4. 17

  5. 20

  6. U-Boot U-Boot U-Boot MMU 
 U-Boot 3 : 1 .

    Brain 2 . DRAM 1. 1. 3 . 2. 64 KiB (large page) 1. U-Boot 33
  7. U-Boot U-Boot 1 36 1 5 MiB Brain 15 MiB

    1 ( 4 Bytes) 1 5 MiB DRAM 128 MiB 11.7%
  8. U-Boot U-Boot 38 NOP MMU NOP 1 NOP 6 4

    KiB NOP NOP ……… 2 1
  9. U-Boot U-Boot 2 39 Virtual 
 Memory 1 5 MiB

    1 MMU Physical 
 Memory MMU
  10. U-Boot U-Boot 2 40 1 Physical 
 Memory 0 x

    6000 000 0 0 x 6800 000 0 1 
 !"#$ %&'( !"#$ 1
  11. U-Boot U-Boot 2 41 1 Physical 
 Memory 0 x

    6 78000 0 0 DRAM 15 MiB 
 %&'( 0 x 6000 000 0 0 x 6800 000 0
  12. U-Boot U-Boot 43 2 
 MMU NOP NOP 6 4

    KiB NOP 3 1 NOP NOP NOP NOP
  13. U-Boot U-Boot 44 112 64 KiB NOP NOP 6 4

    KiB 3 1 NOP NOP NOP NOP 112 …
  14. U-Boot U-Boot 1 . ✅ U-Boot 2 . ✅ MMU

    3 . ✅ MMU U-Boot 1 5 MiB 0x 7 0 0 0 0 0 u-boot.bin 
 0x 67 800000 U-Boot U-Boot 45