- 博客(9)
- 资源 (34)
- 收藏
- 关注
转载 Android 信号处理面面观 之 trace 文件含义
在前一章Android 信号处理面面观 之 信号定义、行为和来源 中,我们讨论过,Android 应用在收到异常终止信号(SIGQUIT)时,没有遵循传统 UNIX信号模型的默认行为 (终止 + core )。而是打印出trace 文件来,以利于记录应用异常终止的原因。 本文就重点分析 trace 文件是怎么产生的,并详细解释trace文件的各个字段的含义。一. TRACE 文件的
2012-04-19 13:09:18 2791
转载 Linux中的同步机制 -- Futex
Linux中的同步机制(一)--Futex引子在编译2.6内核的时候,你会在编译选项中看到[*] Enable futex support这一项,上网查,有的资料会告诉你"不选这个内核不一定能正确的运行使用glibc的程序",那futex是什么?和glibc又有什么关系呢?1. 什么是FutexFutex 是Fast Userspace muTexes的缩写,由Hubertus
2012-04-18 14:59:45 2595
原创 [Scripts][Perl] unmangle指定文件中所有mangle过的C++符号名
#!/usr/bin/perl# un-mangle c++ symbol# assuming the c++filt command is availableuse strict;use warnings;if ($#ARGV != 0) { print "usage:\n"; print "program filename\n";}my $in_
2012-04-11 16:57:09 1399
原创 [Scripts][Bash] Android下批量安装指定目录下的所有apk
#!/bin/bash# Install all apk in the specified directory[ "$1" ] || { echo "Usage: $0 /dir/path" exit 1}_dir=$1for d in $(find $_dir -maxdepth 1 -name "*.apk")do echo "$d
2012-04-11 14:17:59 1386
原创 Android中app调试:gdb如何在动态链接库中设断点
原文地址:http://blog.csdn.net/ariesjzj/article/details/7419776这种方法适用于想调试android中app所用到的.so库的情况,尤其是载入库后一会就出问题的情况。如果直接起gdb载入动态链接库的符号表,这时符号地址是不对的。本文中以某app为例,因此具体函数名依实例肯定有所不同。 第一步:Dev Tools -> Developme
2012-04-06 13:57:06 4477 1
转载 vim 复制粘贴
从Vim拷贝到系统粘贴板:"+y从系统粘贴板拷贝到Vim:"+p 或 Shitf + insert在vim里面,系统的粘贴板跟vim的寄存器+是关联的,所以你对寄存器加+的任何复制和粘贴都直接影响到系统的粘贴板。vim有12个粘贴板,分别是0、1、2、...、9、a、“、+;用:reg命令可以查看各个粘贴板里的内容.要将vim的内容复制到某个粘贴板,需要退出编辑模式,进入正常模式后
2012-04-01 15:57:04 1389
原创 将GDB中的输出定向到文件
有时候输出信息太长,屏放不下,下面介绍两种将gdb的输出信息存到文件的方法。方法一:适合临时向文件输出些信息的情况。比如要用info functions输出所有函数,结果往往有一大坨,所以可以将之输出到文件。(gdb) set logging file (gdb) set logging on(gdb) info functions(gdb) set log
2012-04-01 15:34:20 16758
原创 Android中apk包的反汇编
原文地址:http://blog.csdn.net/ariesjzj/article/details/7311340这里介绍比较流行的两种方法。方法一的优点是可将byte code反汇编成代码形式,但毕竟是逆向工程,有时还是会插些byte code,我还碰到过反汇编完打开到某些文件直接crash掉的,但毕竟少数。另外就是对xml和资源文件的反汇编貌似不给力。这方面方法二反汇编出来的
2012-04-01 14:50:50 11180 2
原创 virtualbox中访问默认挂载的shared folder时permission denied
把用户加入到vboxsf组里,比如用户名为jzj,则执行:sudo usermod -a -G vboxsf jzj
2012-04-01 09:59:02 4227
The.Art.of.Multiprocessor.Programming.Source.Code
2012-02-14
Windows Internals Fifth Edition
2011-01-28
Data.Mining.Practical.Machine.Learning.Tools.and.Techniques.Second.Edition
2010-09-08
Principles of Data Mining
2010-09-08
Understanding Search Engines: Mathematical Modeling and Text Retrieval
2010-09-08
Mining the Web-Discovering Knowledge from Hypertext Data
2010-09-08
Search Engines, Link Analysis, and User’s Web Behavior
2010-09-08
Professional Linux Kernel Architecture
2010-08-29
《Dynamic Programming and Optimal Control》 Vol 2
2010-07-05
《The nature of statistical learning theory》Vapnik V.N.
2009-10-25
《Elements of the Theory of Computation》
2009-10-02
《The Design of The Unix Operating System》(unix操作系统设计)
2009-10-02
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人