<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel>
  <title>Coding の ORZ</title>
  <link>https://x213212.github.io/</link>
  <description>Technical notes on systems, software engineering, and reverse engineering.</description>
  <language>zh-Hant</language>
  <item>
    <title>掌機上的原生 YouTube</title>
    <link>https://x213212.github.io/2026/09/rg40xxv-youtube.html</link>
    <guid isPermaLink="true">https://x213212.github.io/2026/09/rg40xxv-youtube.html</guid>
    <pubDate>Tue, 01 Sep 2026 23:10:00 +0800</pubDate>
    <description>上一篇 講的是把 RG40XX V 的面板點亮。畫面出來之後，問題就換了一批：這台機器 能拿來做什麼 。 這一輪做完的是一個 原生 YouTube 客戶端 ，外加一串各自獨立的修正。分開講。 為什麼是原生，不是塞一個瀏覽器 第一版走的是 Web：stock Cog/WPE 跑手機版 YouTube。它能開，但在 H700 上瀏覽本身就是 FAIL，而且整條路徑要拖進一個完整的瀏覽器引擎、DRM 模組與 SQLite profile。 第二版整個換掉，變成三個各自獨立的行程： 角色 東西 邊界 UI C++ / SDL texture scene 只畫面、只收搖桿 媒體 AArch64 libmpv + FFmpeg 軟解 H.264 + ALSA 解析 yt-dlp 常駐服務 不是 UI、也不是解碼器 最後那條是刻意的。 yt-dlp 關在一個 ow…</description>
  </item>
  <item>
    <title>RECODE</title>
    <link>https://x213212.github.io/2026/08/recode.html</link>
    <guid isPermaLink="true">https://x213212.github.io/2026/08/recode.html</guid>
    <pubDate>Sun, 30 Aug 2026 05:20:00 +0800</pubDate>
    <description>寫過的演算法題，兩個月後再看還是不會。所以做了一個複習用的練習環境。 三個決定 Python 跑在瀏覽器裡。 用 Pyodide，程式碼不會離開你的電腦，也不需要後端評測機。 進度存在本機 SQLite。 不用註冊、不用帳號。 用 FSRS-7 排複習時間。 這是間隔重複的排程演算法 —— 答對就拉長間隔，答錯就拉回來。重點不是刷題數量，是讓你在快忘記的時候剛好遇到它。 練習模式 引導、自由、探險、Speed、Repeat、模擬面試。差別在提示多寡與時間壓力 —— Speed 逼你在時限內寫完，模擬面試把提示全關掉。 每題有獨立的 Markdown 筆記，跟結構化題解分開存：題解是「正確解法長怎樣」，筆記是「我當時卡在哪」。 題庫不隨附 倉庫裡只有 一題 完整範例，是為這個專案自己寫的。 原因寫在 NOTICE.md ：題目敘述、標題、題單名稱多半來…</description>
  </item>
  <item>
    <title>RG40XX V mainline kernel</title>
    <link>https://x213212.github.io/2026/08/rg40xxv-mainline.html</link>
    <guid isPermaLink="true">https://x213212.github.io/2026/08/rg40xxv-mainline.html</guid>
    <pubDate>Sun, 30 Aug 2026 04:30:00 +0800</pubDate>
    <description>Anbernic RG40XX V 是一台 Allwinner H700 的掌機，出廠跑廠商的 BSP kernel。我想讓它跑 mainline Linux 7.2 。 起因很單純：想要串流玩得順、想跑 RPG Maker 的遊戲。結果擋在路上的是 顯示 。 問題不是「還沒支援」，是「亮不起來」 Linux 7.2 本來就能在 H700 上開機，device tree 也涵蓋好幾台 Anbernic 掌機。缺的不是支援，是 這塊面板點不亮、點亮了也撐不住 。 大部分工作都在顯示，其中三個值得寫下來。 一、兩種 RDMA 架構混用造成的黑畫面 症狀是背光亮著、畫面全黑。 一開始往「userland 繞過驅動直接寫面板暫存器」的方向查，結果不是。問題在 kernel 裡面：DE33 mixer 已經改成 兩階段 RDMA enable 流程，但初始化時…</description>
  </item>
  <item>
    <title>自動交易的監控面板</title>
    <link>https://x213212.github.io/2026/08/trading-monitor.html</link>
    <guid isPermaLink="true">https://x213212.github.io/2026/08/trading-monitor.html</guid>
    <pubDate>Sun, 30 Aug 2026 03:40:00 +0800</pubDate>
    <description>自動交易最麻煩的不是策略，是判斷它現在有沒有真的在跑。服務可能活著但資料停更兩小時，資料可能是新的但下單器根本沒建置 —— 這兩種在 systemctl status 裡都是綠的。 所以把所有判斷條件拉到同一頁。以下只講功能，引擎以 A/B/C/D/E 代稱。 介面快照（可點分頁，識別字與數值均已置換）： https://x213212.github.io/monitor/ 串接的 API 類型 用途 加密貨幣期貨（測試網／主網） K 棒串流、下單、部位查詢 台股券商 API 模擬單、行情、帳務 systemd D-Bus 服務狀態、cgroup 資源與網路計量 主機 /proc 、 /sys CPU、記憶體、swap、磁碟、網卡 金鑰不行程式碼也不進設定檔，由執行環境注入，監控端完全不碰。 三層狀態 執行環境 — 頁首固定顯示目前 release…</description>
  </item>
  <item>
    <title>全球 UAP 資料圖譜</title>
    <link>https://x213212.github.io/2026/08/uap-data-atlas.html</link>
    <guid isPermaLink="true">https://x213212.github.io/2026/08/uap-data-atlas.html</guid>
    <pubDate>Sun, 30 Aug 2026 02:30:00 +0800</pubDate>
    <description>把公開的 UAP 目擊報告整理成一張可以互動的地圖。 線上版本： https://x213212.github.io/uap_dashboard/ 這是什麼 一個唯讀的資料收集器，把幾個明確開放批次取用的來源整理成統一格式，再輸出成靜態地圖。目前的資料規模： 觀測紀錄 29,322 筆（版本計數 29,331） 目擊報告圖層 28,252 個點位 天文對照圖層 881 筆 資料來源 2 個 打包後大小 4.2 MB（gzip GeoJSON） 地圖有兩個圖層： 目擊報告 是來源發布的「報告位置」， 天文對照 是 NASA 的火流星資料，永遠不計入目擊數 —— 放它進來是為了讓人自己判斷某個時間點的群聚是不是有別的解釋。 一個刻意的設計：報告位置不是物體位置 介面左上角有一段固定的警語： 圖上是來源發布的「報告位置」，不是已確認物體的位置，也不是外星生…</description>
  </item>
  <item>
    <title>3d scanner</title>
    <link>https://x213212.github.io/2026/05/3d-scanner.html</link>
    <guid isPermaLink="true">https://x213212.github.io/2026/05/3d-scanner.html</guid>
    <pubDate>Fri, 22 May 2026 22:05:44 +0800</pubDate>
    <description>3D-Scanner ESP32-S3 VL53L7CX turntable scanner firmware and raw-scan replay tools. 3D-Scanner 📁 Contents 🚀 Recommended Scan Flow 💻 Replay Examples Calibrated replay 📁 Contents firmware/esp32s3_vl53l7cx_model_server/esp32s3_vl53l7cx_model_server.ino ESP32-S3 web UI and scanner firmware. Supports raw-hit point cloud, calibrated visual hull, no-background envelope estimation, and…</description>
  </item>
  <item>
    <title>vibeos fpga</title>
    <link>https://x213212.github.io/2026/05/vibeos-fpga.html</link>
    <guid isPermaLink="true">https://x213212.github.io/2026/05/vibeos-fpga.html</guid>
    <pubDate>Sun, 17 May 2026 15:22:42 +0800</pubDate>
    <description>vibeos_fpga VibeOS on a Zynq-7020 FPGA development board. This repository keeps the source-level pieces for the current VibeOS FPGA
