|
优化C++程序编译效率的实例
最初由 FlyToTheSpace 发布 nono,不是大的程序自己搞的,是操作系统做的。 在你的窗口最小化的时候,操作系统自动帮你把内存最小化了。 所以,你自己就更没有必要去调这个函数了。 最初由 dwing 发布 nono,mfc42.dll从win98se开始,到longhorn都是默认有的。vc6 mfc的程序,编成release就可以在每台机器上跑了,不用到处拷个mfc42.dll |
|
优化C++程序编译效率的实例
最初由 FlyToTheSpace 发布 SetProcessWorkingSetSize只是给你感观上的内存变小而已, 如果你弄个hook进入photoshop这样的程序去做这件事, 你就会马上发现为什么别人并不怎么用 SetProcessWorkingSetSize SetProcessWorkingSetSize只是把内存写回磁盘,当用到时又要从磁盘加载回来,程序一大,内存量本身占用大,你次读写磁盘那么慢,你就会发现虽然内存占用量下去了,但是硬盘一真转个不停,程序基本上动不了... 所以如何节内存,不应从SetProcessWorkingSetSize下手, 当然现在你写的小程序可以例外. 其实如果有个界面,占用个1M的内存实在是小事,不必要去计较. |
|
[原创]在堆栈中运行代码
在有数据执行保护的机器上你的程序就挂了。 |
|
|
|
|
|
Google™ Code Jam - 中国编程挑战赛 [推荐][注意]
看错题了,唉,错了。 |
|
HideOD 0.13(隐藏OD插件)
最初由 liuyilin 发布 一台机器两个人同时用,一个人在调程序,另一个人的程序就要报错? 推广一下,是不是一个局域网里有人在调程序,就要报错? 你只从脱壳的角度考虑似乎应该,从写壳的角度考虑一下,这样的特性能用吗? 如果已经跑了一个arm之类的双进程壳,你的壳就跑不了了... 那你的壳也太弱了。 |
|
HideOD 0.13(隐藏OD插件)
最初由 kanxue 发布 屁,别理它。 这个检测的是全系统中是不是存在一个调试器正在调试程序。 你打开vc调试一个正常程序,然后运行它,也会报发现了调试器。 如果说,这样发现调试器也算正常的话, 那你打开一个arm的双进程程序。 然后再运行它,照样报发现调试器。 这样,这种检测办法直接与其它壳冲突,也与用户的正常操作冲突。 这个检测方法根本就不合理, 当玩具还可以,根本不能用于真正的壳。 别理那些?人,不用patch。 |
|
|
|
|
|
[求助]求一个未知壳是什么壳
主页上下载的 peid 0.94 已经收集了你的扩展库了。其中包括obsidium 1.25 不过peid没有识别它出来, 虽版本未知,不过是obsidium应该没错。 估计也是 1.2X 的版本。 知道了是什么壳,接下来的事,应该也就简单一些了。 |
|
[讨论]用RET直接代替invoke ExitProcess, NULL,是否可取?
最初由 thebutterfly 发布 主线程ret自动exitprocess 非主线程ret自动exitthread 主线程exitthread自动exitprocess 请参考windows源码。 对于播音频这种,如果非主线程还在系统空间未返回用户空间,操作系统可能有一定等待时间。 |
|
OD插件 DebugPrivilege( C代码)
最初由 simonzh2000 发布 事实上这个开销并不大,你可以profile一下。 它比创建新线程的开销要小很多。 与hook不一样,hook有很多种: 1. 通过修改代码的方法hookapi,在修改代码的时候可能带来问题。特别是,如果有两个这样的hook,能正常工作吗? 2. 通过修改引入表的hook,没有修改代码问题,但两个这样的hook直接冲突。 3. windows的hook,SetWindowsHookEx当不指定线程时会搞得每个进程中都有dll,现在我最讨厌这一点了,看到哪个程序这么做就去把它干掉。如果指定线程还好。这种hook用来搞windows的消息,搞不定api。 mainloop实际上都没有这样的问题。没有修改代码问题,没有冲突问题。 而你提到的性能问题,事实上也并不存在。事实上让od来增加这样一个函数, 只不过是把你的工作移到od里。mainloop的哪几句代码对od的影响,小于创建一个线程,也远小于给plugin加个壳。 |
|
[原创]木马彩衣的原理和代码示例
最初由 kinglon 发布 加了壳的程序都有自校验的,你这个骗识壳的东东,先让程序自身没法运行了。 再说结构较简单,手动很容易判断出来把入口改掉。 精神可佳,但目前感觉这个东东用处不大。 |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值