|
[讨论]看到这么多年轻人喜欢看雪很高兴
05年注册,然而依然是菜鸡 |
|
[求助]为什么我读0x0B43280这个地址的值,没有读到呢,地址里面的值是66,读出来是30768,是哪里写错了吗
二楼正解。你给的“0x0B432800”,带了双引号,相当于给的是这个字符串的地址,这个地址你读取了short就是两个字节,读取到的是“0x”这两个字符的值,就是30 78,也就是0x7830=30768 |
|
DES算法时,在置换函数中,由bit转为B时出现问题,想不通。
建议把完整程序发上来 |
|
[求助]地址问题
开发的话,使用这种的便于管理,反而会节省代码 |
|
[求助]地址问题
我理解的是这样的伪代码: struct A { int nA; char* str; } struct B { int nB; struct A* a; } struct C { int nC; struct B* b; } struct C* c = 0; void main() { c = new struct C(); c->b = new struct B(); c->b->a = new struct A(); c->b->a->str = new char[16]; } c->b->a->str 这样的,就类似于你的[[[111111]+10]+20]+30。 |
|
[讨论]年少轻狂
同样是兴趣,为什么你就是985,我就是。。。o(╥﹏╥)o |
|
|
|
[求助]现在依然有缓冲区漏洞吗?除C C++其它语言也存在缓冲区漏洞吗?
大概说一下栈溢出吧,假如函数有参数char* input 和int nInputSize,有一个局部变量char x[10]; 你用memcpy(x, input, nInputSize); 那么调用方如果给了超过10的nInputSize大小,x就会产生缓冲区溢出。 一般利用就是足够大的溢出覆盖掉栈返回指针,跳转到攻击者预期的代码中。 总结一下就是由于开发者的失误导致攻击者有机可趁。
最后于 2019-3-28 16:04
被yeyeshun编辑
,原因:
|
|
[已解决]单/多线程变量数据共享与交换.
ezrealik 谢谢你的帮助,应该是这个原因. 我去试试把SendMessage换线程外面看看可可以改成PostMessage,这个函数是发送完就返回,不等待 |
|
[已解决]单/多线程变量数据共享与交换.
多线程操作DrawThread的话,使用临界区或者原子级操作会好一点。使用互斥应该也是一样可以的。 代码中用到了SendMessage,这个函数是会等待消息处理函数执行完毕才返回的,你审查一下几个SendMessage的消息处理函数。 |
|
[求助]易语言多线程同步进行就崩溃非读写全局变量求解
有静态变量吗? |
|
|
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值