03 2023 档案

perf probe
摘要:https://hustcat.github.io/perf-trace-and-perf-probe/ Bash下: perf probe -x /lib64/libc.so.6 '--add=__GI_read fd=%di buf=%si len=%dx' perf record -e pro 阅读全文

posted @ 2023-03-18 16:08 爱新觉罗玄烨 阅读(112) 评论(0) 推荐(0) 编辑

gdb 执行脚本
摘要:cat gdb.cmd handle SIG37 nostop noprint handle SIGSTOP nostop noprint set height 0 set follow-fork-mode child set logging on b read if $rdi == 169 com 阅读全文

posted @ 2023-03-17 10:26 爱新觉罗玄烨 阅读(175) 评论(0) 推荐(0) 编辑

gdb commands
摘要:b xxxx if $rdi == 123 commands bt c end 阅读全文

posted @ 2023-03-16 14:38 爱新觉罗玄烨 阅读(12) 评论(0) 推荐(0) 编辑

#define xxxxx “ABCD” 这样的字符串被放到r--xp代码段
摘要:hexudmp -C 查到字符串偏移量 info proc mappings cat /proc/`pidxx`/maps 查到 vma段 r--xp 然后偏移量+起始地址,就是字符串在进程虚拟地址位置。 阅读全文

posted @ 2023-03-16 10:52 爱新觉罗玄烨 阅读(58) 评论(0) 推荐(0) 编辑

shell 9 -管理重任- 向用户终端发送消息
摘要:1 #!/bin/bash 2 set -x 3 USER=$1 4 devices=`ls /dev/pts/* -l | awk '{print $3, $10}'| grep $USER | awk '{ print $2}'` 5 for dev in $devices 6 do 7 cat 阅读全文

posted @ 2023-03-15 20:29 爱新觉罗玄烨 阅读(19) 评论(0) 推荐(0) 编辑

kprobe
摘要:https://www.cnblogs.com/hpyu/p/14257305.html 阅读全文

posted @ 2023-03-14 17:40 爱新觉罗玄烨 阅读(6) 评论(0) 推荐(0) 编辑

gdbinit ptype offsetof
摘要:(gdb) p offsetof( struct net_device,mtu)$1 = (unsigned int *) 0x240 <irq_stack_union+576>(gdb) shell cat ~/.gdbinitmacro define offsetof(t, f) &((t *) 阅读全文

posted @ 2023-03-14 17:09 爱新觉罗玄烨 阅读(33) 评论(0) 推荐(0) 编辑

gicv3 arm64 中断亲核 affinity
摘要:https://blog.csdn.net/wenfei11471/article/details/80303750?utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default 阅读全文

posted @ 2023-03-14 15:36 爱新觉罗玄烨 阅读(31) 评论(0) 推荐(0) 编辑

centos
摘要:http://rdmirrors.h3c.com/centos-vault/ 阅读全文

posted @ 2023-03-08 17:01 爱新觉罗玄烨 阅读(32) 评论(0) 推荐(0) 编辑

preempt_count
摘要:preempt_count的布局如下: 阅读全文

posted @ 2023-03-08 10:59 爱新觉罗玄烨 阅读(17) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示