码迷,mamicode.com
首页 >  
搜索关键字:inline hook    ( 8678个结果
Ring3下实现进程保护,不用hook
今天在分析一款木马的时候,发现做了进程保护,没加驱动,也没做hook,能做进程保护,感觉非常奇怪,原来是这么一回事,mark一下吧! #include "stdafx.h" #include #include #pragma comment(lib,"Advapi32.lib") BOOL Ring3ProtectProcess() { HANDLE hProcess = ::Get...
分类:其他好文   时间:2014-05-10 09:31:43    阅读次数:461
blocks 学习
Ios4已经直接支持blocks,很有必要学习一下。在ios,blocks是对象,它封装了一段代码,这段代码可以在任何时候执行。Blocks可以作为函数参数或者函数的返回值,而其本身又可以带输入参数或返回值。它和传统的函数指针很类似,但是有区别:blocks是inline的,并且它对局部变量是只读的...
分类:其他好文   时间:2014-05-09 12:31:01    阅读次数:262
c++ inline
const string &shorterString(const string &s1, const string &s2){return s1.size() < s2.size() ? s1 : s2;}inline const string &shorterString(const strin...
分类:编程语言   时间:2014-05-09 05:56:56    阅读次数:300
解析_theme_build_registry()和_theme_process_registry()
Drupal使用_theme_build_registry()和_theme_process_registry()两个函数构建theme registry。theme registry是theme hook的集合组数。这里以practice模块定义两个theme hook为例,说明一下theme r...
分类:其他好文   时间:2014-05-08 20:39:16    阅读次数:418
IE6行高(line-height)失效
i am bug .bug{height:60px;line-height:60px;background-color:#999;} .bug span{display:inline-block;width:100px;height:20px;background-color:#ff0000;v.....
分类:其他好文   时间:2014-05-08 14:47:23    阅读次数:293
display:inline-block的深入理解
在使用CSS实现表现的时候,会经常接触到display:inline-block 这一属性,无论是初接触 Web 标准还是接触标准已久的朋友,大都会对这一属性感觉很迷惑和模糊。display:inline-block将对象呈递为内联对象,但是对象的内容作为块对象呈递。旁边的内联对象会被呈递在同一行内...
分类:其他好文   时间:2014-05-08 13:44:57    阅读次数:311
iOS BCD编码
inline static NSData* encodeBCD(NSString *value){ //NSString *value = @"123456"; NSMutableData *vdata = [[NSMutableData alloc] init]; __uint8_t bytes[1] = {6}; [vdata appendBytes:&bytes length:1...
分类:移动开发   时间:2014-05-07 12:28:39    阅读次数:404
iOS 通过HEX(十六进制)得到一个UIColor的对象
inline static UIColor* getColorFromHex(NSString *hexColor) { if (hexColor == nil) { return nil; } unsigned int red, green, blue; NSRange range; range.length = 2; ...
分类:移动开发   时间:2014-05-07 11:48:26    阅读次数:327
boost::mpl::eval_if的用法
最近看boost的时候总是遇见这个eval_if,不知道啥意思,就没法看下去了,比如 前篇文章boost::serialization 拆分serialize函数分析时就出现这样一段代码: template inline void split_member(Archive & ar, T & t, const unsigned int file_version) { typedef BOOS...
分类:其他好文   时间:2014-05-07 06:21:14    阅读次数:556
emacs中eshell的快捷键配制
eshell是emacs shell的简称,是emacs自带的shell.开始设置的时候还在想是否要找到它的key map (eshell-mode-map?). 原来它是采用hook设置,如下所示 (add-hook 'eshell-mode-hook (lambda () (local-set-key (kbd "C-j") 'switch-to...
分类:其他好文   时间:2014-05-07 05:25:39    阅读次数:253
8678条   上一页 1 ... 864 865 866 867 868 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!