上一页 1 2 3 4 5 6 ··· 12 下一页
摘要: x86 寻址方式众多,什么直接寻址、间接寻址、基址寻址、基址变址寻址等等让人眼花缭乱,而 AT&T 语法对内存寻址方式做了一个很好的统一,其格式为 section:displacement(base, index, scale),其中 section 是段地址,displacement 是位移,ba 阅读全文
posted @ 2017-11-20 10:22 johnny_shi 阅读(485) 评论(0) 推荐(0) 编辑
摘要: PS:EBP是当前函数的存取指针,即存储或者读取数时的指针基地址;ESP就是当前函数的栈顶指针。每一次发生函数的调用(主函数调用子函数)时,在被调用函数初始时,都会把当前函数(主函数)的EBP压栈,以便从子函数返回到主函数时可以获取EBP。 下面是按调用约定__stdcall 调用函数test(in 阅读全文
posted @ 2017-09-29 13:51 johnny_shi 阅读(379) 评论(0) 推荐(0) 编辑
摘要: 位操作指令位操作指令包括位测试和位扫描指令,可以直接对一个二进制位进行测试,设置和扫描。 1位测试和设置指令 格式:BT DEST,SRC BTC DEST,SRC BTR DEST,SRC BTS DEST,SRC 功能:按照源操作指定的位号,测试目的操作数,当指令执行时,被测试位的状态被复制到 阅读全文
posted @ 2017-08-23 15:07 johnny_shi 阅读(3685) 评论(0) 推荐(0) 编辑
摘要: .section .tex .global _start _start : nop movl $1,%eax jmp overhere movl $10,%ebx int $ox80 overhere: movl $20,%ebx int $0x80 编译 : as -o jumptest.o ju 阅读全文
posted @ 2017-08-18 13:53 johnny_shi 阅读(310) 评论(0) 推荐(0) 编辑
摘要: 1. http://blog.csdn.net/myarrow/article/details/8129607/ 2. http://blog.csdn.net/liuhaomatou/article/details/40398753 3. http://www.cnblogs.com/snake- 阅读全文
posted @ 2017-08-08 11:22 johnny_shi 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 安装蓝牙测试安装包 之后 。 安卓包名字 android-cts-6.0_r19-linux_x86-x86.zip 解压之后 /cts/android-cts/tools/ 目录下 运行 ./cts-tradefed 进入之后 运行 run cts -p android.bluetooth --s 阅读全文
posted @ 2017-07-28 17:38 johnny_shi 阅读(703) 评论(0) 推荐(0) 编辑
摘要: 一、WIFI connect测试(STA)1.wpa_supplicant -d -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf -iwlan0 -B2.wpa_cli -p /data/misc/wifi/wlan0ps:因为wpa_supplica 阅读全文
posted @ 2017-07-17 11:41 johnny_shi 阅读(1054) 评论(0) 推荐(0) 编辑
摘要: Android4.2之前抓取hci log都是通过hcidump命令完成的,但是Android4.2 Bluetooth引入了Bluedroid,这是一个新的蓝牙协议栈。所以抓取hci log的方法也改变了。 在我的Bluetooth计划里,本来是没打算写这篇blog的,但是在留言里看见有人问,所以 阅读全文
posted @ 2017-07-11 13:47 johnny_shi 阅读(2635) 评论(0) 推荐(0) 编辑
摘要: 蓝牙芯片(WLAN/Bluetooth88W8688,串口连接最大3.6Mbps,64-byteFIFOs)作为外设有两条数据通路,一条是SSP3串行接口用于语音通信PCM数据的收发,用于创建SCO链路。另一条是和串口控制器的连接用于ACL数据分组的收发以及以数据分组为基础的其他应用。I2C总线用与 阅读全文
posted @ 2017-07-11 11:23 johnny_shi 阅读(657) 评论(0) 推荐(0) 编辑
摘要: 过滤信息,得到想要的帧进行分析。 http://www.networkcomputing.com/networking/wifi-troubleshooting-using-wireshark/1555390832 http://www.semfionetworks.com/blog/wiresha 阅读全文
posted @ 2017-07-05 11:17 johnny_shi 阅读(756) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 12 下一页