Linux/Ubuntu2016. 6. 9. 11:02

이렇게 보니.. 리눅스 버전이 미친듯이 올랐구나 싶네


4.10    Warty Warthog    2.6.8

5.04    Hoary Hedgehog   2.6.10

5.10    Breezy Badger    2.6.12

6.06    Dapper Drake     2.6.15

6.10    Edgy Eft         2.6.17

7.04    Feisty Fawn      2.6.20

7.10    Gutsy Gibbon     2.6.22

8.04    Hardy Heron      2.6.24

8.10    Intrepid Ibex    2.6.27

9.04    Jaunty Jackalope 2.6.28

9.10    Karmic Koala     2.6.31

10.04   Lucid Lynx       2.6.32

10.10   Maverick Meerkat 2.6.35

11.04   Natty Narwhal    2.6.38

11.10   Oneiric Ocelot   3.0

12.04   Precise Pangolin 3.2+

12.10   Quantal Quetzal  3.5

13.04   Raring Ringtail  3.8

13.10   Saucy Salamander 3.11

14.04   Trusty Tahr      3.13

14.10   Utopic Unicorn   3.16

15.04   Vivid Vervet     3.19

15.10   Wily Werewolf    4.2

16.04   Xenial Xerus     4.4 


[링크 : http://askubuntu.com/.../list-of-ubuntu-versions-with-corresponding-linux-kernel-version]

'Linux > Ubuntu' 카테고리의 다른 글

baobab - Disk Usage Analyzer  (0) 2016.06.13
*.so 파일의 의존성 확인하기  (0) 2016.06.13
응컁컁 ubuntu 16.10 LTS!  (0) 2016.04.24
notepadqq 흐음...  (0) 2016.03.23
ubuntu 15.10 vino.. 접속 불가?  (0) 2016.02.16
Posted by 구차니
Linux/Ubuntu2016. 4. 24. 08:58

$ do-release-upgrade


어제 자기 전에 걸어 두고 일어나니

지울 녀석이 남았다고 버팅겨서 y 해주었더니 금세 끝나네

자.. 이제 2년간 버텨보자 ㅋ




Welcome to Ubuntu 16.04 LTS (GNU/Linux 4.4.0-21-generic x86_64)


 * Documentation:  https://help.ubuntu.com/


Last login: Wed Apr 20 20:57:14 2016 from 192.168.219.153




'Linux > Ubuntu' 카테고리의 다른 글

*.so 파일의 의존성 확인하기  (0) 2016.06.13
우분투 버전별 리눅스 커널  (4) 2016.06.09
notepadqq 흐음...  (0) 2016.03.23
ubuntu 15.10 vino.. 접속 불가?  (0) 2016.02.16
ubuntu selinux... disabled?!  (0) 2016.02.15
Posted by 구차니
Linux2016. 4. 12. 11:00


$ sudo chvt 1

$ chvt 1

Couldn't get a file descriptor referring to the console

$ tty

/dev/pts/3



음? 무슨 차이지?
그리고 왜... 안바뀌는거야?


/etc/init$ ls -al tty*
-rw-r--r-- 1 root root 348  4월 17  2012 tty1.conf
-rw-r--r-- 1 root root 333  4월 17  2012 tty2.conf
-rw-r--r-- 1 root root 333  4월 17  2012 tty3.conf
-rw-r--r-- 1 root root 333  4월 17  2012 tty4.conf
-rw-r--r-- 1 root root 232  4월 17  2012 tty5.conf
-rw-r--r-- 1 root root 232  4월 17  2012 tty6.conf

아무튼.. 6개의 가상 터미널은 /etc/init에서 tty?.conf를 통해 뜨게 되는건가?

/etc/init$ cat tty1.conf

# tty1 - getty

#

# This service maintains a getty on tty1 from the point the system is

# started until it is shut down again.


start on stopped rc RUNLEVEL=[2345] and (

            not-container or

            container CONTAINER=lxc or

            container CONTAINER=lxc-libvirt)


stop on runlevel [!2345]


respawn

exec /sbin/getty -8 38400 tty1




[링크 : http://computernetworkingnotes.com/linux-file-system-basic-commands/login-linux-terminal.html]

[링크 : http://computernetworkingnotes.com/system-administrations/inittab.html]

'Linux' 카테고리의 다른 글

cp -Lr  (0) 2016.06.14
libxml 크로스컴파일. (shared library)  (0) 2016.06.13
리눅스 콘솔에서 한글보기  (0) 2016.04.11
AMD avx 리눅스 식별자  (0) 2016.03.08
리눅스용 비디오 편집 프로그램  (0) 2016.03.02
Posted by 구차니
Linux2016. 4. 11. 14:28

어? 입력도 되나 모르겠네?

음.. xterm에서 한글에 나오게 하는게 아니라

jfbterm 이라는 걸 통해서 하는거라 해당 세션을 종료하면 한글이 안나온다는데 흐음..


[링크 : http://bakyeono.net/post/2015-12-31-linux-hangul-console.html]

[링크 : https://jfbterm.osdn.jp/]

'Linux' 카테고리의 다른 글

libxml 크로스컴파일. (shared library)  (0) 2016.06.13
chvt - change Virtual Termianl  (0) 2016.04.12
AMD avx 리눅스 식별자  (0) 2016.03.08
리눅스용 비디오 편집 프로그램  (0) 2016.03.02
objdump  (0) 2016.02.18
Posted by 구차니
Linux/Ubuntu2016. 3. 23. 17:10

심심해서..

xming으로 연결해서 테스트 해봤더니

context 메뉴가 안드로메다로 간다



$ notepadqq

QXcbConnection: Failed to get the primary output of the screen

QXcbConnection: Failed to get the primary output of the screen

QXcbConnection: XCB error: 170 (Unknown), sequence: 162, resource id: 90, major code: 146 (Unknown), minor code: 20

QXcbConnection: XCB error: 170 (Unknown), sequence: 323, resource id: 90, major code: 146 (Unknown), minor code: 20


머지? 캡쳐 하려고 다시 실행하니 되네? ㄷㄷ

$ notepadqq

QXcbConnection: Failed to get the primary output of the screen

QXcbConnection: XCB error: 170 (Unknown), sequence: 162, resource id: 90, major code: 146 (Unknown), minor code: 20



아무튼.. Qt 기반인가 느리당... scite는 좀 그나마 빠른데 ㅠㅠ

'Linux > Ubuntu' 카테고리의 다른 글

우분투 버전별 리눅스 커널  (4) 2016.06.09
응컁컁 ubuntu 16.10 LTS!  (0) 2016.04.24
ubuntu 15.10 vino.. 접속 불가?  (0) 2016.02.16
ubuntu selinux... disabled?!  (0) 2016.02.15
ubuntu 15.10 가벼워졌네?  (0) 2016.02.12
Posted by 구차니
Linux2016. 3. 8. 16:51


processor   : 29

vendor_id   : AuthenticAMD

cpu family   : 21

model      : 1

model name   : AMD Opteron(TM) Processor 6272                 

stepping   : 2

microcode   : 0x6000626

cpu MHz      : 2100.022

cache size   : 2048 KB

physical id   : 3

siblings   : 16

core id      : 5

cpu cores   : 8

apicid      : 109

initial apicid   : 109

fpu      : yes

fpu_exception   : yes

cpuid level   : 13

wp      : yes

flags      : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid amd_dcm aperfmperf pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 popcnt aes xsave avx lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 nodeid_msr topoext perfctr_core perfctr_nb arat cpb hw_pstate npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold

bogomips   : 4199.42

TLB size   : 1536 4K pages

clflush size   : 64

cache_alignment   : 64



In addition to baseline instruction support, added SSE4.1, SSE4.2, SSSE3, AVX, AES, PCLMULQDQ, FMA4 and XOP

[링크 : http://www.amd.com/en-us/products/server/opteron/6000/6200]




Intel-defined CPU features, CPUID level 0x00000001 (ecx)

avx: Advanced Vector Extensions


More extended AMD flags: CPUID level 0x80000001, ecx

xop: extended AVX instructions


Intel-defined CPU features, CPUID level 0x00000007:0 (ebx)

avx2: AVX2 instructions


[링크 : http://unix.stackexchange.com/questions/43539/what-do-the-flags-in-proc-cpuinfo-mean]

'Linux' 카테고리의 다른 글

chvt - change Virtual Termianl  (0) 2016.04.12
리눅스 콘솔에서 한글보기  (0) 2016.04.11
리눅스용 비디오 편집 프로그램  (0) 2016.03.02
objdump  (0) 2016.02.18
iotop  (0) 2016.01.19
Posted by 구차니
Linux2016. 3. 2. 18:46

무료인거랑 유료인걸 찾아 봐야 할려나..


비선형 편집(non-linear editing)

  • openshot
  • kino
  • cienlerra
  • kdenlive
  • blender
  • pitivi
  • lives
  • flowblade


단순 자르기

  • avidemux 


$ apt-cache search openshot

openshot - Create and edit videos and movies

openshot-doc - Help manual for OpenShot Video Editor


$ apt-cache search kdenlive

kdenlive - non-linear video editor

kdenlive-data - non-linear video editor (data files)

kdenlive-dbg - non-linear video editor (debugging symbols)


$ apt-cache search kino

kino - Non-linear editor for Digital Video data


$ apt-cache search lives | grep ^lives

lives - Video Editing system allowing users to edit and create video

lives-data - Data files for LiVES

lives-dbg - Debugging symbols for LiVES

lives-plugins - LiVES plugins pack

livestreamer - CLI that pipes video streams to video players


$ apt-cache search pitivi

pitivi - non-linear audio/video editor using GStreamer


$ apt-cache search flowblade

flowblade - non-linear video editor 



[링크 : http://www.openshot.org/] win / mac / ubuntu

[링크 : https://sourceforge.net/projects/lives/] linux

[링크 : http://cinelerra.org/] linux

    [링크 : https://launchpad.net/~cinelerra-ppa/+archive/ubuntu/ppa]


----


FeatureAvidemuxCinelerraKdenliveKinoLiVES
LicenseGPLGPLGPLv2GPLGPLv3+
CostFreeFreeFreeFreeFree


[링크 : http://www.cyberciti.biz/faq/top5-linux-video-editing-system-software/]

[링크 : http://filmora.wondershare.com/video-editor/free-linux-video-editor.html]



+

윈도우용

[링크 : http://blueluna.tistory.com/101]

'Linux' 카테고리의 다른 글

리눅스 콘솔에서 한글보기  (0) 2016.04.11
AMD avx 리눅스 식별자  (0) 2016.03.08
objdump  (0) 2016.02.18
iotop  (0) 2016.01.19
리눅스에서 메모리 뱅크 확인하기  (0) 2015.10.30
Posted by 구차니
Linux2016. 2. 18. 18:41

$ objdump -D -p --prefix-addresses

가 무난하려나..


Usage: objdump <option(s)> <file(s)>

 Display information from object <file(s)>.

 At least one of the following switches must be given:

  -a, --archive-headers    Display archive header information

  -f, --file-headers       Display the contents of the overall file header

  -p, --private-headers    Display object format specific file header contents

  -P, --private=OPT,OPT... Display object format specific contents

  -h, --[section-]headers  Display the contents of the section headers

  -x, --all-headers        Display the contents of all headers

  -d, --disassemble        Display assembler contents of executable sections

  -D, --disassemble-all    Display assembler contents of all sections

  -S, --source             Intermix source code with disassembly

  -s, --full-contents      Display the full contents of all sections requested

  -g, --debugging          Display debug information in object file

  -e, --debugging-tags     Display debug information using ctags style

  -G, --stabs              Display (in raw form) any STABS info in the file

  -W[lLiaprmfFsoRt] or

  --dwarf[=rawline,=decodedline,=info,=abbrev,=pubnames,=aranges,=macro,=frames,

          =frames-interp,=str,=loc,=Ranges,=pubtypes,

          =gdb_index,=trace_info,=trace_abbrev,=trace_aranges]

                           Display DWARF info in the file

  -t, --syms               Display the contents of the symbol table(s)

  -T, --dynamic-syms       Display the contents of the dynamic symbol table

  -r, --reloc              Display the relocation entries in the file

  -R, --dynamic-reloc      Display the dynamic relocation entries in the file

  @<file>                  Read options from <file>

  -v, --version            Display this program's version number

  -i, --info               List object formats and architectures supported

  -H, --help               Display this information 


       objdump [-a|--archive-headers]

               [-b bfdname|--target=bfdname]

               [-C|--demangle[=style] ]

               [-d|--disassemble]

               [-D|--disassemble-all]

               [-z|--disassemble-zeroes]

               [-EB|-EL|--endian={big | little }]

               [-f|--file-headers]

               [-F|--file-offsets]

               [--file-start-context]

               [-g|--debugging]

               [-e|--debugging-tags]

               [-h|--section-headers|--headers]

               [-i|--info]

               [-j section|--section=section]

               [-l|--line-numbers]

               [-S|--source]

               [-m machine|--architecture=machine]

               [-M options|--disassembler-options=options]

               [-p|--private-headers]

               [-P options|--private=options]

               [-r|--reloc]

               [-R|--dynamic-reloc]

               [-s|--full-contents]

               [-W[lLiaprmfFsoRt]|

                --dwarf[=rawline,=decodedline,=info,=abbrev,=pubnames,=aranges,=macro,=frames,=frames-interp,=str,=loc,=Ranges,=pubtypes,=trace_info,=trace_abbrev,=trace_aranges,=gdb_index]]

               [-G|--stabs]

               [-t|--syms]

               [-T|--dynamic-syms]

               [-x|--all-headers]

               [-w|--wide]

               [--start-address=address]

               [--stop-address=address]

               [--prefix-addresses]

               [--[no-]show-raw-insn]

               [--adjust-vma=offset]

               [--special-syms]

               [--prefix=prefix]

               [--prefix-strip=level]

               [--insn-width=width]

               [-V|--version]

               [-H|--help]

               objfile... 



[링크 : http://sosal.kr/125]

[링크 : http://devanix.tistory.com/188]

[링크 : http://s3ize.blogspot.com/2012/08/tip-linux-objdump-command.html]

-x

--all-headers

Display all available header information, including the symbol table and relocation entries. Using -x is equivalent to specifying all of -a -f -h -p -r -t.


-h
--section-headers
--headers
Display summary information from the section headers of the object file.
File segments may be relocated to nonstandard addresses, for example by using the -Ttext, -Tdata, or -Tbss options to ld. However, some object file formats, such as a.out, do not store the starting address of the file segments. In those situations, although ld relocates the sections correctly, using objdump -h to list the file section headers cannot show the correct addresses. Instead, it shows the usual addresses, which are implicit for the target.

[링크 : http://linux.die.net/man/1/objdump]




+


gcc tttt.c

$ objdump -x a.out


a.out:     file format elf64-x86-64

a.out

architecture: i386:x86-64, flags 0x00000112:

EXEC_P, HAS_SYMS, D_PAGED

start address 0x0000000000400440


Program Header:

    PHDR off    0x0000000000000040 vaddr 0x0000000000400040 paddr 0x0000000000400040 align 2**3

         filesz 0x00000000000001f8 memsz 0x00000000000001f8 flags r-x

  INTERP off    0x0000000000000238 vaddr 0x0000000000400238 paddr 0x0000000000400238 align 2**0

         filesz 0x000000000000001c memsz 0x000000000000001c flags r--

    LOAD off    0x0000000000000000 vaddr 0x0000000000400000 paddr 0x0000000000400000 align 2**21

         filesz 0x000000000000071c memsz 0x000000000000071c flags r-x

    LOAD off    0x0000000000000e28 vaddr 0x0000000000600e28 paddr 0x0000000000600e28 align 2**21

         filesz 0x00000000000001f8 memsz 0x0000000000000208 flags rw-

 DYNAMIC off    0x0000000000000e50 vaddr 0x0000000000600e50 paddr 0x0000000000600e50 align 2**3

         filesz 0x0000000000000190 memsz 0x0000000000000190 flags rw-

    NOTE off    0x0000000000000254 vaddr 0x0000000000400254 paddr 0x0000000000400254 align 2**2

         filesz 0x0000000000000044 memsz 0x0000000000000044 flags r--

EH_FRAME off    0x000000000000064c vaddr 0x000000000040064c paddr 0x000000000040064c align 2**2

         filesz 0x000000000000002c memsz 0x000000000000002c flags r--

   STACK off    0x0000000000000000 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**3

         filesz 0x0000000000000000 memsz 0x0000000000000000 flags rw-

   RELRO off    0x0000000000000e28 vaddr 0x0000000000600e28 paddr 0x0000000000600e28 align 2**0

         filesz 0x00000000000001d8 memsz 0x00000000000001d8 flags r--


Dynamic Section:

  NEEDED               libc.so.6

  INIT                 0x00000000004003f0

  FINI                 0x0000000000400638

  GNU_HASH             0x0000000000400298

  STRTAB               0x0000000000400318

  SYMTAB               0x00000000004002b8

  STRSZ                0x0000000000000053

  SYMENT               0x0000000000000018

  DEBUG                0x0000000000000000

  PLTGOT               0x0000000000600fe8

  PLTRELSZ             0x0000000000000030

  PLTREL               0x0000000000000007

  JMPREL               0x00000000004003c0

  RELA                 0x00000000004003a8

  RELASZ               0x0000000000000018

  RELAENT              0x0000000000000018

  VERNEED              0x0000000000400378

  VERNEEDNUM           0x0000000000000001

  VERSYM               0x000000000040036c


Version References:

  required from libc.so.6:

    0x09691a75 0x00 03 GLIBC_2.2.5

    0x0d696914 0x00 02 GLIBC_2.4


Sections:

Idx Name          Size      VMA               LMA               File off  Algn

  0 .interp       0000001c  0000000000400238  0000000000400238  00000238  2**0

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  1 .note.ABI-tag 00000020  0000000000400254  0000000000400254  00000254  2**2

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  2 .note.gnu.build-id 00000024  0000000000400274  0000000000400274  00000274  2**2

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  3 .gnu.hash     0000001c  0000000000400298  0000000000400298  00000298  2**3

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  4 .dynsym       00000060  00000000004002b8  00000000004002b8  000002b8  2**3

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  5 .dynstr       00000053  0000000000400318  0000000000400318  00000318  2**0

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  6 .gnu.version  00000008  000000000040036c  000000000040036c  0000036c  2**1

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  7 .gnu.version_r 00000030  0000000000400378  0000000000400378  00000378  2**3

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  8 .rela.dyn     00000018  00000000004003a8  00000000004003a8  000003a8  2**3

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  9 .rela.plt     00000030  00000000004003c0  00000000004003c0  000003c0  2**3

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

 10 .init         00000018  00000000004003f0  00000000004003f0  000003f0  2**2

                  CONTENTS, ALLOC, LOAD, READONLY, CODE

 11 .plt          00000030  0000000000400410  0000000000400410  00000410  2**4

                  CONTENTS, ALLOC, LOAD, READONLY, CODE

 12 .text         000001f8  0000000000400440  0000000000400440  00000440  2**4

                  CONTENTS, ALLOC, LOAD, READONLY, CODE

 13 .fini         0000000e  0000000000400638  0000000000400638  00000638  2**2

                  CONTENTS, ALLOC, LOAD, READONLY, CODE

 14 .rodata       00000004  0000000000400648  0000000000400648  00000648  2**2

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

 15 .eh_frame_hdr 0000002c  000000000040064c  000000000040064c  0000064c  2**2

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

 16 .eh_frame     000000a4  0000000000400678  0000000000400678  00000678  2**3

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

 17 .ctors        00000010  0000000000600e28  0000000000600e28  00000e28  2**3

                  CONTENTS, ALLOC, LOAD, DATA

 18 .dtors        00000010  0000000000600e38  0000000000600e38  00000e38  2**3

                  CONTENTS, ALLOC, LOAD, DATA

 19 .jcr          00000008  0000000000600e48  0000000000600e48  00000e48  2**3

                  CONTENTS, ALLOC, LOAD, DATA

 20 .dynamic      00000190  0000000000600e50  0000000000600e50  00000e50  2**3

                  CONTENTS, ALLOC, LOAD, DATA

 21 .got          00000008  0000000000600fe0  0000000000600fe0  00000fe0  2**3

                  CONTENTS, ALLOC, LOAD, DATA

 22 .got.plt      00000028  0000000000600fe8  0000000000600fe8  00000fe8  2**3

                  CONTENTS, ALLOC, LOAD, DATA

 23 .data         00000010  0000000000601010  0000000000601010  00001010  2**3

                  CONTENTS, ALLOC, LOAD, DATA

 24 .bss          00000010  0000000000601020  0000000000601020  00001020  2**3

                  ALLOC

 25 .comment      0000002a  0000000000000000  0000000000000000  00001020  2**0

                  CONTENTS, READONLY

SYMBOL TABLE:

0000000000400238 l    d  .interp        0000000000000000              .interp

0000000000400254 l    d  .note.ABI-tag  0000000000000000              .note.ABI-tag

0000000000400274 l    d  .note.gnu.build-id     0000000000000000              .note.gnu.build-id

0000000000400298 l    d  .gnu.hash      0000000000000000              .gnu.hash

00000000004002b8 l    d  .dynsym        0000000000000000              .dynsym

0000000000400318 l    d  .dynstr        0000000000000000              .dynstr

000000000040036c l    d  .gnu.version   0000000000000000              .gnu.version

0000000000400378 l    d  .gnu.version_r 0000000000000000              .gnu.version_r

00000000004003a8 l    d  .rela.dyn      0000000000000000              .rela.dyn

00000000004003c0 l    d  .rela.plt      0000000000000000              .rela.plt

00000000004003f0 l    d  .init  0000000000000000              .init

0000000000400410 l    d  .plt   0000000000000000              .plt

0000000000400440 l    d  .text  0000000000000000              .text

0000000000400638 l    d  .fini  0000000000000000              .fini

0000000000400648 l    d  .rodata        0000000000000000              .rodata

000000000040064c l    d  .eh_frame_hdr  0000000000000000              .eh_frame_hdr

0000000000400678 l    d  .eh_frame      0000000000000000              .eh_frame

0000000000600e28 l    d  .ctors 0000000000000000              .ctors

0000000000600e38 l    d  .dtors 0000000000000000              .dtors

0000000000600e48 l    d  .jcr   0000000000000000              .jcr

0000000000600e50 l    d  .dynamic       0000000000000000              .dynamic

0000000000600fe0 l    d  .got   0000000000000000              .got

0000000000600fe8 l    d  .got.plt       0000000000000000              .got.plt

0000000000601010 l    d  .data  0000000000000000              .data

0000000000601020 l    d  .bss   0000000000000000              .bss

0000000000000000 l    d  .comment       0000000000000000              .comment

000000000040046c l     F .text  0000000000000000              call_gmon_start

0000000000000000 l    df *ABS*  0000000000000000              crtstuff.c

0000000000600e28 l     O .ctors 0000000000000000              __CTOR_LIST__

0000000000600e38 l     O .dtors 0000000000000000              __DTOR_LIST__

0000000000600e48 l     O .jcr   0000000000000000              __JCR_LIST__

0000000000400490 l     F .text  0000000000000000              __do_global_dtors_aux

0000000000601020 l     O .bss   0000000000000001              completed.6531

0000000000601028 l     O .bss   0000000000000008              dtor_idx.6533

0000000000400500 l     F .text  0000000000000000              frame_dummy

0000000000000000 l    df *ABS*  0000000000000000              crtstuff.c

0000000000600e30 l     O .ctors 0000000000000000              __CTOR_END__

0000000000400718 l     O .eh_frame      0000000000000000              __FRAME_END__

0000000000600e48 l     O .jcr   0000000000000000              __JCR_END__

0000000000400600 l     F .text  0000000000000000              __do_global_ctors_aux

0000000000000000 l    df *ABS*  0000000000000000              tttt.c

0000000000600e24 l       .ctors 0000000000000000              __init_array_end

0000000000600e50 l     O .dynamic       0000000000000000              _DYNAMIC

0000000000600e24 l       .ctors 0000000000000000              __init_array_start

0000000000600fe8 l     O .got.plt       0000000000000000              _GLOBAL_OFFSET_TABLE_

00000000004005f0 g     F .text  0000000000000002              __libc_csu_fini

0000000000601010  w      .data  0000000000000000              data_start

0000000000601020 g       *ABS*  0000000000000000              _edata

0000000000400638 g     F .fini  0000000000000000              _fini

0000000000000000       F *UND*  0000000000000000              __stack_chk_fail@@GLIBC_2.4

0000000000600e40 g     O .dtors 0000000000000000              .hidden __DTOR_END__

0000000000000000       F *UND*  0000000000000000              __libc_start_main@@GLIBC_2.2.5

0000000000601010 g       .data  0000000000000000              __data_start

0000000000000000  w      *UND*  0000000000000000              __gmon_start__

0000000000601018 g     O .data  0000000000000000              .hidden __dso_handle

0000000000400648 g     O .rodata        0000000000000004              _IO_stdin_used

0000000000400560 g     F .text  0000000000000089              __libc_csu_init

0000000000601030 g       *ABS*  0000000000000000              _end

0000000000400440 g     F .text  0000000000000000              _start

0000000000601020 g       *ABS*  0000000000000000              __bss_start

0000000000400524 g     F .text  0000000000000036              main

0000000000000000  w      *UND*  0000000000000000              _Jv_RegisterClasses

00000000004003f0 g     F .init  0000000000000000              _init 



디버깅 추가

$ gcc -g tttt.c

$ objdump -x a.out


a.out:     file format elf64-x86-64

a.out

architecture: i386:x86-64, flags 0x00000112:

EXEC_P, HAS_SYMS, D_PAGED

start address 0x0000000000400440


Program Header:

    PHDR off    0x0000000000000040 vaddr 0x0000000000400040 paddr 0x0000000000400040 align 2**3

         filesz 0x00000000000001f8 memsz 0x00000000000001f8 flags r-x

  INTERP off    0x0000000000000238 vaddr 0x0000000000400238 paddr 0x0000000000400238 align 2**0

         filesz 0x000000000000001c memsz 0x000000000000001c flags r--

    LOAD off    0x0000000000000000 vaddr 0x0000000000400000 paddr 0x0000000000400000 align 2**21

         filesz 0x000000000000071c memsz 0x000000000000071c flags r-x

    LOAD off    0x0000000000000e28 vaddr 0x0000000000600e28 paddr 0x0000000000600e28 align 2**21

         filesz 0x00000000000001f8 memsz 0x0000000000000208 flags rw-

 DYNAMIC off    0x0000000000000e50 vaddr 0x0000000000600e50 paddr 0x0000000000600e50 align 2**3

         filesz 0x0000000000000190 memsz 0x0000000000000190 flags rw-

    NOTE off    0x0000000000000254 vaddr 0x0000000000400254 paddr 0x0000000000400254 align 2**2

         filesz 0x0000000000000044 memsz 0x0000000000000044 flags r--

EH_FRAME off    0x000000000000064c vaddr 0x000000000040064c paddr 0x000000000040064c align 2**2

         filesz 0x000000000000002c memsz 0x000000000000002c flags r--

   STACK off    0x0000000000000000 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**3

         filesz 0x0000000000000000 memsz 0x0000000000000000 flags rw-

   RELRO off    0x0000000000000e28 vaddr 0x0000000000600e28 paddr 0x0000000000600e28 align 2**0

         filesz 0x00000000000001d8 memsz 0x00000000000001d8 flags r--


Dynamic Section:

  NEEDED               libc.so.6

  INIT                 0x00000000004003f0

  FINI                 0x0000000000400638

  GNU_HASH             0x0000000000400298

  STRTAB               0x0000000000400318

  SYMTAB               0x00000000004002b8

  STRSZ                0x0000000000000053

  SYMENT               0x0000000000000018

  DEBUG                0x0000000000000000

  PLTGOT               0x0000000000600fe8

  PLTRELSZ             0x0000000000000030

  PLTREL               0x0000000000000007

  JMPREL               0x00000000004003c0

  RELA                 0x00000000004003a8

  RELASZ               0x0000000000000018

  RELAENT              0x0000000000000018

  VERNEED              0x0000000000400378

  VERNEEDNUM           0x0000000000000001

  VERSYM               0x000000000040036c


Version References:

  required from libc.so.6:

    0x09691a75 0x00 03 GLIBC_2.2.5

    0x0d696914 0x00 02 GLIBC_2.4


Sections:

Idx Name          Size      VMA               LMA               File off  Algn

  0 .interp       0000001c  0000000000400238  0000000000400238  00000238  2**0

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  1 .note.ABI-tag 00000020  0000000000400254  0000000000400254  00000254  2**2

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  2 .note.gnu.build-id 00000024  0000000000400274  0000000000400274  00000274  2**2

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  3 .gnu.hash     0000001c  0000000000400298  0000000000400298  00000298  2**3

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  4 .dynsym       00000060  00000000004002b8  00000000004002b8  000002b8  2**3

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  5 .dynstr       00000053  0000000000400318  0000000000400318  00000318  2**0

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  6 .gnu.version  00000008  000000000040036c  000000000040036c  0000036c  2**1

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  7 .gnu.version_r 00000030  0000000000400378  0000000000400378  00000378  2**3

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  8 .rela.dyn     00000018  00000000004003a8  00000000004003a8  000003a8  2**3

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  9 .rela.plt     00000030  00000000004003c0  00000000004003c0  000003c0  2**3

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

 10 .init         00000018  00000000004003f0  00000000004003f0  000003f0  2**2

                  CONTENTS, ALLOC, LOAD, READONLY, CODE

 11 .plt          00000030  0000000000400410  0000000000400410  00000410  2**4

                  CONTENTS, ALLOC, LOAD, READONLY, CODE

 12 .text         000001f8  0000000000400440  0000000000400440  00000440  2**4

                  CONTENTS, ALLOC, LOAD, READONLY, CODE

 13 .fini         0000000e  0000000000400638  0000000000400638  00000638  2**2

                  CONTENTS, ALLOC, LOAD, READONLY, CODE

 14 .rodata       00000004  0000000000400648  0000000000400648  00000648  2**2

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

 15 .eh_frame_hdr 0000002c  000000000040064c  000000000040064c  0000064c  2**2

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

 16 .eh_frame     000000a4  0000000000400678  0000000000400678  00000678  2**3

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

 17 .ctors        00000010  0000000000600e28  0000000000600e28  00000e28  2**3

                  CONTENTS, ALLOC, LOAD, DATA

 18 .dtors        00000010  0000000000600e38  0000000000600e38  00000e38  2**3

                  CONTENTS, ALLOC, LOAD, DATA

 19 .jcr          00000008  0000000000600e48  0000000000600e48  00000e48  2**3

                  CONTENTS, ALLOC, LOAD, DATA

 20 .dynamic      00000190  0000000000600e50  0000000000600e50  00000e50  2**3

                  CONTENTS, ALLOC, LOAD, DATA

 21 .got          00000008  0000000000600fe0  0000000000600fe0  00000fe0  2**3

                  CONTENTS, ALLOC, LOAD, DATA

 22 .got.plt      00000028  0000000000600fe8  0000000000600fe8  00000fe8  2**3

                  CONTENTS, ALLOC, LOAD, DATA

 23 .data         00000010  0000000000601010  0000000000601010  00001010  2**3

                  CONTENTS, ALLOC, LOAD, DATA

 24 .bss          00000010  0000000000601020  0000000000601020  00001020  2**3

                  ALLOC

 25 .comment      0000002a  0000000000000000  0000000000000000  00001020  2**0

                  CONTENTS, READONLY

 26 .debug_aranges 00000030  0000000000000000  0000000000000000  0000104a  2**0

                  CONTENTS, READONLY, DEBUGGING

 27 .debug_info   0000009d  0000000000000000  0000000000000000  0000107a  2**0

                  CONTENTS, READONLY, DEBUGGING

 28 .debug_abbrev 0000006f  0000000000000000  0000000000000000  00001117  2**0

                  CONTENTS, READONLY, DEBUGGING

 29 .debug_line   0000003c  0000000000000000  0000000000000000  00001186  2**0

                  CONTENTS, READONLY, DEBUGGING

 30 .debug_str    0000004c  0000000000000000  0000000000000000  000011c2  2**0

                  CONTENTS, READONLY, DEBUGGING

 31 .debug_loc    00000060  0000000000000000  0000000000000000  0000120e  2**0

                  CONTENTS, READONLY, DEBUGGING

SYMBOL TABLE:

0000000000400238 l    d  .interp        0000000000000000              .interp

0000000000400254 l    d  .note.ABI-tag  0000000000000000              .note.ABI-tag

0000000000400274 l    d  .note.gnu.build-id     0000000000000000              .note.gnu.build-id

0000000000400298 l    d  .gnu.hash      0000000000000000              .gnu.hash

00000000004002b8 l    d  .dynsym        0000000000000000              .dynsym

0000000000400318 l    d  .dynstr        0000000000000000              .dynstr

000000000040036c l    d  .gnu.version   0000000000000000              .gnu.version

0000000000400378 l    d  .gnu.version_r 0000000000000000              .gnu.version_r

00000000004003a8 l    d  .rela.dyn      0000000000000000              .rela.dyn

00000000004003c0 l    d  .rela.plt      0000000000000000              .rela.plt

00000000004003f0 l    d  .init  0000000000000000              .init

0000000000400410 l    d  .plt   0000000000000000              .plt

0000000000400440 l    d  .text  0000000000000000              .text

0000000000400638 l    d  .fini  0000000000000000              .fini

0000000000400648 l    d  .rodata        0000000000000000              .rodata

000000000040064c l    d  .eh_frame_hdr  0000000000000000              .eh_frame_hdr

0000000000400678 l    d  .eh_frame      0000000000000000              .eh_frame

0000000000600e28 l    d  .ctors 0000000000000000              .ctors

0000000000600e38 l    d  .dtors 0000000000000000              .dtors

0000000000600e48 l    d  .jcr   0000000000000000              .jcr

0000000000600e50 l    d  .dynamic       0000000000000000              .dynamic

0000000000600fe0 l    d  .got   0000000000000000              .got

0000000000600fe8 l    d  .got.plt       0000000000000000              .got.plt

0000000000601010 l    d  .data  0000000000000000              .data

0000000000601020 l    d  .bss   0000000000000000              .bss

0000000000000000 l    d  .comment       0000000000000000              .comment

0000000000000000 l    d  .debug_aranges 0000000000000000              .debug_aranges

0000000000000000 l    d  .debug_info    0000000000000000              .debug_info

0000000000000000 l    d  .debug_abbrev  0000000000000000              .debug_abbrev

0000000000000000 l    d  .debug_line    0000000000000000              .debug_line

0000000000000000 l    d  .debug_str     0000000000000000              .debug_str

0000000000000000 l    d  .debug_loc     0000000000000000              .debug_loc

000000000040046c l     F .text  0000000000000000              call_gmon_start

0000000000000000 l    df *ABS*  0000000000000000              crtstuff.c

0000000000600e28 l     O .ctors 0000000000000000              __CTOR_LIST__

0000000000600e38 l     O .dtors 0000000000000000              __DTOR_LIST__

0000000000600e48 l     O .jcr   0000000000000000              __JCR_LIST__

0000000000400490 l     F .text  0000000000000000              __do_global_dtors_aux

0000000000601020 l     O .bss   0000000000000001              completed.6531

0000000000601028 l     O .bss   0000000000000008              dtor_idx.6533

0000000000400500 l     F .text  0000000000000000              frame_dummy

0000000000000000 l    df *ABS*  0000000000000000              crtstuff.c

0000000000600e30 l     O .ctors 0000000000000000              __CTOR_END__

0000000000400718 l     O .eh_frame      0000000000000000              __FRAME_END__

0000000000600e48 l     O .jcr   0000000000000000              __JCR_END__

0000000000400600 l     F .text  0000000000000000              __do_global_ctors_aux

0000000000000000 l    df *ABS*  0000000000000000              tttt.c

0000000000600e24 l       .ctors 0000000000000000              __init_array_end

0000000000600e50 l     O .dynamic       0000000000000000              _DYNAMIC

0000000000600e24 l       .ctors 0000000000000000              __init_array_start

0000000000600fe8 l     O .got.plt       0000000000000000              _GLOBAL_OFFSET_TABLE_

00000000004005f0 g     F .text  0000000000000002              __libc_csu_fini

0000000000601010  w      .data  0000000000000000              data_start

0000000000601020 g       *ABS*  0000000000000000              _edata

0000000000400638 g     F .fini  0000000000000000              _fini

0000000000000000       F *UND*  0000000000000000              __stack_chk_fail@@GLIBC_2.4

0000000000600e40 g     O .dtors 0000000000000000              .hidden __DTOR_END__

0000000000000000       F *UND*  0000000000000000              __libc_start_main@@GLIBC_2.2.5

0000000000601010 g       .data  0000000000000000              __data_start

0000000000000000  w      *UND*  0000000000000000              __gmon_start__

0000000000601018 g     O .data  0000000000000000              .hidden __dso_handle

0000000000400648 g     O .rodata        0000000000000004              _IO_stdin_used

0000000000400560 g     F .text  0000000000000089              __libc_csu_init

0000000000601030 g       *ABS*  0000000000000000              _end

0000000000400440 g     F .text  0000000000000000              _start

0000000000601020 g       *ABS*  0000000000000000              __bss_start

0000000000400524 g     F .text  0000000000000036              main

0000000000000000  w      *UND*  0000000000000000              _Jv_RegisterClasses

00000000004003f0 g     F .init  0000000000000000              _init 


프로파일링 추가

$ gcc -pg tttt.c

$ objdump -x a.out


a.out:     file format elf64-x86-64

a.out

architecture: i386:x86-64, flags 0x00000112:

EXEC_P, HAS_SYMS, D_PAGED

start address 0x0000000000400570


Program Header:

    PHDR off    0x0000000000000040 vaddr 0x0000000000400040 paddr 0x0000000000400040 align 2**3

         filesz 0x00000000000001f8 memsz 0x00000000000001f8 flags r-x

  INTERP off    0x0000000000000238 vaddr 0x0000000000400238 paddr 0x0000000000400238 align 2**0

         filesz 0x000000000000001c memsz 0x000000000000001c flags r--

    LOAD off    0x0000000000000000 vaddr 0x0000000000400000 paddr 0x0000000000400000 align 2**21

         filesz 0x00000000000008c4 memsz 0x00000000000008c4 flags r-x

    LOAD off    0x0000000000000e20 vaddr 0x0000000000600e20 paddr 0x0000000000600e20 align 2**21

         filesz 0x0000000000000220 memsz 0x0000000000000238 flags rw-

 DYNAMIC off    0x0000000000000e48 vaddr 0x0000000000600e48 paddr 0x0000000000600e48 align 2**3

         filesz 0x0000000000000190 memsz 0x0000000000000190 flags rw-

    NOTE off    0x0000000000000254 vaddr 0x0000000000400254 paddr 0x0000000000400254 align 2**2

         filesz 0x0000000000000044 memsz 0x0000000000000044 flags r--

EH_FRAME off    0x00000000000007dc vaddr 0x00000000004007dc paddr 0x00000000004007dc align 2**2

         filesz 0x0000000000000034 memsz 0x0000000000000034 flags r--

   STACK off    0x0000000000000000 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**3

         filesz 0x0000000000000000 memsz 0x0000000000000000 flags rw-

   RELRO off    0x0000000000000e20 vaddr 0x0000000000600e20 paddr 0x0000000000600e20 align 2**0

         filesz 0x00000000000001e0 memsz 0x00000000000001e0 flags r--


Dynamic Section:

  NEEDED               libc.so.6

  INIT                 0x00000000004004e8

  FINI                 0x00000000004007c8

  GNU_HASH             0x0000000000400298

  STRTAB               0x0000000000400380

  SYMTAB               0x00000000004002c0

  STRSZ                0x000000000000007e

  SYMENT               0x0000000000000018

  DEBUG                0x0000000000000000

  PLTGOT               0x0000000000600fe8

  PLTRELSZ             0x0000000000000090

  PLTREL               0x0000000000000007

  JMPREL               0x0000000000400458

  RELA                 0x0000000000400440

  RELASZ               0x0000000000000018

  RELAENT              0x0000000000000018

  VERNEED              0x0000000000400410

  VERNEEDNUM           0x0000000000000001

  VERSYM               0x00000000004003fe


Version References:

  required from libc.so.6:

    0x09691a75 0x00 03 GLIBC_2.2.5

    0x0d696914 0x00 02 GLIBC_2.4


Sections:

Idx Name          Size      VMA               LMA               File off  Algn

  0 .interp       0000001c  0000000000400238  0000000000400238  00000238  2**0

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  1 .note.ABI-tag 00000020  0000000000400254  0000000000400254  00000254  2**2

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  2 .note.gnu.build-id 00000024  0000000000400274  0000000000400274  00000274  2**2

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  3 .gnu.hash     00000028  0000000000400298  0000000000400298  00000298  2**3

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  4 .dynsym       000000c0  00000000004002c0  00000000004002c0  000002c0  2**3

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  5 .dynstr       0000007e  0000000000400380  0000000000400380  00000380  2**0

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  6 .gnu.version  00000010  00000000004003fe  00000000004003fe  000003fe  2**1

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  7 .gnu.version_r 00000030  0000000000400410  0000000000400410  00000410  2**3

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  8 .rela.dyn     00000018  0000000000400440  0000000000400440  00000440  2**3

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  9 .rela.plt     00000090  0000000000400458  0000000000400458  00000458  2**3

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

 10 .init         00000018  00000000004004e8  00000000004004e8  000004e8  2**2

                  CONTENTS, ALLOC, LOAD, READONLY, CODE

 11 .plt          00000070  0000000000400500  0000000000400500  00000500  2**4

                  CONTENTS, ALLOC, LOAD, READONLY, CODE

 12 .text         00000258  0000000000400570  0000000000400570  00000570  2**4

                  CONTENTS, ALLOC, LOAD, READONLY, CODE

 13 .fini         0000000e  00000000004007c8  00000000004007c8  000007c8  2**2

                  CONTENTS, ALLOC, LOAD, READONLY, CODE

 14 .rodata       00000004  00000000004007d8  00000000004007d8  000007d8  2**2

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

 15 .eh_frame_hdr 00000034  00000000004007dc  00000000004007dc  000007dc  2**2

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

 16 .eh_frame     000000b4  0000000000400810  0000000000400810  00000810  2**3

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

 17 .ctors        00000010  0000000000600e20  0000000000600e20  00000e20  2**3

                  CONTENTS, ALLOC, LOAD, DATA

 18 .dtors        00000010  0000000000600e30  0000000000600e30  00000e30  2**3

                  CONTENTS, ALLOC, LOAD, DATA

 19 .jcr          00000008  0000000000600e40  0000000000600e40  00000e40  2**3

                  CONTENTS, ALLOC, LOAD, DATA

 20 .dynamic      00000190  0000000000600e48  0000000000600e48  00000e48  2**3

                  CONTENTS, ALLOC, LOAD, DATA

 21 .got          00000010  0000000000600fd8  0000000000600fd8  00000fd8  2**3

                  CONTENTS, ALLOC, LOAD, DATA

 22 .got.plt      00000048  0000000000600fe8  0000000000600fe8  00000fe8  2**3

                  CONTENTS, ALLOC, LOAD, DATA

 23 .data         00000010  0000000000601030  0000000000601030  00001030  2**3

                  CONTENTS, ALLOC, LOAD, DATA

 24 .bss          00000018  0000000000601040  0000000000601040  00001040  2**4

                  ALLOC

 25 .comment      0000002a  0000000000000000  0000000000000000  00001040  2**0

                  CONTENTS, READONLY

SYMBOL TABLE:

0000000000400238 l    d  .interp        0000000000000000              .interp

0000000000400254 l    d  .note.ABI-tag  0000000000000000              .note.ABI-tag

0000000000400274 l    d  .note.gnu.build-id     0000000000000000              .note.gnu.build-id

0000000000400298 l    d  .gnu.hash      0000000000000000              .gnu.hash

00000000004002c0 l    d  .dynsym        0000000000000000              .dynsym

0000000000400380 l    d  .dynstr        0000000000000000              .dynstr

00000000004003fe l    d  .gnu.version   0000000000000000              .gnu.version

0000000000400410 l    d  .gnu.version_r 0000000000000000              .gnu.version_r

0000000000400440 l    d  .rela.dyn      0000000000000000              .rela.dyn

0000000000400458 l    d  .rela.plt      0000000000000000              .rela.plt

00000000004004e8 l    d  .init  0000000000000000              .init

0000000000400500 l    d  .plt   0000000000000000              .plt

0000000000400570 l    d  .text  0000000000000000              .text

00000000004007c8 l    d  .fini  0000000000000000              .fini

00000000004007d8 l    d  .rodata        0000000000000000              .rodata

00000000004007dc l    d  .eh_frame_hdr  0000000000000000              .eh_frame_hdr

0000000000400810 l    d  .eh_frame      0000000000000000              .eh_frame

0000000000600e20 l    d  .ctors 0000000000000000              .ctors

0000000000600e30 l    d  .dtors 0000000000000000              .dtors

0000000000600e40 l    d  .jcr   0000000000000000              .jcr

0000000000600e48 l    d  .dynamic       0000000000000000              .dynamic

0000000000600fd8 l    d  .got   0000000000000000              .got

0000000000600fe8 l    d  .got.plt       0000000000000000              .got.plt

0000000000601030 l    d  .data  0000000000000000              .data

0000000000601040 l    d  .bss   0000000000000000              .bss

0000000000000000 l    d  .comment       0000000000000000              .comment

0000000000601040 l     O .bss   0000000000000004              called.4053

00000000004005e0 l     F .text  0000000000000000              call_gmon_start

0000000000000000 l    df *ABS*  0000000000000000              crtstuff.c

0000000000600e20 l     O .ctors 0000000000000000              __CTOR_LIST__

0000000000600e30 l     O .dtors 0000000000000000              __DTOR_LIST__

0000000000600e40 l     O .jcr   0000000000000000              __JCR_LIST__

0000000000400600 l     F .text  0000000000000000              __do_global_dtors_aux

0000000000601048 l     O .bss   0000000000000001              completed.6531

0000000000601050 l     O .bss   0000000000000008              dtor_idx.6533

0000000000400670 l     F .text  0000000000000000              frame_dummy

0000000000000000 l    df *ABS*  0000000000000000              crtstuff.c

0000000000600e28 l     O .ctors 0000000000000000              __CTOR_END__

00000000004008c0 l     O .eh_frame      0000000000000000              __FRAME_END__

0000000000600e40 l     O .jcr   0000000000000000              __JCR_END__

0000000000400790 l     F .text  0000000000000000              __do_global_ctors_aux

0000000000000000 l    df *ABS*  0000000000000000              tttt.c

0000000000600e1c l       .ctors 0000000000000000              __init_array_end

0000000000601038 l     O .data  0000000000000000              __dso_handle

0000000000600e48 l     O .dynamic       0000000000000000              _DYNAMIC

0000000000600e1c l       .ctors 0000000000000000              __init_array_start

0000000000600fe8 l     O .got.plt       0000000000000000              _GLOBAL_OFFSET_TABLE_

0000000000400760 g     F .text  0000000000000002              __libc_csu_fini

0000000000601030  w      .data  0000000000000000              data_start

0000000000400770 g     F .text  000000000000001a              .hidden atexit

0000000000601040 g       *ABS*  0000000000000000              _edata

00000000004007c8 g     F .fini  0000000000000000              _fini

0000000000000000       F *UND*  0000000000000000              __stack_chk_fail@@GLIBC_2.4

0000000000400520       F *UND*  0000000000000000              _mcleanup@@GLIBC_2.2.5

0000000000600e38 g     O .dtors 0000000000000000              .hidden __DTOR_END__

0000000000000000       F *UND*  0000000000000000              __libc_start_main@@GLIBC_2.2.5

0000000000601030 g       .data  0000000000000000              __data_start

0000000000000000       F *UND*  0000000000000000              __monstartup@@GLIBC_2.2.5

00000000004005a0 g     F .text  000000000000003f              __gmon_start__

00000000004007d8 g     O .rodata        0000000000000004              _IO_stdin_used

00000000004006d0 g     F .text  0000000000000089              __libc_csu_init

0000000000601058 g       *ABS*  0000000000000000              _end

0000000000400570 g     F .text  0000000000000000              _start

0000000000601040 g       *ABS*  0000000000000000              __bss_start

0000000000400694 g     F .text  000000000000003b              main

0000000000000000       F *UND*  0000000000000000              mcount@@GLIBC_2.2.5

00000000004007d6 g       *ABS*  0000000000000000              etext

0000000000000000  w      *UND*  0000000000000000              _Jv_RegisterClasses

0000000000000000       F *UND*  0000000000000000              __cxa_atexit@@GLIBC_2.2.5

00000000004004e8 g     F .init  0000000000000000              _init 


디버깅, 프로파일링 추가

$ gcc -g -pg tttt.c

$ objdump -x a.out


a.out:     file format elf64-x86-64

a.out

architecture: i386:x86-64, flags 0x00000112:

EXEC_P, HAS_SYMS, D_PAGED

start address 0x0000000000400570


Program Header:

    PHDR off    0x0000000000000040 vaddr 0x0000000000400040 paddr 0x0000000000400040 align 2**3

         filesz 0x00000000000001f8 memsz 0x00000000000001f8 flags r-x

  INTERP off    0x0000000000000238 vaddr 0x0000000000400238 paddr 0x0000000000400238 align 2**0

         filesz 0x000000000000001c memsz 0x000000000000001c flags r--

    LOAD off    0x0000000000000000 vaddr 0x0000000000400000 paddr 0x0000000000400000 align 2**21

         filesz 0x00000000000008c4 memsz 0x00000000000008c4 flags r-x

    LOAD off    0x0000000000000e20 vaddr 0x0000000000600e20 paddr 0x0000000000600e20 align 2**21

         filesz 0x0000000000000220 memsz 0x0000000000000238 flags rw-

 DYNAMIC off    0x0000000000000e48 vaddr 0x0000000000600e48 paddr 0x0000000000600e48 align 2**3

         filesz 0x0000000000000190 memsz 0x0000000000000190 flags rw-

    NOTE off    0x0000000000000254 vaddr 0x0000000000400254 paddr 0x0000000000400254 align 2**2

         filesz 0x0000000000000044 memsz 0x0000000000000044 flags r--

EH_FRAME off    0x00000000000007dc vaddr 0x00000000004007dc paddr 0x00000000004007dc align 2**2

         filesz 0x0000000000000034 memsz 0x0000000000000034 flags r--

   STACK off    0x0000000000000000 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**3

         filesz 0x0000000000000000 memsz 0x0000000000000000 flags rw-

   RELRO off    0x0000000000000e20 vaddr 0x0000000000600e20 paddr 0x0000000000600e20 align 2**0

         filesz 0x00000000000001e0 memsz 0x00000000000001e0 flags r--


Dynamic Section:

  NEEDED               libc.so.6

  INIT                 0x00000000004004e8

  FINI                 0x00000000004007c8

  GNU_HASH             0x0000000000400298

  STRTAB               0x0000000000400380

  SYMTAB               0x00000000004002c0

  STRSZ                0x000000000000007e

  SYMENT               0x0000000000000018

  DEBUG                0x0000000000000000

  PLTGOT               0x0000000000600fe8

  PLTRELSZ             0x0000000000000090

  PLTREL               0x0000000000000007

  JMPREL               0x0000000000400458

  RELA                 0x0000000000400440

  RELASZ               0x0000000000000018

  RELAENT              0x0000000000000018

  VERNEED              0x0000000000400410

  VERNEEDNUM           0x0000000000000001

  VERSYM               0x00000000004003fe


Version References:

  required from libc.so.6:

    0x09691a75 0x00 03 GLIBC_2.2.5

    0x0d696914 0x00 02 GLIBC_2.4


Sections:

Idx Name          Size      VMA               LMA               File off  Algn

  0 .interp       0000001c  0000000000400238  0000000000400238  00000238  2**0

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  1 .note.ABI-tag 00000020  0000000000400254  0000000000400254  00000254  2**2

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  2 .note.gnu.build-id 00000024  0000000000400274  0000000000400274  00000274  2**2

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  3 .gnu.hash     00000028  0000000000400298  0000000000400298  00000298  2**3

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  4 .dynsym       000000c0  00000000004002c0  00000000004002c0  000002c0  2**3

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  5 .dynstr       0000007e  0000000000400380  0000000000400380  00000380  2**0

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  6 .gnu.version  00000010  00000000004003fe  00000000004003fe  000003fe  2**1

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  7 .gnu.version_r 00000030  0000000000400410  0000000000400410  00000410  2**3

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  8 .rela.dyn     00000018  0000000000400440  0000000000400440  00000440  2**3

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  9 .rela.plt     00000090  0000000000400458  0000000000400458  00000458  2**3

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

 10 .init         00000018  00000000004004e8  00000000004004e8  000004e8  2**2

                  CONTENTS, ALLOC, LOAD, READONLY, CODE

 11 .plt          00000070  0000000000400500  0000000000400500  00000500  2**4

                  CONTENTS, ALLOC, LOAD, READONLY, CODE

 12 .text         00000258  0000000000400570  0000000000400570  00000570  2**4

                  CONTENTS, ALLOC, LOAD, READONLY, CODE

 13 .fini         0000000e  00000000004007c8  00000000004007c8  000007c8  2**2

                  CONTENTS, ALLOC, LOAD, READONLY, CODE

 14 .rodata       00000004  00000000004007d8  00000000004007d8  000007d8  2**2

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

 15 .eh_frame_hdr 00000034  00000000004007dc  00000000004007dc  000007dc  2**2

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

 16 .eh_frame     000000b4  0000000000400810  0000000000400810  00000810  2**3

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

 17 .ctors        00000010  0000000000600e20  0000000000600e20  00000e20  2**3

                  CONTENTS, ALLOC, LOAD, DATA

 18 .dtors        00000010  0000000000600e30  0000000000600e30  00000e30  2**3

                  CONTENTS, ALLOC, LOAD, DATA

 19 .jcr          00000008  0000000000600e40  0000000000600e40  00000e40  2**3

                  CONTENTS, ALLOC, LOAD, DATA

 20 .dynamic      00000190  0000000000600e48  0000000000600e48  00000e48  2**3

                  CONTENTS, ALLOC, LOAD, DATA

 21 .got          00000010  0000000000600fd8  0000000000600fd8  00000fd8  2**3

                  CONTENTS, ALLOC, LOAD, DATA

 22 .got.plt      00000048  0000000000600fe8  0000000000600fe8  00000fe8  2**3

                  CONTENTS, ALLOC, LOAD, DATA

 23 .data         00000010  0000000000601030  0000000000601030  00001030  2**3

                  CONTENTS, ALLOC, LOAD, DATA

 24 .bss          00000018  0000000000601040  0000000000601040  00001040  2**4

                  ALLOC

 25 .comment      0000002a  0000000000000000  0000000000000000  00001040  2**0

                  CONTENTS, READONLY

 26 .debug_aranges 00000030  0000000000000000  0000000000000000  0000106a  2**0

                  CONTENTS, READONLY, DEBUGGING

 27 .debug_info   0000009d  0000000000000000  0000000000000000  0000109a  2**0

                  CONTENTS, READONLY, DEBUGGING

 28 .debug_abbrev 0000006f  0000000000000000  0000000000000000  00001137  2**0

                  CONTENTS, READONLY, DEBUGGING

 29 .debug_line   0000003c  0000000000000000  0000000000000000  000011a6  2**0

                  CONTENTS, READONLY, DEBUGGING

 30 .debug_str    0000004c  0000000000000000  0000000000000000  000011e2  2**0

                  CONTENTS, READONLY, DEBUGGING

 31 .debug_loc    00000060  0000000000000000  0000000000000000  0000122e  2**0

                  CONTENTS, READONLY, DEBUGGING

SYMBOL TABLE:

0000000000400238 l    d  .interp        0000000000000000              .interp

0000000000400254 l    d  .note.ABI-tag  0000000000000000              .note.ABI-tag

0000000000400274 l    d  .note.gnu.build-id     0000000000000000              .note.gnu.build-id

0000000000400298 l    d  .gnu.hash      0000000000000000              .gnu.hash

00000000004002c0 l    d  .dynsym        0000000000000000              .dynsym

0000000000400380 l    d  .dynstr        0000000000000000              .dynstr

00000000004003fe l    d  .gnu.version   0000000000000000              .gnu.version

0000000000400410 l    d  .gnu.version_r 0000000000000000              .gnu.version_r

0000000000400440 l    d  .rela.dyn      0000000000000000              .rela.dyn

0000000000400458 l    d  .rela.plt      0000000000000000              .rela.plt

00000000004004e8 l    d  .init  0000000000000000              .init

0000000000400500 l    d  .plt   0000000000000000              .plt

0000000000400570 l    d  .text  0000000000000000              .text

00000000004007c8 l    d  .fini  0000000000000000              .fini

00000000004007d8 l    d  .rodata        0000000000000000              .rodata

00000000004007dc l    d  .eh_frame_hdr  0000000000000000              .eh_frame_hdr

0000000000400810 l    d  .eh_frame      0000000000000000              .eh_frame

0000000000600e20 l    d  .ctors 0000000000000000              .ctors

0000000000600e30 l    d  .dtors 0000000000000000              .dtors

0000000000600e40 l    d  .jcr   0000000000000000              .jcr

0000000000600e48 l    d  .dynamic       0000000000000000              .dynamic

0000000000600fd8 l    d  .got   0000000000000000              .got

0000000000600fe8 l    d  .got.plt       0000000000000000              .got.plt

0000000000601030 l    d  .data  0000000000000000              .data

0000000000601040 l    d  .bss   0000000000000000              .bss

0000000000000000 l    d  .comment       0000000000000000              .comment

0000000000000000 l    d  .debug_aranges 0000000000000000              .debug_aranges

0000000000000000 l    d  .debug_info    0000000000000000              .debug_info

0000000000000000 l    d  .debug_abbrev  0000000000000000              .debug_abbrev

0000000000000000 l    d  .debug_line    0000000000000000              .debug_line

0000000000000000 l    d  .debug_str     0000000000000000              .debug_str

0000000000000000 l    d  .debug_loc     0000000000000000              .debug_loc

0000000000601040 l     O .bss   0000000000000004              called.4053

00000000004005e0 l     F .text  0000000000000000              call_gmon_start

0000000000000000 l    df *ABS*  0000000000000000              crtstuff.c

0000000000600e20 l     O .ctors 0000000000000000              __CTOR_LIST__

0000000000600e30 l     O .dtors 0000000000000000              __DTOR_LIST__

0000000000600e40 l     O .jcr   0000000000000000              __JCR_LIST__

0000000000400600 l     F .text  0000000000000000              __do_global_dtors_aux

0000000000601048 l     O .bss   0000000000000001              completed.6531

0000000000601050 l     O .bss   0000000000000008              dtor_idx.6533

0000000000400670 l     F .text  0000000000000000              frame_dummy

0000000000000000 l    df *ABS*  0000000000000000              crtstuff.c

0000000000600e28 l     O .ctors 0000000000000000              __CTOR_END__

00000000004008c0 l     O .eh_frame      0000000000000000              __FRAME_END__

0000000000600e40 l     O .jcr   0000000000000000              __JCR_END__

0000000000400790 l     F .text  0000000000000000              __do_global_ctors_aux

0000000000000000 l    df *ABS*  0000000000000000              tttt.c

0000000000600e1c l       .ctors 0000000000000000              __init_array_end

0000000000601038 l     O .data  0000000000000000              __dso_handle

0000000000600e48 l     O .dynamic       0000000000000000              _DYNAMIC

0000000000600e1c l       .ctors 0000000000000000              __init_array_start

0000000000600fe8 l     O .got.plt       0000000000000000              _GLOBAL_OFFSET_TABLE_

0000000000400760 g     F .text  0000000000000002              __libc_csu_fini

0000000000601030  w      .data  0000000000000000              data_start

0000000000400770 g     F .text  000000000000001a              .hidden atexit

0000000000601040 g       *ABS*  0000000000000000              _edata

00000000004007c8 g     F .fini  0000000000000000              _fini

0000000000000000       F *UND*  0000000000000000              __stack_chk_fail@@GLIBC_2.4

0000000000400520       F *UND*  0000000000000000              _mcleanup@@GLIBC_2.2.5

0000000000600e38 g     O .dtors 0000000000000000              .hidden __DTOR_END__

0000000000000000       F *UND*  0000000000000000              __libc_start_main@@GLIBC_2.2.5

0000000000601030 g       .data  0000000000000000              __data_start

0000000000000000       F *UND*  0000000000000000              __monstartup@@GLIBC_2.2.5

00000000004005a0 g     F .text  000000000000003f              __gmon_start__

00000000004007d8 g     O .rodata        0000000000000004              _IO_stdin_used

00000000004006d0 g     F .text  0000000000000089              __libc_csu_init

0000000000601058 g       *ABS*  0000000000000000              _end

0000000000400570 g     F .text  0000000000000000              _start

0000000000601040 g       *ABS*  0000000000000000              __bss_start

0000000000400694 g     F .text  000000000000003b              main

0000000000000000       F *UND*  0000000000000000              mcount@@GLIBC_2.2.5

00000000004007d6 g       *ABS*  0000000000000000              etext

0000000000000000  w      *UND*  0000000000000000              _Jv_RegisterClasses

0000000000000000       F *UND*  0000000000000000              __cxa_atexit@@GLIBC_2.2.5

00000000004004e8 g     F .init  0000000000000000              _init 


스트라이핑

$ gcc -g -pg tttt.c

$ strip a.out

$ objdump -x a.out


a.out:     file format elf64-x86-64

a.out

architecture: i386:x86-64, flags 0x00000112:

EXEC_P, HAS_SYMS, D_PAGED

start address 0x0000000000400570


Program Header:

    PHDR off    0x0000000000000040 vaddr 0x0000000000400040 paddr 0x0000000000400040 align 2**3

         filesz 0x00000000000001f8 memsz 0x00000000000001f8 flags r-x

  INTERP off    0x0000000000000238 vaddr 0x0000000000400238 paddr 0x0000000000400238 align 2**0

         filesz 0x000000000000001c memsz 0x000000000000001c flags r--

    LOAD off    0x0000000000000000 vaddr 0x0000000000400000 paddr 0x0000000000400000 align 2**21

         filesz 0x00000000000008c4 memsz 0x00000000000008c4 flags r-x

    LOAD off    0x0000000000000e20 vaddr 0x0000000000600e20 paddr 0x0000000000600e20 align 2**21

         filesz 0x0000000000000220 memsz 0x0000000000000238 flags rw-

 DYNAMIC off    0x0000000000000e48 vaddr 0x0000000000600e48 paddr 0x0000000000600e48 align 2**3

         filesz 0x0000000000000190 memsz 0x0000000000000190 flags rw-

    NOTE off    0x0000000000000254 vaddr 0x0000000000400254 paddr 0x0000000000400254 align 2**2

         filesz 0x0000000000000044 memsz 0x0000000000000044 flags r--

EH_FRAME off    0x00000000000007dc vaddr 0x00000000004007dc paddr 0x00000000004007dc align 2**2

         filesz 0x0000000000000034 memsz 0x0000000000000034 flags r--

   STACK off    0x0000000000000000 vaddr 0x0000000000000000 paddr 0x0000000000000000 align 2**3

         filesz 0x0000000000000000 memsz 0x0000000000000000 flags rw-

   RELRO off    0x0000000000000e20 vaddr 0x0000000000600e20 paddr 0x0000000000600e20 align 2**0

         filesz 0x00000000000001e0 memsz 0x00000000000001e0 flags r--


Dynamic Section:

  NEEDED               libc.so.6

  INIT                 0x00000000004004e8

  FINI                 0x00000000004007c8

  GNU_HASH             0x0000000000400298

  STRTAB               0x0000000000400380

  SYMTAB               0x00000000004002c0

  STRSZ                0x000000000000007e

  SYMENT               0x0000000000000018

  DEBUG                0x0000000000000000

  PLTGOT               0x0000000000600fe8

  PLTRELSZ             0x0000000000000090

  PLTREL               0x0000000000000007

  JMPREL               0x0000000000400458

  RELA                 0x0000000000400440

  RELASZ               0x0000000000000018

  RELAENT              0x0000000000000018

  VERNEED              0x0000000000400410

  VERNEEDNUM           0x0000000000000001

  VERSYM               0x00000000004003fe


Version References:

  required from libc.so.6:

    0x09691a75 0x00 03 GLIBC_2.2.5

    0x0d696914 0x00 02 GLIBC_2.4


Sections:

Idx Name          Size      VMA               LMA               File off  Algn

  0 .interp       0000001c  0000000000400238  0000000000400238  00000238  2**0

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  1 .note.ABI-tag 00000020  0000000000400254  0000000000400254  00000254  2**2

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  2 .note.gnu.build-id 00000024  0000000000400274  0000000000400274  00000274  2**2

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  3 .gnu.hash     00000028  0000000000400298  0000000000400298  00000298  2**3

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  4 .dynsym       000000c0  00000000004002c0  00000000004002c0  000002c0  2**3

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  5 .dynstr       0000007e  0000000000400380  0000000000400380  00000380  2**0

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  6 .gnu.version  00000010  00000000004003fe  00000000004003fe  000003fe  2**1

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  7 .gnu.version_r 00000030  0000000000400410  0000000000400410  00000410  2**3

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  8 .rela.dyn     00000018  0000000000400440  0000000000400440  00000440  2**3

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

  9 .rela.plt     00000090  0000000000400458  0000000000400458  00000458  2**3

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

 10 .init         00000018  00000000004004e8  00000000004004e8  000004e8  2**2

                  CONTENTS, ALLOC, LOAD, READONLY, CODE

 11 .plt          00000070  0000000000400500  0000000000400500  00000500  2**4

                  CONTENTS, ALLOC, LOAD, READONLY, CODE

 12 .text         00000258  0000000000400570  0000000000400570  00000570  2**4

                  CONTENTS, ALLOC, LOAD, READONLY, CODE

 13 .fini         0000000e  00000000004007c8  00000000004007c8  000007c8  2**2

                  CONTENTS, ALLOC, LOAD, READONLY, CODE

 14 .rodata       00000004  00000000004007d8  00000000004007d8  000007d8  2**2

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

 15 .eh_frame_hdr 00000034  00000000004007dc  00000000004007dc  000007dc  2**2

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

 16 .eh_frame     000000b4  0000000000400810  0000000000400810  00000810  2**3

                  CONTENTS, ALLOC, LOAD, READONLY, DATA

 17 .ctors        00000010  0000000000600e20  0000000000600e20  00000e20  2**3

                  CONTENTS, ALLOC, LOAD, DATA

 18 .dtors        00000010  0000000000600e30  0000000000600e30  00000e30  2**3

                  CONTENTS, ALLOC, LOAD, DATA

 19 .jcr          00000008  0000000000600e40  0000000000600e40  00000e40  2**3

                  CONTENTS, ALLOC, LOAD, DATA

 20 .dynamic      00000190  0000000000600e48  0000000000600e48  00000e48  2**3

                  CONTENTS, ALLOC, LOAD, DATA

 21 .got          00000010  0000000000600fd8  0000000000600fd8  00000fd8  2**3

                  CONTENTS, ALLOC, LOAD, DATA

 22 .got.plt      00000048  0000000000600fe8  0000000000600fe8  00000fe8  2**3

                  CONTENTS, ALLOC, LOAD, DATA

 23 .data         00000010  0000000000601030  0000000000601030  00001030  2**3

                  CONTENTS, ALLOC, LOAD, DATA

 24 .bss          00000018  0000000000601040  0000000000601040  00001040  2**4

                  ALLOC

 25 .comment      0000002a  0000000000000000  0000000000000000  00001040  2**0

                  CONTENTS, READONLY

SYMBOL TABLE:

no symbols 


프로파일링 관련 gmon_start와 -pg 옵션 없을때 주소값의 차이

You can see here, that the symbol value of __gmon_start__ is set to 00000000.

[링크 : http://stackoverflow.com/questions/12697081/what-is-gmon-start-symbol]

'Linux' 카테고리의 다른 글

AMD avx 리눅스 식별자  (0) 2016.03.08
리눅스용 비디오 편집 프로그램  (0) 2016.03.02
iotop  (0) 2016.01.19
리눅스에서 메모리 뱅크 확인하기  (0) 2015.10.30
IIO - Industrial I/O  (2) 2015.09.03
Posted by 구차니
Linux/Ubuntu2016. 2. 16. 10:18

서버 구동시 메시지를 보니.. TLS 어쩌구.. 보안 타입...

$ /usr/lib/vino/vino-server --sm-disable start

16/02/2016 10시 12분 29초 Autoprobing TCP port in (all) network interface

16/02/2016 10시 12분 29초 Listening IPv6://[::]:5900

16/02/2016 10시 12분 29초 Listening IPv4://0.0.0.0:5900

16/02/2016 10시 12분 29초 Autoprobing selected port 5900

16/02/2016 10시 12분 29초 Advertising security type: 'TLS' (18)

16/02/2016 10시 12분 29초 Re-binding socket to listen for VNC connections on TCP port 5900 in (all) interface

16/02/2016 10시 12분 29초 Listening IPv6://[::]:5900

16/02/2016 10시 12분 29초 Listening IPv4://0.0.0.0:5900

16/02/2016 10시 12분 29초 Clearing securityTypes

16/02/2016 10시 12분 29초 Advertising security type: 'TLS' (18)

16/02/2016 10시 12분 29초 Clearing securityTypes

16/02/2016 10시 12분 29초 Advertising security type: 'TLS' (18)

16/02/2016 10시 12분 29초 Advertising authentication type: 'No Authentication' (1)

16/02/2016 10시 12분 29초 Re-binding socket to listen for VNC connections on TCP port 5900 in (all) interface

16/02/2016 10시 12분 29초 Listening IPv6://[::]:5900

16/02/2016 10시 12분 29초 Listening IPv4://0.0.0.0:5900

16/02/2016 10시 12분 29초 Listening for VNC connections on TCP port 5900 in (all) network interface

16/02/2016 10시 12분 29초 Listening IPv6://[::]:5900

16/02/2016 10시 12분 29초 Listening IPv4://0.0.0.0:5900

16/02/2016 10시 12분 29초 Clearing securityTypes

16/02/2016 10시 12분 29초 Clearing authTypes

16/02/2016 10시 12분 29초 Advertising security type: 'TLS' (18)

16/02/2016 10시 12분 29초 Advertising authentication type: 'No Authentication' (1)

16/02/2016 10시 12분 29초 Advertising security type: 'No Authentication' (1)


$ sudo apt-get install xtightvncviewer

패키지 목록을 읽는 중입니다... 완료

의존성 트리를 만드는 중입니다

상태 정보를 읽는 중입니다... 완료

제안하는 패키지:

  tightvncserver

다음 새 패키지를 설치할 것입니다:

  xtightvncviewer

0개 업그레이드, 1개 새로 설치, 0개 제거 및 0개 업그레이드 안 함.

54.7 k바이트 아카이브를 받아야 합니다.

이 작업 후 186 k바이트의 디스크 공간을 더 사용하게 됩니다.

받기:1 http://kr.archive.ubuntu.com/ubuntu/ wily/universe xtightvncviewer amd64 1.3.10-0ubuntu2 [54.7 kB]

내려받기 54.7 k바이트, 소요시간 0초 (324 k바이트/초)

Selecting previously unselected package xtightvncviewer.

(데이터베이스 읽는중 ...현재 227107개의 파일과 디렉터리가 설치되어 있습니다.)

Preparing to unpack .../xtightvncviewer_1.3.10-0ubuntu2_amd64.deb ...

Unpacking xtightvncviewer (1.3.10-0ubuntu2) ...

Processing triggers for man-db (2.7.4-1) ...

Processing triggers for menu (2.1.47ubuntu1) ...

xtightvncviewer (1.3.10-0ubuntu2) 설정하는 중입니다 ...

Processing triggers for menu (2.1.47ubuntu1) ...


$ xtightvncviewer

Connected to RFB server, using protocol version 3.7

No authentication needed

Desktop name "minimonk@devmonk"

VNC server default format:

  32 bits per pixel.

  Least significant byte first in each pixel.

  True colour: max red 255 green 255 blue 255, shift red 16 green 8 blue 0

Warning: Cannot convert string "-*-helvetica-bold-r-*-*-16-*-*-*-*-*-*-*" to type FontStruct

Using default colormap which is TrueColor.  Pixel format:

  32 bits per pixel.

  Least significant byte first in each pixel.

  True colour: max red 255 green 255 blue 255, shift red 16 green 8 blue 0

Same machine: preferring raw encoding


일단은. 짜증나서 뷰어 변경하니 되긴 함.


$ gsettings set org.gnome.Vino require-encryption false

보안 강화로 인해 14.10 이후 부터는 tls를 강제로 켜놓는 바람에
클라이언트 들이 지원을 못하는걸려나?
dconf-editor로 encryption을 꺼도 꺼지지 않는다 ㅠㅠ

+
sudo dcont-editor
로 encryption을 꺼서 되는건가?
리부팅 해도 계속 되네 -ㅁ-???


'Linux > Ubuntu' 카테고리의 다른 글

응컁컁 ubuntu 16.10 LTS!  (0) 2016.04.24
notepadqq 흐음...  (0) 2016.03.23
ubuntu selinux... disabled?!  (0) 2016.02.15
ubuntu 15.10 가벼워졌네?  (0) 2016.02.12
우분투 multiseat 설정  (0) 2016.02.04
Posted by 구차니
Linux/Ubuntu2016. 2. 15. 12:36

selinux가 켜져 있는지 꺼져 있는지 확인하는 방법


$ selinuxenabled

The program 'selinuxenabled' is currently not installed. You can install it by typing:

sudo apt-get install selinux-utils


$ sudo apt-get install selinux-utils

패키지 목록을 읽는 중입니다... 완료

의존성 트리를 만드는 중입니다

상태 정보를 읽는 중입니다... 완료

다음 새 패키지를 설치할 것입니다:

  selinux-utils

0개 업그레이드, 1개 새로 설치, 0개 제거 및 7개 업그레이드 안 함.

53.5 k바이트 아카이브를 받아야 합니다.

이 작업 후 270 k바이트의 디스크 공간을 더 사용하게 됩니다.

받기:1 http://kr.archive.ubuntu.com/ubuntu/ wily/universe selinux-utils amd64 2.3-2build1 [53.5 kB]

내려받기 53.5 k바이트, 소요시간 0초 (776 k바이트/초)

Selecting previously unselected package selinux-utils.

(데이터베이스 읽는중 ...현재 181268개의 파일과 디렉터리가 설치되어 있습니다.)

Preparing to unpack .../selinux-utils_2.3-2build1_amd64.deb ...

Unpacking selinux-utils (2.3-2build1) ...

Processing triggers for man-db (2.7.4-1) ...

selinux-utils (2.3-2build1) 설정하는 중입니다 ...


$ selinuxenabled && echo enabled || echo disabled

disabled


[링크 : http://www.revsys.com/writings/quicktips/turn-off-selinux.html]


Ubuntu 15.10 인데 꺼져있네.. 건드린거 없으니 기본이 꺼져 있는 듯

'Linux > Ubuntu' 카테고리의 다른 글

notepadqq 흐음...  (0) 2016.03.23
ubuntu 15.10 vino.. 접속 불가?  (0) 2016.02.16
ubuntu 15.10 가벼워졌네?  (0) 2016.02.12
우분투 multiseat 설정  (0) 2016.02.04
LXDE 에서는... XDMCP 미지원?  (0) 2016.02.04
Posted by 구차니