|
[原创]使 Python 可编译
真正目的是神马? 仅仅是为了让py可编译? ( 转化为native code, 一方面提高运行速度,另一方面也提高别人逆向你的代码的难度) 如果仅仅是为了让py可编译, 自己造轮子的必要性是啥? py --> go --> native 相比 py - (cython自动编译) -> native 有啥优势? |
|
[下载]Visual Studio 2012 Ultimate 简体中文正式版
英文版的: http://download.microsoft.com/download/D/B/0/DB03922C-FF91-4845-B7F2-FC68595AB730/VS2012_ULT_enu.iso 下载中....迅雷下载基本能达到满带宽 |
|
OD反调试里发现连续有一段sleep(0),请教各位一下这样写是什么意思呢?
while(ture) sleep(0); ---------------------几乎不会占cpu while(true) NULL; // 单CPU 100% |
|
|
|
[原创]qq显IP支持最新版(有码)
该有注释的地方都有了,谢谢~ |
|
|
|
|
|
[分享]超级巡警的面试
根据匈牙利命名法,整个linux内核的变量命名99.9999999...%都得重新命名 |
|
[分享]超级巡警的面试
不考虑继承,private和protect的区别在哪里? |
|
[分享]超级巡警的面试
通常情况下 #define NULL (void)0 |
|
[分享]超级巡警的面试
if ( this == &a) return *this; --------------------------------- 这不是bug,是经典用法。请自行翻 Effective C++, "防止在赋值操作符中自己赋值给自己" |
|
[分享]超级巡警的面试
if (this == *a) return NULL; ---------------------------- 你这叫修正bug???能通过编译???除非你自己写个编译器。 |
|
[分享]超级巡警的面试
你能传空引用??? |
|
[分享]超级巡警的面试
哈哈,果然死循环了!!! 但是没有溢出喃 [root@localhost root]# vi pediy.cpp #include <iostream> class A { protected: int m_n; public: A():m_n(1) { std::cout << "default ctor" << std::endl; } A(const A& a) { std::cout << "copy ctor" << std::endl; *this = a; } A operator=(const A& a) { std::cout << "operator =" << std::endl; if (this == *a) return *this; m_n = a.m_n; return *this; } }; int main(void) { A a; A b(a); } [root@localhost root]# g++ pediy.cpp [root@localhost root]# ./a.out default ctor copy ctor operator = copy ctor operator = copy ctor operator = copy ctor operator = copy ctor operator = copy ctor operator = copy ctor operator = copy ctor operator = copy ctor operator = ...... |
|
[分享]超级巡警的面试
原题 是A operator= ---------------------- ^_^,巡警出题的人真是不小心啊,这样会产生临时变量,并调用拷贝构造函数。效率很是问题。 另外,如果又实现成拷贝构造函数中调用=操作符,那岂不是死循环了??? stack overflow (没有测试过哈....) |
|
[分享]超级巡警的面试
A( A &objA ) { *this = objA; // 他们说这里这样用错了。我无语了。 }; void operator=( A &objA ) { m_nTest = objA.m_nTest; }; ---------------------------------------------- 逆向我不懂。不过C++看来比巡警厉害一点 *this = objA 本身肯定是对的,不存在说啥子简单的对,复杂的就不对,因为你重载了=运算符 但可惜的是=运算符重载有错误 不应该是void operator= 应该是 A & operator= 你写成 void operator= ,在你的例子中正确,是因为这里实际上先调用了默认构造函数。(这时,你运行能跑到正确的结果就仅仅是因为A是简单对象,如果A有复杂成员,如指针,就会出问题了。) |
|
一款盗取最新版QQ密码的DLL 求分析
qq2012没有完整性校验么,还可以替换dll? |
|
[原创]主动防御缓冲区溢出攻击的硬件技术
硬件专利得有样品吧?光拍脑袋想也可以吗? |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值