![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
shell
新生代CV搬运工
这个作者很懒,什么都没留下…
展开
-
shell 格式化 html 代码
从网址链接 wget 下来的 html 文件没有换行不便阅读 通过格式化后方便阅读。原创 2022-09-19 21:08:08 · 425 阅读 · 0 评论 -
shell修改bin文件
od -tx1 old.bin0000000 c8 00 00 00 55 01 00 00 dc 05 00 00 68 06 00 000000020echo " c8 00 00 00 55 01 00 00 dc 05 00 00 68 06 00 00" | awk '{ gsub(" ","\s*"); print $0}'\s*c8\s*00\s*00\s*00\s*55\s*01\s*00\s*00\s*dc\s*05\s*00\s*00\s*68\s*06\s*00\s*00.原创 2022-05-11 13:55:38 · 828 阅读 · 1 评论 -
Dumping User and Kernel Stacks on Kernel Events
Dumping User and Kernel Stacks on Kernel EventsDumping the native kernel and userspace stack when a certain code path in the kernel is executed can help with understanding the code flow when you ar...翻译 2019-06-25 17:26:56 · 269 阅读 · 0 评论 -
一条命令连接wifi使用adb
adb disconnect;sleep 2; adb root; adb wait-for-device devices;IP_ADDR=$(adb shell ifconfig |grep -A 1 "wlan*");IP_ADDR=${IP_ADDR#*addr:};IP_ADDR=${IP_ADDR%% *};adb tcpip 5555;adb connect ${IP_ADDR};a...原创 2019-06-26 11:07:10 · 1318 阅读 · 0 评论 -
Using Strace
Using StraceStrace enables you to see the system calls a process makes and what those system calls return.Building straceTo build strace, run the following:mmma -j6 external/straceAtt...翻译 2019-06-24 11:37:23 · 194 阅读 · 0 评论 -
Using GDB
Using GDBThe GNU Project debugger (GDB) is a commonly used Unix debugger. This page details using gdb to debug Android apps and processes for platform developers. For third-party app development, se...翻译 2019-06-24 18:55:53 · 417 阅读 · 0 评论