- 博客(22)
- 资源 (19)
- 收藏
- 关注
原创 移除、混淆静态库中多余的符号(待续)
2.当原始库需要被删除的符号是内部调用的符号(例如source1.c 中调用了source2.c的函数),不管是不是hidden,此符号都处于relocation,无法被strip移除,只能--redefine-sym --rename-section一个个修改混淆。即便如此,该符号的地址依然存在,objdump nm都可以看到。生成库的时候,只想暴露接口符号给调用者,其他的符号需要删除,怎么办?2.依然不会删除内部调用的符号。
2023-12-07 20:52:10
974
原创 磁盘检测工具,根据lba查找对应文件
注意: lba以硬盘起始为偏移,如果有多个盘符,则需要该减去该偏移前所有盘符的扇区数量,例如lba为2757798225,而该硬盘有c d e三个盘符,且c d扇区数量和为2754456895,因为2757798225 > 2754456895,则计算为(2757798225 - 2754456895) / (4096 / 512) = 417666.25,该lba对应盘符e。3.x = LBA 数值 / (每个簇字节数 / 每扇区字节数)Q: 磁盘检测工具,如何根据损坏的lba查找对应的问题?
2023-09-24 17:48:28
770
原创 git代理总结
1.对于http协议设置代理git config --global http.proxy http://127.0.0.1:8087git config --global http.proxy socks5://127.0.0.1:1080git config --global http.proxy socks5h://127.0.0.1:1080取消代理git config --global --unset http.proxy如果仅仅想为github设置代理,可以这样:git conf
2021-01-31 14:24:52
291
转载 RDP远程运行程序,修改rdp文件
"alternate shell" doesn't seem to work anymore in recent versions of Windows, RemoteApp is the way to go.remoteapplicationmode:i:1remoteapplicationname:s:Purpose of the app shown to user...remoteapplicationprogram:s:C:\...\some.exeremoteapplicatio...
2020-11-24 10:35:15
1689
原创 win7清除占用的端口号
https://superuser.com/questions/408976/how-do-i-clean-up-com-ports-in-use方法1.使用Device Remover https://www.majorgeeks.com/files/details/device_remover_543c.html方法2.Run Device Manager from elevated command line:> set DEVMGR_SHOW_NONPRESENT...
2020-09-09 14:24:47
476
原创 2019年,禁止firefox新老版本强制校验扩展签名
Disable add-on signing check in Release (all) versions of FirefoxFirefox version 65+ (or so)The following instructions will disable signature checking on Firefox for the Firefox profile in which y...
2019-08-27 23:26:29
1530
原创 nvidia开启gpu增强
https://forums.geforce.com/default/topic/1015610/geforce-drivers/gpu-boost-feature-in-nvidia-control-panell-/1/You should patch file C:\Program Files\NVIDIA Corporation\Display\nvgames.dllUsing an...
2019-06-02 18:40:19
2486
转载 How to Reset TeamViewer ID
After installing TeamViewer and first connection to the network, program receives a unique identification number (ID). It allows you to perform a remote connection to your computer. If you are using a...
2018-10-19 14:12:39
2414
原创 使用autohotkey映射按键统一交互
如果你特别烦躁vim、emacs、bash、IDE、编辑器、浏览器按键不统一带来的麻烦,可以试试autohotkey。目前唯一缺点各种远程控制可能会失效脚本功能:alt+j -> leftalt+shift+j -> shift+leftalt+ctrl+shift+j -> ctrl+shift+leftalt+8 -> pgupalt+shift...
2018-06-25 16:42:53
5797
原创 eclipse oxygen 同时浏览c java代码
1.安装cdt jdt plugin2.安装Project Natures plugin3.file-> import project from folder or achieve4.project -> property -> project natures ,添加c native java 等5.file -> new c/c++ project6.设置classpat...
2018-03-26 14:49:24
280
原创 查看进程加载的so
AIX可以使用procldd命令查看。例如:# procldd 12345 Solaris可以使用pldd命令查看。例如:# pldd 12345 Linux楼上已经提到lsof了。另外一个方法是查看 /proc/PID/maps 文件。例如:# cat /proc/12345/maps | awk '{print $6}' | grep '\.so' | so
2017-11-14 16:41:51
11266
1
原创 adb client远程连接adb server
adb版本需一致ssh设置好隧道 remote:8888->local:8888serveradb -a -P 8888 start-serverclientadb -P 8888 shell
2017-09-12 13:35:54
2942
原创 securecrt 8之后版本, new host key 取消显示
As noted in the history text, this is not considered a security best practice.Yes, see SecureCRT's version 8.0.x History file here (https://www.vandyke.com/products/securecrt/history.txt).SS
2017-06-29 09:58:32
3625
原创 firefox非量子版自定义搜索引擎
1.add to search bar https://addons.mozilla.org/zh-cn/firefox/addon/add-to-search-bar/2.老版本可以修改omni.ja\chrome\zh-CN\locale\browser\searchplugins3.A (less elegant) solution t
2017-06-21 15:33:32
30376
原创 ctags指定文件
find . -name "*.h" -o -name "*.asm" -o -name "*.c" | ctags -f .tags --c-kinds=+l -L -
2017-06-13 17:17:23
1506
原创 git push review
[core] repositoryformatversion = 0 filemode = false bare = false logallrefupdates = true symlinks = false ignorecase = true hideDotFiles
2017-04-28 13:26:09
1848
1
原创 tiny4412sdk 1506学习笔记1
1.uboot烧写sdmake tiny4412_configmake -j4make -C ./sd_fuse/ echo "sudo dd if=/dev/zero of=/dev/sdc bs=1024 count=102400" sudo dd if=/dev/zero of=/dev/sdc bs=1024 count=102400
2016-06-25 22:48:07
1175
原创 fcitx候选词竖排
两个地方设置1.单击通知栏 Fcitx配置 -> 附加组件 -> 经典界面 -> 配置 -> 竖排候选词列表2.单击通知栏 配置面板和皮肤 竖向显示
2016-05-02 11:43:27
1246
原创 用eclipse浏览linux内核
原链接 https://wiki.eclipse.org/HowTo_use_the_CDT_to_navigate_Linux_kernel_sourceHowTo use the CDT to navigate Linux kernel sourceHere are some steps that I've found to get the CDT to work
2015-11-18 12:23:28
632
原创 自己的makefile,可编译目录下所有C
CC_PRE =#CC_PRE = arm-none-linux-gnueabi-CC = $(CC_PRE)gccSTRIP = $(CC_PRE)stripINCLUDE =LIBS =CCFLAGS = -g -std=gnu99 -Wall -O3#LDFLAGS = -lconfigLDFLAGS =SRCS_PATH = ./SRCS =
2015-01-28 17:06:21
415
原创 linux中用wine加载使用TortoiseSVN
在~/.bashrc加入以下:function tort { wine "C:\\Program Files\\TortoiseSVN\\bin\\TortoiseProc.exe" "/command:${1}" "/path:${2}";}export -f tort 之后打开终端使用:tort 命令 路径例如to
2014-12-23 17:08:49
1375
原创 OK6410 linux3.0.1 外部中断组1~9无法request_irq的解决方法
因项目需求远程遥控,准备在OK6410上使用红外线控制板子。由于板子上自带的红外所接引脚GPE1几乎等同于摆设,故需要外加红外头。在写驱动的时候发现中断组1~9无法request_irq成功,咨询官方技术支持和论坛没有任何答复,只好自己改内核了。仔细看源码,飞凌居然没初始化19组的中断,我和我的小伙伴都惊呆了以下代码加入到manage.c中static inline void
2013-07-30 14:51:26
1246
arm thumb2指令集快速参考卡 中文版
2024-03-15
雅黑+MONO 完美字体
2016-05-25
windows下可编译linux 用insight+bochs源码级调试
2013-11-13
高级算法课件 通俗易懂
2013-11-13
《云计算》刘鹏 第二版 完整版 带书签 (part2)
2013-03-04
Unix环境高级编程中英文第二版带书签+源码
2011-09-20
windows上可编译Linux内核
2011-09-15
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人