|
[求助]关于C++静态数组初始值的问题。
你的第二句直接写成int ia[10];就行了,C++自动初始化值就是0。 我想要初始化为其它的值,一般要写的数组有几百上千。 不想一个一个定义,也不想for memset复制。 有没有办法修改默认初始值为别的值。 |
|
[求助]关于C++静态数组初始值的问题。
[QUOTE=whnet;1264474]int ia[10] = {10,10,10,10,10,10,10,10,10,10} 或者是int ia[10] = {0}; //全部是0[/QUOTE] 这种的数组小还可以,大的话得写一堆代码。 |
|
|
|
[求助]dll 线程调用游戏主线程,30分-1小时崩溃
看情况应该是访问冲突,OD加载时,设置不忽略任何异常。生成DLL时,记得生成PDB文件。这样OD可以源码级调试。 放在定时器里就没这情况,你定时器设置的多久触发一次啊。 LZ建议看看这篇文章。 http://blog.csdn.net/scucj/article/details/3479829 在你的"攻击"和"循环当前场景怪物"的代码中,有没有访问或者写入有可能已经失效的地址。 |
|
|
|
[原创]惰性DLL注入
这种注入,我觉得一般杀毒软件只要开着保护,就会拦截,因为你写进程内存包含call LoadLibrary了。不知道杀软检测不检测shellcode。 如果杀软只检测远线程的话,与其这样"惰性"注入。不如挂起主线程,保存线程上下文,修改EIP为shellcode地址。执行完毕在shellcode代码最后写个死jmp。 每隔一段时间检测EIP是否在死jmp处。如果是那就恢复原线程上下文。释放内存地址。 |
|
[求助]C++中成员函数可否调用构造函数?
十分感谢~ |
|
[建议]看雪的朋友们和管理员,请进来,强烈要求做视频教学
学习研究这些东西,没有捷径,踏踏实实的学吧。 |
|
|
|
有高手可以解释一个EXE文件为什么在别人电脑可以用拿到其他电脑就没办法正常运行了
没法正常运行是怎么个情况。说得这么模糊怎么给你回答啊。 |
|
add esp,0x80
LZ试试在OD中反汇编83 c4 80就知道了。一般立即数都是有符号的。 0~7f是0~127 FF~80是-1~-128 所以add esp,0x80如果1 byte的话,就溢出了 |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值