zoukankan      html  css  js  c++  java
  • 捡起来的命令

    strings (Unix)

    In computer software, strings is a program in Unix-like operating systems that finds and prints text strings embedded inbinary files such as executables. It can be used on object files and core dumps.

    Strings are recognized by looking for sequences of at least 4 (by default) printable characters terminating in a NUL character (that is, null-terminated strings). Some implementations provide options for determining what is recognized as a printable character, which is useful for finding non-ASCII and wide character text.

    Common usage includes piping its output to grep and fold or redirecting the output to a file.

    It is part of the GNU Binary Utilities (binutils), and has been ported to other operating systems including Microsoft Windows.

    eg:

    strings bin_name |grep key_word

    addr2line

    根据运行时的内存地址确定指令出自源代码文件章的哪一行,一般用于调试时的错误代码定位。

    addr2line -e test 0x405909
  • 相关阅读:
    哈希及哈希算法
    十四章课后练习题
    第十章课后题----3
    20151015----知识整理
    第十章练习题----2
    加热水杯
    函数
    异常反馈
    20151013知识体系整理,需与20151011相整合
    Java随机输出验证码包含数字、字母、汉字
  • 原文地址:https://www.cnblogs.com/water-drop/p/5186587.html
Copyright © 2011-2022 走看看