bring-up: vibeos/ : RISC-V OS, USB HID, SD/VibeFS, GEM/lwIP, SSH, and GUI source project_2/ : FPGA top-level RTL, HDMI/MMIO/USB debug RTL, Vivado Tcl, XSDB
  debug/load scripts, and board SOP notes ultraembedded_riscv/ : RISC-V core source used by…</description>
  </item>
  <item>
    <title>3d printer</title>
    <link>https://x213212.github.io/2026/05/blog-post.html</link>
    <guid isPermaLink="true">https://x213212.github.io/2026/05/blog-post.html</guid>
    <pubDate>Sun, 03 May 2026 02:55:00 +0800</pubDate>
    <description>v1 v2
引入https://github.com/ducalex/retro-go 可以玩gba v3 使用esp32p4 gba落在50fps可以玩 組一台3d列印機 最近比較有空，買了小魯班sss，店家說不會幫你升級和組裝，乾脆直接買改裝套件自己裝看一些網路教學硬改，
改了220x220 和24v 110電源和改泰坦頭,
最近想做一個掌機，在等esp32 s3到和鋰電充電晶片，最後會用3d列印 打包成掌機 我看來學一下pcb layout應該也蠻快的</description>
  </item>
  <item>
    <title>vibeos</title>
    <link>https://x213212.github.io/2026/04/vibeos.html</link>
    <guid isPermaLink="true">https://x213212.github.io/2026/04/vibeos.html</guid>
    <pubDate>Tue, 21 Apr 2026 15:05:00 +0800</pubDate>
    <description>vibe-os is an integrated RISC-V 32-bit QEMU browser OS.
