Comments (4)
@whuthj 刚刚没细看,有点答错了,我以为你要问如果真没有这个方法(GetCmdLine)怎么办,你这里打印不出来是因为这里还没赋值,要等 xhook_refresh 执行之后才会赋值的。
from patrons.
第二个问题看到sigsetjmp和siglongjmp的处理了
from patrons.
不过第二个还是有一些小问题,就是如果其他线程崩溃了(SIGSEGV),这里HandleSignal也会拦截到,那么可能会导致其他线程崩溃被吞没了,可能引发一些其他问题
from patrons.
-
尽量拿,真要是没有就用 libz 里的一个函数指针,真要是都不对,也没关系,本来也不需要保证 100% 兼容,线上情况看几乎没有拿不到这个的。
-
劫持信号的处理函数里会做判断,有一个 flag,如果不是我自己引发的信号会交还给原本的信号处理器处理。
from patrons.
Related Issues (12)
- 只能缓解崩溃吧,另外对gc 速度是否有影响 HOT 1
- Patrons用到的xhook是修改过的吗
- non_free_region_index_limit_可以删去,在代码中没有起到作用 HOT 2
- 小米 11 初始化失败 HOT 1
- 后续会支持到4.4 吗 HOT 1
- 怪不得淘宝这么卡 HOT 2
- 在x86的模拟器上会随机崩溃 HOT 2
- 压缩Region Space的地址空间会对Java堆内存分配造成影响吧? HOT 1
- 反编译工具咨询 HOT 1
- 是否仅对64位架构的大RAM手机运行32位应用的场景有效果? HOT 2
- 安装 demo 初始化失败
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from patrons.