|
[原创]蜀门辅助
正在学习楼主的源码,已能正确启动游戏,后面的代码正在慢慢看,楼主能加下我吗?我的QQ在公开信息里面 |
|
[公告]《2015MSC移动安全挑战赛(第二届)》15万奖金等你赢![比赛结束]
围观围观,期待围观奖 |
|
|
|
[原创]让阿蛋-VP再升级一次吧
看不懂,先收藏了。等下次看 |
|
[原创]通用脱壳辅助工具(更新到0.5版)
my god!菜鸟来学习下 |
|
[原创]一个完全基于虚拟机的通用脱壳机
测试了下,提个小建议:界面线程和工作线程区分开下,不然读取文件的时候界面线程会很卡(像死机一样) |
|
[原创]一个完全基于虚拟机的通用脱壳机
强大的东西。不顶不行呀。 |
|
[原创]二哥的超经典教程,手动脱壳十八篇载点
顶。我也学习下 |
|
求助 如何变成中级会员。
俺是小菜鸟一个,慢慢学习,到学到知识的时候就会升级的。 |
|
[求助]线程同步
还是“密码学小组(见习)理论及数学组”厉害 |
|
[求助]线程同步
o my god , 没有 delete掉 |
|
[求助]线程同步
#include "stdafx.h" #include <Windows.h> #include <process.h> #include <iostream> using namespace std; #include <Windows.h> DWORD increased = 0; LONG atom_increase = 0; unsigned int _stdcall IncreaseThread(void* lpVoid) { DWORD ThreadID = *(DWORD*)(lpVoid); if (ThreadID) { int count = 0; while(count++<100) { while(::InterlockedExchange(&atom_increase, 1) == 1) ::Sleep(1); cout<<ThreadID<<"\t"<<increased++<<endl; if (count==100){ cout<<"thread "<<ThreadID<<" quit"<<endl; } ::InterlockedExchange(&atom_increase, 0); ::Sleep(10); } Sleep(1); return 0; } else { cout<<"invalid parameter!"<<endl; return 1; } } int _tmain(int argc, _TCHAR* argv[]) { HANDLE handles[1000]; cout << "请输入1-1000待创建的线程数" << endl; DWORD dwN = 0; cin >> dwN ; for (int i = 0 ; i< dwN; i++) { DWORD* ptr = new DWORD; *ptr = i; unsigned int dwThreadID; handles[i] = (HANDLE)_beginthreadex(NULL, 0, IncreaseThread, ptr, 0, &dwThreadID); if (handles[i] == INVALID_HANDLE_VALUE){ cout<<"create thread failed"<<i<<endl; } } // 设置不受信(WaitForMultipleObjects根本没有用,强制主线程不退出) Sleep(INFINITE); ::WaitForMultipleObjects(66, handles, TRUE, INFINITE); cout<<"leave"<<endl; return 0; } 修改了你的代码,你试下这个。(_beginthreadex()要用多线程库才能编译成功) |
|
[求助]线程同步
DWORD* ThreadID = (DWORD*)lpVoid;可以换成DWORD ThreadID = (DWORD)lpVoid; CreateThread在C++编程里面是不安全的。可以用_beginthreadex(); |
|
[原创]各种反调试技术原理与实例
顶礼膜拜 |
|
[开源]卓然主动防御源码(可执行文件+完整源码+完整作品报告)
开源伟大,楼主的分享,才有后贴。大家学习了。。 |
|
[注意]分这么难挣,总算攒够了
貌似我分也够了 |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值