草庐IT

00000000

全部标签

c - size 和 objdump 报告文本段的不同大小

我试过这个,但坚持回答下面的问题,其中hello_world-1.c是#includeintmain(void){printf("Helloworld\n");return0;}执行的命令:[kishore@localhost-localdomain~]$gcc-Wall-Wextra-chello_world-1.c[kishore@localhost-localdomain~]$gcc-ohello_world-1hello_world-1.o[kishore@localhost-localdomain~]$sizehello_world-1hello_world-1.otextd

linux - 为什么我必须输入 "\\\0"才能在zsh中创建一个字符串 "\0"?

>echo00>echo\00slu@dev:~>echo\\0slu@dev:~>echo"\\0"#echo\\\0slu@dev:~>echo"\\\0"\0slu@dev:~>bashExecuting.bashrc$echo"\0"\0$echo"\\0"\0$echo"\\\0"\\0我得说,bash的行为对我来说更有意义。更多详情:slu@dev:~>echo"0"|hexdump-C00000000300a|0.|00000002slu@dev:~>echo"\0"|hexdump-C00000000000a|..|00000002slu@dev:~>echo"\\0"

linux - 为什么我必须输入 "\\\0"才能在zsh中创建一个字符串 "\0"?

>echo00>echo\00slu@dev:~>echo\\0slu@dev:~>echo"\\0"#echo\\\0slu@dev:~>echo"\\\0"\0slu@dev:~>bashExecuting.bashrc$echo"\0"\0$echo"\\0"\0$echo"\\\0"\\0我得说,bash的行为对我来说更有意义。更多详情:slu@dev:~>echo"0"|hexdump-C00000000300a|0.|00000002slu@dev:~>echo"\0"|hexdump-C00000000000a|..|00000002slu@dev:~>echo"\\0"

linux -/proc/net/udp中字段的含义

关闭。这个问题不符合StackOverflowguidelines.它目前不接受答案。这个问题似乎不是关于aspecificprogrammingproblem,asoftwarealgorithm,orsoftwaretoolsprimarilyusedbyprogrammers的.如果您认为这个问题是关于anotherStackExchangesite的主题,您可以发表评论,说明问题可能在哪里得到解答。关闭8年前。Improvethisquestion我想了解/proc/net/udp和/proc/net/snmp中每个字段的含义:#cat/proc/net/udpsllocal_

linux -/proc/net/udp中字段的含义

关闭。这个问题不符合StackOverflowguidelines.它目前不接受答案。这个问题似乎不是关于aspecificprogrammingproblem,asoftwarealgorithm,orsoftwaretoolsprimarilyusedbyprogrammers的.如果您认为这个问题是关于anotherStackExchangesite的主题,您可以发表评论,说明问题可能在哪里得到解答。关闭8年前。Improvethisquestion我想了解/proc/net/udp和/proc/net/snmp中每个字段的含义:#cat/proc/net/udpsllocal_

linux - 目标文件的 objdump 输出中的标志

objdump在某个目标文件上有这样的输出:$objdump-hmain.omain.o:fileformatelf32-i386Sections:IdxNameSizeVMALMAFileoffAlgn0.text0000000b0000000000000000000000342**2CONTENTS,ALLOC,LOAD,READONLY,CODE1.data000000000000000000000000000000402**2CONTENTS,ALLOC,LOAD,DATA2.bss000000000000000000000000000000402**2ALLOC3.note.

linux - 目标文件的 objdump 输出中的标志

objdump在某个目标文件上有这样的输出:$objdump-hmain.omain.o:fileformatelf32-i386Sections:IdxNameSizeVMALMAFileoffAlgn0.text0000000b0000000000000000000000342**2CONTENTS,ALLOC,LOAD,READONLY,CODE1.data000000000000000000000000000000402**2CONTENTS,ALLOC,LOAD,DATA2.bss000000000000000000000000000000402**2ALLOC3.note.

linux - .got 和 .got.plt 部分有什么区别?

ELF格式的.got和.got.plt部分有什么区别? 最佳答案 我之前的评论是对的:Ithink.gotisforrelocationsregardingglobal'variables'while.got.pltisaauxiliarysectiontoacttogetherwith.pltwhenresolvingproceduresabsoluteaddresses.下面的例子让事情变得更清楚了。这些是我的32位i686-linux/lib/libm.so的重定位Relocationsection'.rel.dyn'atof

linux - .got 和 .got.plt 部分有什么区别?

ELF格式的.got和.got.plt部分有什么区别? 最佳答案 我之前的评论是对的:Ithink.gotisforrelocationsregardingglobal'variables'while.got.pltisaauxiliarysectiontoacttogetherwith.pltwhenresolvingproceduresabsoluteaddresses.下面的例子让事情变得更清楚了。这些是我的32位i686-linux/lib/libm.so的重定位Relocationsection'.rel.dyn'atof

linux - 来自/proc 的可能的内部套接字状态列表

我想知道/proc/net/tcp中st列的可能值。我认为st列等同于netstat(8)或ss(8)中的STATE列。我已经设法识别了三个代码:sllocal_addressrem_addresssttx_queuerx_queuetrtm->whenretrnsmtuidtimeoutinode0:0100007F:08A000000000:00000A00000000:0000000000:00000000000000000073211ffff81002f4499803000002-11:00000000:006F00000000:00000A00000000:000000000