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

PHP でアセンブリっぽく書く技術

memory
September 25, 2024

PHP でアセンブリっぽく書く技術

低レイヤゆるっと LT 大会

memory

September 25, 2024
Tweet

More Decks by memory

Other Decks in Programming

Transcript

  1. 3

  2. 7

  3. 9

  4.  ΞηϯϒϦݴޠʹ΋৭Μͳछྨ͕͋Γ·͢ɻྫ͑͹ɼ/"4. /FUXJEF"TTFNCMFS  Λච಄ʹɼ("4"4 1PSUBCMF(/6"TTFNCMFS ͩͬͨΓɼ."4.ʢ.JDSPTPGU .BDSP"TTFNCMFSʣͳͲɻ  ͦΕͧΕඍົʹํݴ͕ҧ͍·͕͢ɼ֓ͶϨδελʹରͯ͠ಡΈࠐΜͩΓॻ͖ࠐΜͩ

    Γɼϧʔϓͤͨ͞ΓΈ͍ͨͳॲཧ͸΄ͱΜͲҰॹͰ͢ɻ  ΞηϯϒϦͰ͸NPW΍KNQ KNQFRVBMTKNQOPUFRVBMTؚ ͳͲ͕සग़ ͢Δ΄Ͳʹ͸༷ʑͳ໾ׂΛ୲ͬͯ͘Ε·͢ɻ 13 ΞηϯϒϦʹ͍ͭͯ
  5. 29

  6. 31

  7. 33

  8. 34

  9.  θϩ͔Β࢝·Δม਺͸ఆٛͰ͖ ͣ0x10ͱॻ͚ͳ͍ͷͰOx10 ͱθϩΛ0Ͱ͝·͔͢  Ҿ਺ͳ͕͠Ͱ͖ͳ͍ͷͰɼΦϖϥ ϯυͷͳ͍΋ͷ͸@Ͱදݱ  1)1Ͱಉ͡ม਺໊Λෳ਺Ҿ਺Ͱ ࢦఆͰ͖ͳ͍ͷͰɼಉ໊͡લͷҾ

    ਺͕ൃੜ͢Δ৔߹͸ɼผͷؔ਺ͱ ͯ͠վΊͯఆٛ͢Δඞཁ͕͋Δɻ 39 ϚδͰͦΕͬΆ͘ॻ͘ Φϖϥϯυͳ͠ Y&Ͱ͸ͳ͘0Y& ಉ͡Ҿ਺໊Λ࢖͏ͨΊʹ ผͷؔ਺ͱͯ͠ఆٛ
  10. 42