Show complete arguments in strace even in curly brackets

前端 未结 4 1626
说谎
说谎 2021-02-02 10:18

I know the -s option should display longer arguments, but it doesn\'t work always (probably because of those curly brackets meaning array or nested arguments?).

4条回答
  •  耶瑟儿~
    2021-02-02 11:03

    Here it is not length problem.

    ./term.c:                       tprintf(" %sopost %sisig %sicanon %secho ...}",
    

    You can add here more flags if you want. The flags are defined in /usr/include/asm-generic/termbits.h

提交回复
热议问题