我覺得我一直在測試ai的極限哈哈，三天把之前做過的專案揉成一個作業系統
Lineage: Original project: cccriscv/mini-riscv-os Referenced fork/base: x213212/mini-riscv-os This integration: vibe-os , based on 08-BlockDeviceDriver , adding GUI networking, WRP, and browser support. This project extends from the 08-BlockDeviceDriver stage of mini-riscv-os , adding a…</description>
  </item>
  <item>
    <title>build self os in riscv</title>
    <link>https://x213212.github.io/2026/04/build-self-os-in-riscv.html</link>
    <guid isPermaLink="true">https://x213212.github.io/2026/04/build-self-os-in-riscv.html</guid>
    <pubDate>Sat, 18 Apr 2026 21:11:00 +0800</pubDate>
    <description>build self os in riscv 很久沒更新，最近看到TempleOS，
今天早上無聊來將之前的專案進行合併，新增了lwip wget 下載檔案，預計想要再將這個os再多一個vga的瀏覽器，感覺用NetSurf 渲染都Ok，應該可以在目前的os進行上網，新增了檔案系統，和鍵盤滑鼠硬碟vga驅動
修掉了context switch bug , 使用vga去繪製os的圖形介面和移植一些
30dayMakeOS.
可以自由地放大縮小視窗，改了一個doom 風格迷宮的進去os，多context switch，可以透過qemu 下載http server上的 bmp 檔案，應該在堆一下tls 應該就可以上，等我加完https再來push References yourtion/30dayMakeOS — 本文提到的移植／參考原始碼基底。 川合秀實，…</description>
  </item>
  <item>
    <title>llm cli idapro mcp server &amp; 策略共振池+ga實驗</title>
    <link>https://x213212.github.io/2025/09/llm-cli-idapro-mcp-server-ga.html</link>
    <guid isPermaLink="true">https://x213212.github.io/2025/09/llm-cli-idapro-mcp-server-ga.html</guid>
    <pubDate>Sat, 06 Sep 2025 22:26:00 +0800</pubDate>
    <description>最近在透過cli 全自動化開發 這次比較特別一次混合三種主題，主要最近還是探索怎麼用ai去改善，自己寫code的習慣
