摘要: 1. 传统上,linux把加密(哈希)的密码保存在/etc/passwd文件中,passwd文件的格式如下: 共7个字段,由":"分隔, 各字段的含义如下: 2. /etc/shadow文件详解 shadow文件的每一行定义一个用户,共九个字段,格式如下: {用户名}:{加密后的口令密码}:{口令最 阅读全文
posted @ 2018-03-07 10:26 耕读编码 阅读(1163) 评论(0) 推荐(0) 编辑
摘要: 转自:http://blog.csdn.net/sad_sugar/article/details/73743863 系统配置:Windows10 x64, Visual Studio 2017, Python2.7.1 报错信息:error: Unable to find vcvarsall.ba 阅读全文
posted @ 2018-02-26 11:26 耕读编码 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 为了方便调式程序,产品中需要在程序崩溃或遇到问题时打印出当前的调用堆栈。由于是基于Linux的ARM嵌入式系统,没有足够的空间来存放coredump文件。 实现方法,首先用__builtin_frame_address()函数获取堆栈的当前帧的地址(faddr), ×faddr(栈帧的第一个单元存放 阅读全文
posted @ 2018-01-30 11:03 耕读编码 阅读(1732) 评论(0) 推荐(0) 编辑
摘要: After downloaded and installed the GCT's SDK and toolchain, we try to make an our own image which include gdb. But the way is much more tortuous than 阅读全文
posted @ 2017-12-03 15:28 耕读编码 阅读(885) 评论(0) 推荐(0) 编辑