symbian源码逆向
sapair
码农小硕一枚,目前工作两年。。。
展开
-
Symbian源代码还原之五——判断函数
int CCoeControl::OwnsWindow(void) const { return iFlags & 4; } int CCoeControl::IsBackedUp(void) const { return iFlags & 0x100; } int CCoeControl::IsActivated(void) const { return iFlags & 0x10;原创 2009-08-24 10:12:00 · 851 阅读 · 0 评论 -
Symbian源代码还原之三——void CCoeControl::ActivateL(void)
ActivateL是个好东西,好多人都想知道其内部实现,可惜苦于没有源代码。现在我把逆向代码贴出来,让大家一饱眼福,呵呵。错误在所难免。 void CCoeControl::ActivateL(void) { if (iFlags & 0x80000) { User::LeaveNoMemory(); } if (EFalse == IsActivated()) { i原创 2009-08-24 10:03:00 · 1054 阅读 · 0 评论 -
Symbian源代码还原之四——const CCoeControl* CCoeControl::SearchParent(const CCoeControl* aParentToFind)
const CCoeControl* CCoeControl::SearchParent(const CCoeControl* aParentToFind) { if (NULL == aParentToFind) { return NULL; } CCoeControl* tmpCtrlPtr = aParentToFind; TInt count = 0x64; do {原创 2009-08-24 10:10:00 · 695 阅读 · 0 评论 -
Symbian源代码还原之一——TRect CCoeControl::Rect(void) const
重要声明:由于Symbian的源代码不是任何人都能得到的,所以这大大限制了我们对Symbian的理解。现在我在业余时间对Symbian框架的模拟器版本代码进行了相应的逆向还原。注意,仅供参考,由于本代码造成的任何问题,均与本人无关! TRect CCoeControl::Rect(void) const { TPoint point; TSize sz; if ( OwnsWindow(原创 2009-08-20 18:22:00 · 1067 阅读 · 1 评论