嘗試了google gemini pro，qwen，codex 其中兩個我有訂閱，直接長出三個分身
基本上只要遵守 規劃流程和驗證 讓他們自己去迭代就可以了，比如說驗證交易系統，自動化寫交易策略，比如說可以讓他們自己使用回測框架自我回測檢查績效，再反過來重複驗證他們的策略提升報酬率，目前弄下來寫了六百多隻策略想做策略共振，實驗下來還是算滿意，確實從共振回測可以觀察出一些提前的規律，最近也有聽演講這邊有看到自動化破解這部分我比較感興趣，看來離全自動化分析破解應該不遠了xd，不過目前好像只有靜態分析，只不過後面如果開發應該大家都要去完善 mcp server 用pyhton 寫一個然後用llm 當大腦，慢慢補足這些相關經驗讓他去呼叫這些t…</description>
  </item>
  <item>
    <title>QEMU 在 RISC-V 上跑 Ubuntu</title>
    <link>https://x213212.github.io/2025/08/qemu-risc-v-ubuntu.html</link>
    <guid isPermaLink="true">https://x213212.github.io/2025/08/qemu-risc-v-ubuntu.html</guid>
    <pubDate>Sun, 24 Aug 2025 00:19:00 +0800</pubDate>
    <description>QEMU 在 RISC-V 上跑 Ubuntu 本筆記整合完整步驟與實驗心得，全部放在同一份，方便直接複製執行。涵蓋 QEMU + Ubuntu 啟動、QEMU / OpenSBI / U-Boot 最後正確編譯版本、網路/SSH、共享、NFS/CIFS/SSHFS、CoreMark 編譯、常見錯誤對應。 安裝必要套件： bash Copy sudo apt update
sudo apt install -y build-essential git wget xz-utils qemu-utils gcc-riscv64-linux-gnu \ libglib2.0-dev libfdt-dev libpixman-1-dev zlib1g-dev ninja-build meson \ nfs-common cifs-utils sshfs fl…</description>
  </item>
  <item>
    <title>OpenManus or dify workflow</title>
    <link>https://x213212.github.io/2025/08/openmanus-or-dify-workflow.html</link>
    <guid isPermaLink="true">https://x213212.github.io/2025/08/openmanus-or-dify-workflow.html</guid>
    <pubDate>Mon, 04 Aug 2025 01:15:00 +0800</pubDate>
    <description>OpenManus or dify workflow 這邊很久沒更新ai相關，大概是年初的文章了，假設ai真實接入工作或者流程會是怎樣，這邊更新一下ai運用在日常會大概是長怎樣
這邊實際上接入用ai去分析，整個工作內容應該會變超廢的，基本上24小時都可以自動分析自動跑，人基本上去檢查報告就好。 運用 OpenManus 在優化策略環節使用ai去優化策略，或者直接進行交易 可能要將回測績效，抽成function 讓ai 可以運用工具進行分析，他核心是一種react 技術，應該可以拆出來
https://github.com/mannaandpoem/OpenManus
https://zhuanlan.zhihu.com/p/30090038284 系統採用模組化架構，資料依序通過以下主要模組： 1. 資料取得 → 2. AI 分析 → 3. 策略判斷…</description>
  </item>
  <item>
    <title>qemu virtio net lwip</title>
    <link>https://x213212.github.io/2025/08/qemu-virtio-net-lwip.html</link>
    <guid isPermaLink="true">https://x213212.github.io/2025/08/qemu-virtio-net-lwip.html</guid>
    <pubDate>Mon, 04 Aug 2025 00:57:00 +0800</pubDate>
    <description>qemu virtio net lwip 整個改動在這個commit 實現
https://github.com/x213212/mini-riscv-os/commit/64d82fd26d69ecdd1985264ac2261d8a8919f46a
研究一下怎麼在 qemu 裡面新增一張 virtio 網卡並註冊到 lwip，使用一些常見的協議 這邊要讓 qemu 網卡收到封包，要透過橋接的方式送qemu虛擬網卡封包 code Copy # 建立 bridge sudo ip addr add 192 .168.100.1/24 dev br0
sudo ip link set br0 up
sudo ip link add name br0 type bridge # 把實體網卡加入橋接（先下線） sudo ip link set ens33…</description>
  </item>
  <item>
    <title>radio rtl sdr</title>
    <link>https://x213212.github.io/2025/07/radio-rtl-sdr.html</link>
    <guid isPermaLink="true">https://x213212.github.io/2025/07/radio-rtl-sdr.html</guid>
    <pubDate>Sun, 13 Jul 2025 17:04:00 +0800</pubDate>
    <description>radio rtl sdr 基本上有一段時間沒碰程式碼，玩一下無線電 攔截noaa衛星 氣象圖 noaa衛星追蹤軟體，這邊可以用
