process-crashed does not seem to work successfully
還沒有人認領這個 Issue。
評估
研究方向
使用 test.c 和 frida_test.py 重現崩潰,從 device.on('process-crashed', on_process_crashed) 和 session.on('detached', on_detached) 處理常式開始。比較 SIGSEGV 情況下的回呼和崩潰值。完成的標準是 process-crashed 處理常式在帶有崩潰資訊的情況下被觸發,或者如果此處不預期會有該回呼,則由 issue 記錄支援的行為。
由索引模型根據 Issue 內容生成。
描述
Use the following method to get the exit status of the attached program, but the function bound by process-crashed is not triggered. Only the function corresponding to detached is executed, but the data of the second parameter crash passed by the function is None.
test.c (Segmentation fault: 11)
...
char *buf = NULL;
buf[0] = -1; // -> SIGSEGV
...
frida_test.py
...
device.on('process-crashed', on_process_crashed)
session.on('detached', on_detached)
...
output
...
detached: reason='process-terminated', crash='None'
I noticed that Frida 12.3 introduced Device to add process-crashed to monitor crashes, but it didn't seem to work successfully.
frida 14.2.2
- 主要語言
- Python
- 星號
- 872
- 分支
- 173
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
frida/frida-python 的其他 Issue
-
難度 4/5 3-5 天 新手友好度 35/100
frida/frida-python#265 · 2 則留言 ·
-
難度 3/5 1-2 天 新手友好度 35/100
frida/frida-python#262 · 1 則留言 ·
-
難度 3/5 1-2 天 新手友好度 35/100
frida/frida-python#247 · 2 則留言 · 2 個 reaction ·
-
After a long period of hooking applications on Ubuntu, Python and JavaScript are unable to interact.未關閉
難度 4/5 3-5 天 新手友好度 25/100
frida/frida-python#246 ·
-
難度 4/5 3-5 天 新手友好度 20/100
frida/frida-python#243 ·
查看 frida/frida-python 的全部 Issue
相似的 Issue
-
[Bug] @deck.gl/arcgis dist import resolves to unpublished @deck.gl/core source path (9.3.11, 9.4.0)未關閉
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 1 天內回覆
-
workflow: a tick's dispatch counts as 'only this step', and no review self-grants a round unattended未關閉workflow
難度 2/5 1-3 小時 新手友好度 85/100
kristofdegrave/homeassistant-smart-charging#1505 ·
維護者通常 1 天內回覆
-
metadata submission
難度 2/5 1-3 小時 新手友好度 82/100
-
bug
難度 2/5 1-3 小時 新手友好度 65/100
canonical/content-cache-operator#163 · 1 則留言 ·
維護者通常 1 天內回覆
-
[submission]未關閉submission
難度 1/5 1 小時以內 新手友好度 65/100
leanprover/lean-eval-submissions#1852 ·
維護者通常 1 天內回覆