会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
nXqaL's Blog
Pains make you stronger, tears make you braver, and heartbreaks make you wiser. So thank the past for a better future.
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
下一页
2015年3月2日
mac 无法ssh localhost,错误提示:bash: /usr/local/bin/ssh_session: Permission denied
摘要: 在网上找了很久也没有找到解决方案,最后根据提示自己摸索如下:1.编辑/etc/sshd_config文件,注释掉#ForceCommand /usr/local/bin/ssh_session2.启动sshd服务:sudo launchctl load -w /System/Library/Laun...
阅读全文
posted @ 2015-03-02 18:10 nXqaL
阅读(3340)
评论(0)
推荐(0)
2015年2月5日
arm opcode hook
摘要: ARMCortexM3指令集在arm中hook我们需要用到bl这个转移指令.其效果和x86中的call有点类似.下面来说说armbcc的公式.(自己多次尝试总结的,如果有不对的地方希望大家能指点一下.)计算opcode:(dst-src)/4-2=opcode计算dst:src+(opcode+2)...
阅读全文
posted @ 2015-02-05 18:23 nXqaL
阅读(667)
评论(0)
推荐(0)
5个在线调试代码的网站
摘要: 对于编程开发的人来说,有个快速测试代码的地方是非常方便重要的,这里,我们收集了5个很好用的在线调试网站。1.codepad是一款简单的在线 IDE 编辑器服务,你只需要把代码粘贴进去就可以编译运行了,连工程也不需要新建,而且 codepad 支持的语言达到了9种,支持的语言有:C,C++,D,Has...
阅读全文
posted @ 2015-02-05 16:59 nXqaL
阅读(1390)
评论(0)
推荐(0)
android 动态调试笔记
摘要: 1、修改apk配置文件AndroidManifest.xml 修改配置文件子项,添加 android:debuggable="true" 属性,使apk处于可调式状态,打包回编即可。 2、调试启动apk(两种方式) 1)使用adbshell am(没用过) 使用格式为 【adb shell...
阅读全文
posted @ 2015-02-05 16:58 nXqaL
阅读(304)
评论(0)
推荐(0)
2014年10月15日
感谢某人
该文被密码保护。
阅读全文
posted @ 2014-10-15 17:11 nXqaL
阅读(5)
评论(0)
推荐(0)
2013年9月17日
关于屏幕传输的一些资料
摘要: //获取当前屏幕的颜色质量 DEVMODE devMd; EnumDisplaySettings(NULL, ENUM_CURRENT_SETTINGS, &devMd);int color = devMd.dmBitsPerPel;//设置屏幕的当前质量 DEVMODE devMode; devMode.dmBitsPerPel = color; //设置颜色 devMode.dmSize = sizeof(devMode); devMode.dmFields = DM_BITSPERPEL; ChangeDisplaySettings(&devMode, 1);
阅读全文
posted @ 2013-09-17 11:40 nXqaL
阅读(174)
评论(0)
推荐(0)
2013年8月9日
那些有意义的英语
摘要: Some things are so important that they can force us to overcome our fearsRemember when life's path is steep to keep your mind evenIn life it's not where you go , Is who you travel with
阅读全文
posted @ 2013-08-09 13:35 nXqaL
阅读(182)
评论(0)
推荐(0)
2013年6月29日
转换2进制代码
摘要: void FormatBinary(__int64 num,char buf[]){ int nCount = 0 ; while ( 1 ) { if( ( (__int64) 1 num) break ; if( ( num >> nCount ) & 1 == 1) { buf[nCount] = '1'; }else { buf[nCount] = '0' ; } nCount++; } fo...
阅读全文
posted @ 2013-06-29 20:16 nXqaL
阅读(333)
评论(0)
推荐(0)
2013年6月24日
Orange's 操作系统实现【一】 最简单的引导扇区
摘要: 1 org 0x7c00 ;告诉编译器程序加载到0x7c00位置 2 mov ax,cs 3 mov ds,ax 4 mov es,ax 5 Call DisPlayStr ;调用字符串显示例程 6 jmp $ ;无限循环 7 DisPlayStr: 8 mov ax,BootMessage 9 mov bp,ax ;es:bp = 串地址10 mov cx,16 ;cx = 长度11 mov ax,0130...
阅读全文
posted @ 2013-06-24 14:09 nXqaL
阅读(220)
评论(0)
推荐(0)
2013年5月4日
(1) C++ 类的构造都会做哪些事?
摘要: struct Point{ int x ; int y ;};class CBase{public: CBase(void); ~CBase(void);public: Point point ;public: virtual void Draw(); virtual void Paint(); void PulicSet() ;private: int nFinsh ;};//构造函数CBase::CBase(void){ nFinsh = 65535 ; point.x = 55 ; point.y =...
阅读全文
posted @ 2013-05-04 20:41 nXqaL
阅读(293)
评论(0)
推荐(0)
上一页
1
2
3
4
5
下一页
公告