orbitron估算衛星經過的時間可以在這時候發送訊號，再透過錄製聲音訊號再轉NOAA APT、Weather Satellite APT、APT decoding應該可以看到圖 預測後有兩種方法可以接受訊號那就是
rtl sdr 這邊我買的是亞馬遜的 順便買了幾組無線電，這是kv6 也是開源的之後無聊可以刷機一下
燒頻道
chirb , 攔截飛機訊號 這邊要下載
dump1090-master.zip 注意這個要用最高權限才攔截的到rtl sdr，搞好久
用virtual radar server也可以攔截到訊號 攔截無線電訊號 rtl sdr</description>
  </item>
  <item>
    <title>oscilloscope art</title>
    <link>https://x213212.github.io/2025/07/oscilloscope-art.html</link>
    <guid isPermaLink="true">https://x213212.github.io/2025/07/oscilloscope-art.html</guid>
    <pubDate>Sun, 13 Jul 2025 17:02:00 +0800</pubDate>
    <description>Oscilloscope art https://www.youtube.com/watch?v=lrtXt2Liaf8
以前看到就很想來實驗一下，最近蠻有空的，要說示波器的話，我想先買簡單版的順便三用電表也不見了，買了這台zt702s
https://www.youtube.com/shorts/EBNega43BBY
那主控端就是nodemcu 了，那這邊用了node mcu 的兩個adc 和螢幕和旋鈕
再來就是比較有趣的震鏡可以控制xy軸這時候再買一個雷射當光源好材料到齊了開組 c Copy /* GALVO – Auto-cycle Waveforms (Square ▸ Triangle ▸ Circle) --------------------------------------------------------- • DAC25 →…</description>
  </item>
  <item>
    <title>OpenBCI</title>
    <link>https://x213212.github.io/2025/07/opensbi.html</link>
    <guid isPermaLink="true">https://x213212.github.io/2025/07/opensbi.html</guid>
    <pubDate>Sun, 13 Jul 2025 17:01:00 +0800</pubDate>
    <description>openbci 這一兩個月，研究一下嵌入式的東西買材料試試看動手能力，掏到一片openbci 的主機板，整個過程紀錄一下，最後真的可以用哈哈
9000塊可以玩初階的腦機介面
,順便練習一下動手能力，
https://docs.openbci.com/AddOns/Headwear/MarkIV/
這份是 openbci 的3d列印帽子的設計圖
詳細就印下來給廠商叫他列印零件，強度的話我是選碳纖維印下來在螺帽的部分強度不太夠
下圖是完成圖 請買杜邦線版本不然腦機街口沒辦法接，這邊主板用對岸翻版本的 deepbci 因為是對岸自幹的usb協議他有給一個繞過的部分主要還要裝process 但是你要修改裡面的 java Copy private LinkedList &lt; String &gt; getCytonComPorts () { final String…</description>
  </item>
  <item>
    <title>研究qemu內部機制與監控指令狀態</title>
    <link>https://x213212.github.io/2025/07/qemu.html</link>
    <guid isPermaLink="true">https://x213212.github.io/2025/07/qemu.html</guid>
    <pubDate>Sun, 13 Jul 2025 15:51:00 +0800</pubDate>
    <description>研究qemu內部機制與監控指令狀態 如果想理解一個指令級架構整個指令指行前和執行後的狀態，我最想知道的是每一行指令執行前和執行後的register的狀態和，整個cpu 記憶體的狀態這是我比較感興趣的，所以大概研究了一下qemu 有發現其實可以透過plugin 的方式去攔截qemu 指令執行過程中的info ,大概需要幾點，第一假設我指令級架構是 riscv 但是他要跑在x86上透過qemu 內部大概是會經過哪些stage呢
目前看下來就是 qemu 會把 riscv 一次翻譯一整個tb 也就是 TB = Translation Block，但是一般的qemu 預設你加-d 其實就有很多可以看 就是-d cpu vpu fpu等等，對我而言來講，還不夠細緻，因為我是在做軟體驗證，所以我必須要看到每一個tb裡面的inst 的內容，那第一我必須要修改所謂的…</description>
  </item>
  <item>
    <title>紀錄一下攔截某APP的封包流量透過中間人攻擊</title>
    <link>https://x213212.github.io/2025/02/app.html</link>
    <guid isPermaLink="true">https://x213212.github.io/2025/02/app.html</guid>
    <pubDate>Wed, 05 Feb 2025 03:38:00 +0800</pubDate>
    <description>紀錄一下攔截某銀APP的封包流量透過中間人攻擊 紀錄一下脫機的過程，因為一些因素所以，沒有追完全全部，等最近有空再說
反正主要目的就是假設一個APP 我要提取目標其中功能，我是否可以透過 HOOK的方式 將所有APP 流程轉成 API
也就是我要攔截 APP的 HTTPS 的流量 得到 請求的 request 然後在透過 攔截 app 的 簽章加密的 function 試圖找出簽這個 request 的 方法，這樣的步驟都做到的話基本上，你就可以偽造 這個 https 的請求了，當然有些情況可能變得更加棘手，有空再研究 目前整個流程就是hook call stack 的 function 看他從請求的 request 到觸發經過哪些 function，試圖找到 簽 request 的
function 再重新構造 request 進行呼叫
這邊要透過…</description>
  </item>
  <item>
    <title>android porting ollvm 混淆</title>
    <link>https://x213212.github.io/2025/01/android-porting-ollvm.html</link>
    <guid isPermaLink="true">https://x213212.github.io/2025/01/android-porting-ollvm.html</guid>
    <pubDate>Mon, 20 Jan 2025 21:56:00 +0800</pubDate>
    <description>android porting ollvm 混淆 check clang version code Copy C:\Users\x213212\AppData\Local\Android\Sdk\ndk\26.1.10909125\toolchains\llvm\prebuilt\windows-x86_64\bin\ code Copy C:\Users\x213212\AppData\Local\Android\Sdk\ndk\26.1.10909125\toolchains\llvm\prebuilt\windows-x86_64\bin&gt;clang -v
Android (10552028, based on r487747d) clang version 17.0.2 (https://android.googlesource.com/to…</description>
  </item>
  <item>
    <title>frida + burp Intercept https traffic</title>
    <link>https://x213212.github.io/2025/01/frida-burn-intercept-https-traffic.html</link>
    <guid isPermaLink="true">https://x213212.github.io/2025/01/frida-burn-intercept-https-traffic.html</guid>
    <pubDate>Sat, 18 Jan 2025 16:56:00 +0800</pubDate>
    <description>frida + burp Intercept https traffic det to cert
openssl x509 -inform DER -in test -out burp_cert.crt adb push .\burp_cert.crt /data/local/tmp
adb shell mv /data/local/tmp/burp_cert.crt /sdcard/Download/ gen ssl key code Copy openssl req -x509 -newkey rsa:2048 -keyout server.key -out server.crt -days 365 -nodes simple python server code Copy from http.server import HTTPServer ,…</description>
  </item>
  <item>
    <title>using ida pro debug apk &amp; hook native function example</title>
    <link>https://x213212.github.io/2025/01/using-ida-pro-debug-apk-hook-native.html</link>
    <guid isPermaLink="true">https://x213212.github.io/2025/01/using-ida-pro-debug-apk-hook-native.html</guid>
    <pubDate>Sat, 18 Jan 2025 14:16:00 +0800</pubDate>
    <description>using ida pro debug apk &amp; hook native function example 將IDAPro\dbgsrv內部的gdb server 透過 adb 傳到 虛擬機或手機內部 code Copy adb push android_x64_server /data/local/tmp
adb shell
su
cd /data/local/tmp
chmod 755 android_x64_server
./android_x64_server 這邊ida pro版本降到 8.3 這樣就可以debug app 的 so 了 build so 這邊加入 sdk tool cmake 然後你就可以在目錄創建一個c++ .so了 secchat code Copy #include &lt;jni.h&gt; #include &lt;string…</description>
  </item>
  <item>
    <title>use magisck root image &amp;&amp; frida example</title>
    <link>https://x213212.github.io/2025/01/use-magisck-root-image-frida-example.html</link>
    <guid isPermaLink="true">https://x213212.github.io/2025/01/use-magisck-root-image-frida-example.html</guid>
    <pubDate>Fri, 17 Jan 2025 03:31:00 +0800</pubDate>
    <description>use magisck root image &amp;&amp; frida example magisck 對 android 虛擬機進行root https://systemweakness.com/rooting-emulator-and-installing-magisk-c3cbd34ec436 這邊直接指向 android 虛擬機 ram disk.img刷入即可 code Copy &gt;rootAVD.bat system-images\android-35\google_apis_playstore\x86_64\ramdisk.img 啟動虛擬機 code Copy C:\Users\x213212\AppData\Local\Android\Sdk\emulator&gt;emulator.exe -avd Small_Phone_API_35 -wr…</description>
  </item>
  <item>
    <title>study nuitka module cache</title>
    <link>https://x213212.github.io/2025/01/study-nuitka-module-cache.html</link>
    <guid isPermaLink="true">https://x213212.github.io/2025/01/study-nuitka-module-cache.html</guid>
    <pubDate>Sun, 12 Jan 2025 23:07:00 +0800</pubDate>
    <description>study nuitka module cache 本來在研究看能不能在 nuitka 找尋 module 的時候加一層cache 追到後面發現作者已經有寫了，這邊記錄一下 code Copy def makeOptimizationPass (): """Make a single pass for optimization, indication potential completion.""" finished = True ModuleRegistry . startTraversal () _restartProgress () main_module = None stdlib_phase_done = False while True : current_module = ModuleRegistry . nextModule () i…</description>
  </item>
  <item>
    <title>webassmbly gb simulator support audio</title>
    <link>https://x213212.github.io/2025/01/webassmbly-gb-simulator-support-audio.html</link>
    <guid isPermaLink="true">https://x213212.github.io/2025/01/webassmbly-gb-simulator-support-audio.html</guid>
    <pubDate>Sat, 04 Jan 2025 02:18:00 +0800</pubDate>
    <description>webassmbly gb simulator support audio 之前的一個小專案移植到 webassbly 就沒繼續弄下去了，過了兩年chatgpt 出來真的感覺在讀文件還是完成需求或者一些bug好像幾乎用時間嚕都可以解決，
https://github.com/x213212/LLD_gbemu_wasm
https://github.com/x213212/LLD_gbemu_wasm/commit/5e64d6a4ffdd06f483d69c7f1128ba1495d7961d
補上makefile code Copy make build 
make run 就可以了. 記得用 chrome 去跑才可以跑滿 60 fps，直接跑應該可以make run 聽到熟悉 薩爾達傳說music 我覺得在 chanl4 再跑 usa版的 ro…</description>
  </item>
  <item>
    <title>Modify the gcc plugin to detect linklist memory leaks</title>
    <link>https://x213212.github.io/2025/01/modify-gcc-plugin-to-detect-linklist.html</link>
    <guid isPermaLink="true">https://x213212.github.io/2025/01/modify-gcc-plugin-to-detect-linklist.html</guid>
    <pubDate>Sat, 04 Jan 2025 02:08:00 +0800</pubDate>
    <description>Modify the gcc plugin to detect linklist memory leaks 最近又開始在看以前專案把想做的東西做完整，在以前檢測記憶體洩漏的時候有發現在linklist的部分memory leak好像沒有找到相對應的gimple 所以那大概新增這個 type就可以了
https://github.com/x213212/Static-analyzer-in-gccplugin/commit/e548d10ee978b05c0a2892b8cd4352f231ec2780
測資擴充為下面這樣 c Copy #include &lt;stdio.h&gt; #include &lt;stdlib.h&gt; #include &lt;time.h&gt; int * foo ( void ); #include &lt;stdio.h&gt; #include &lt;std…</description>
  </item>
  <item>
    <title>split nuitka flow by dll</title>
    <link>https://x213212.github.io/2025/01/split-nuitka-flow-by-dll.html</link>
    <guid isPermaLink="true">https://x213212.github.io/2025/01/split-nuitka-flow-by-dll.html</guid>
    <pubDate>Sat, 04 Jan 2025 01:56:00 +0800</pubDate>
    <description>split nuitka flow by dll 上次透過 ollvm 混淆，我發現這個網站感覺同個類型的不斷上傳會導致我的樣本數越檢測越多，這次再來透過一個方法來躲避看看，根據Nuitka的流程是 透過兩階段才能執行我的 binary 假設透過 --onefile 和 --standalone
壓出來exe被檢測的機率應該是蠻高的很大機率被識別為特洛伊木馬或者 Nuitka package 等等那其實
那假設希望下 --onefile又不想要核心主程式被刪掉或檢測 應該可以嘗試我的方法 目前實測應該都ok
那麼說一下nuitka 的 --onefile的行為好了，假設這樣編譯的話 nuitka最終會產生一個 執行檔，而 --standalone 一起下的會 這個執行檔執行的時候會解壓出相對應的 lib 相關文件等等，就是這個行為會導致被一堆防毒軟體…</description>
  </item>
  <item>
    <title>Improving Binary Security in Nuitka Compilation with OLLVM Obfuscation</title>
    <link>https://x213212.github.io/2024/12/improving-binary-security-in-nuitka.html</link>
    <guid isPermaLink="true">https://x213212.github.io/2024/12/improving-binary-security-in-nuitka.html</guid>
    <pubDate>Thu, 26 Dec 2024 21:24:00 +0800</pubDate>
    <description>上一篇從特徵碼開始下手，這次從異動 nuitka 的 compiler 來下手 這篇網站在以前的時候就有嘗試去呼叫ollvm 去加密 binary
https://blog.threat.zone/create-more-complicated-binaries-with-nuitka-llvm-obfuscator/ 那麼我們來透過 ollvm 去混淆 一些東西看能不能順便透過 Nuitka 進行編譯
目前 msys2 好像都沒看到人去編譯過，來移植一下 code Copy pacman -S --needed git wget mingw-w64-x86_64-gcc mingw-w64-x86_64-ninja mingw-w64-x86_64-cmake make mingw-w64-x86_64-python3
git config --g…</description>
  </item>
  <item>
    <title>Finding Antivirus Detection Virus Signatures (nuitka package)</title>
    <link>https://x213212.github.io/2024/12/finding-antivirus-detection-virus.html</link>
    <guid isPermaLink="true">https://x213212.github.io/2024/12/finding-antivirus-detection-virus.html</guid>
    <pubDate>Sun, 22 Dec 2024 13:03:00 +0800</pubDate>
    <description>Finding Antivirus Detection Virus Signatures (nuitka package) 最近在遇到 Nuitka 打包 會被eset 防毒軟體檢測的方式大概試了下面幾個方法
第一加殼，透過把 binary 壓縮 再套在另外一層的 c shell 來逃避 防毒軟體在 靜態分析掃描到相關特徵碼
第一種方法的話大部分防毒都會檢測到UPX 很早期的加殼，或著叫 chargpt 也可以產生一下簡單 aes 加殼 脫殼的方法 反正就是 將一些section 加密起來，因為是加密的，當 shell 啟動後會 decode 相關的 section 加載正確的 binary  data 這些東西當然就不存在於 病毒的資料庫裡面所以當然找不到。
第二移除特徵碼，之前對這個蠻感興趣，剛好有實際案例可以試試看，看了一些查找病毒特徵碼的to…</description>
  </item>
  <item>
    <title>mstc dqn cube</title>
    <link>https://x213212.github.io/2024/11/mstc-dqn-cube.html</link>
    <guid isPermaLink="true">https://x213212.github.io/2024/11/mstc-dqn-cube.html</guid>
    <pubDate>Mon, 04 Nov 2024 03:52:00 +0800</pubDate>
    <description>目前重寫一下大學的專題，這次想試試看用 chatgtp-o1 寫出 8355法解出魔術方塊看多少時間，大概從颱風天到現在四天，雖然演算法速度跟以前寫得比較慢，因為以前比較像是用一些我自己的解法和8355的轉法，這次全部靠隨機的路徑和8355的一些轉法來實作，不過當初用c#寫的時間是三個月主要是從研究魔術方塊寫法和找一個unity cube 模型和理解內部原理再把想法結合進去花費時間應該不能直接做對比 首先要先實作 cube才可以來實作解法，目前跟 chatgpt o1 回答一來一往，我覺得在面對大量的不清楚需求還是有一段差距，不過如果很清楚自己的需求我覺得大致方向還是很正確 開發速度還是快非常多. code Copy import numpy as np import copy # Define constants for face indices…</description>
  </item>
</channel></rss>
