Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] 关于 #169 #142 RE 问题的想法 #185

Closed
accepted-zhs opened this issue Sep 14, 2022 · 1 comment
Closed

[Feature] 关于 #169 #142 RE 问题的想法 #185

accepted-zhs opened this issue Sep 14, 2022 · 1 comment
Labels
想要点新功能 | Feature Request 想要加上某些功能 需要讨论 | Need Discussion 这个问题需要大家一起讨论下呢

Comments

@accepted-zhs
Copy link

Is your feature request related to a problem? Please describe.
你的功能请求是否与某些问题有关?请描述。

#169 #142

Describe the solution you'd like
描述您想要的解决方案

size 可以获取二进制文件中数据段的大小。一般 Linux 自带 size 程序,Windows 用 GNU Binutils 也会有 size 程序,macOS 不清楚。

可不可以提前利用 size 的输出判断这个程序非动态分配的内存是否超限,避免一开始就报 RE?如果没有 size 程序,就不判断。

Additional context
补充内容

感觉改改 watcher_unix.cpp 就行...

@accepted-zhs accepted-zhs added the 想要点新功能 | Feature Request 想要加上某些功能 label Sep 14, 2022
@tofucurd
Copy link

size 可以获取二进制文件中数据段的大小。一般 Linux 自带 size 程序,Windows 用 GNU Binutils 也会有 size 程序,macOS 不清楚。

补充一下,macOS下也自带size

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
想要点新功能 | Feature Request 想要加上某些功能 需要讨论 | Need Discussion 这个问题需要大家一起讨论下呢
Projects
None yet
Development

No branches or pull requests

3 participants