|
[求助]问个汇编问题!
ebp-4是一个局部变量的值, 假设就是一个指针变量吧,,同时也假设EAX=1,对这个指针进行一些运算,寻址, 30-39就是数字0到数字9,明白了这点,也就知道,下面这些代码就是统计有多少个数字,每统计一个,EAX++,然后循环,直到10个数字为止,如果有非数字出现,跳转,可能是跳到错误处理部分。 // pseudo code // char *p; ...... for( int i = 1 ; i < 11 ; i++ ) { char b = *(p+i-1); if( b < '0' || b > '9' ) goto ERROR; } // now we have a pointer point to 10 digit number .... ERROR: .... |
|
[求助]一些关于外部中断的疑问
忽然想到一个问题,中断应该是只能发生在指令间的吧,也就是指令执行的中间是不会中断的。假设这个条件成立,那为什么检查中断会在指令中的S周期呢,不如直接放在指令后检查就是了。有人知道答案嘛? |
|
|
|
[原创]发个本地DOS 0day
有人分析了嘛? |
|
[求助]一些关于外部中断的疑问
也就是所谓的中断,还是通过轮询完成的了。 |
|
|
|
win32注册热键
你有没有试过WH_KEYBOARD,难道这个hook的消息也会被热键拦截? |
|
win32注册热键
没用过这个函数,只是说下想法。Win32编程中有一句需要牢记的话,消息在流动。 对于一个windows 应用来说,一般的键盘消息通过WM_KEYDOWN, WM_KEYUP去响应,这都是要应用自己去处理的。DefWindowProc本来就什么都不做的。我记得我刚刚学习win32编程时,就是自己做一个记事本(不用edit控件的),应用里就需要处理键盘消息。 如果你注册了热键,相应的按键消息会变成WM_HOTKEY,如果你希望还继续保持原来已经实现的按键功能,或许你应该这样。 case WM_HOTKEY: //hotkey function you need beginthead( ....... ) // activate oringal key function PostMessage( hwnd, WM_KEYDOWN, .... ); PostMessage( hwnd, WM_KEYUP, ... ); case WM_KEYDOWN: case WM_KEYUP: // your original code. 就是说,键盘消息应该是你的应用自己实现的,或者说是现有的控件中实现的(那样需要把消息发给相应的控件)。 |
|
[讨论]金山和360是通过什么方式锁定IE主页的
我提供2个想法,楼主可以试试。 1. 所有的配置都在注册表里,只要找对相应的配置项即可。360有可能会提示有程序修改IE的主页。 2. 浏览器扩展,通过事件处理,可以做到这个效果。 |
|
[原创]关于WinDbg的symbols加载失败的个人心得(申请邀请码)
[QUOTE=cntrump;1006152] symchk /r %windir%\system32 /s SRV*d:\symbols\*http://msdl.microsoft.com/download/symbols 也可以这样下载所有的符号文件。[/QUOTE] 我是来顶这个的。 |
|
[求助][求助]想让edit控件接受拖拽文件显示路径
this is answer. :) |
|
[求助]调用门格式中的32位offset
晕,你倒是应该认真看看我的文章。你连原理都不清楚,就想使用了。你知道call gate selector的意思嘛? call 3e3:00000000,你是怎么理解这句话的? 还有,门中各字段的含义, INTEL-X86保护模式下的内存管理 |
|
|
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值