Size: px
Start display at page:

Download ""

Transcription

1

2 STACK SMASHING PROTECTOR SSP SSP SSP egcs SSP C glibc glibc spec glibc SSP spec LIBSAFE LIBSAFE Libsafe RPM LIBSAFE LIBSAFE i

3 ii

4 1. Stack Smashing Protector Libsafe 2 2. Stack Smashing Protector Libsafe Stack Smashing Protector Libsafe C C Stack Smashing Protector

5 3. Stack Smashing Protector 3.1. Stack Smashing Protector SSP SSP SSP 3.2. SSP SSP SSP gcc gcc SSP gcc SSP SSP Red Hat Linux egcs p (gcc ) Intel SSP egcs p FreeBSD Red Hat 2 1 Red Hat Linux 6.2 egcs 2 Red Hat FreeBSD [1]. -2

6 SSP egcs SSP egcs SSP egcs egcs egcs 6. 1) egcs egcs ftp://ftp.redhat.com/pub/redhat/linux/6.2/ja/os/i386/srpms/egcs src.rpm # rpm -ivh egcs src.rpm egcs SPEC # ls /usr/src/redhat/sources egcs addressof.patch egcs asm.patch egcs cpu.patch egcs davem.patch egcs expr.patch egcs fold.patch egcs integrate.patch egcs linux.patch egcs strlen.patch egcs warn.patch egcs tar.bz2 egcs-libstdc++-compat.tar.gz egcs gcse.patch # ls /usr/src/redhat/specs egcs.spec. -3

7 2) SSP SSP SPEC # mv egcs.spec.patch /usr/src/redhat/specs SSP # mv egcs protector.patch /usr/src/redhat/sources 3) egcs (SPEC ) /usr/src/redhat/specs egcs # cd /usr/src/redhat/specs # patch p0 < egcs.spec.patch 4) egcs egcs # rpm -bb --buildpolicy redhat /usr/src/redhat/specs/egcs.spec. -4

8 # ls /usr/src/redhat/rpms/i386 cpp p.i386.rpm egcs p.i386.rpm egcs-g p.i386.rpm egcs-objc p.i386.rpm egcs-c p.i386.rpm libstdc p.i386.rpm 5) egcs egcs # rpm -Uvh --force /usr/src/redhat/rpms/i386/egcs p.i386.rpm 6) SSP gcc (test.c) #include <stdio.h> #include <string.h> #include <sys/types.h> #include <stdlib.h> char shellcode[] = " xeb x1f x5e x89 x76 x08 x31 xc0 x88 x46 x07 x89 x46 x0c xb0 x0b" " x89 xf3 x8d x4e x08 x8d x56 x0c xcd x80 x31 xdb x89 xd8 x40 xcd" " x80 xe8 xdc xff xff xff/bin/sh"; char large_string[128]; int contains_null_bytes(caddr_t addrp) { uint addr = (uint) addrp; return!(addr & 0xff && addr & 0xff00 && addr & 0xff0000 && addr & 0xff000000); }. -5

9 void foo() { char buffer[96], *p; int i; long *long_ptr = (long *) large_string; printf("press any key to continue..."); getchar(); for (p=buffer; contains_null_bytes(p); p++); if (contains_null_bytes(p)) { printf("we can't find an acceptable address that doesn't contain n"); printf("a zero byte. Giving up. n"); exit(-1); } for (i = 0; i < 32; i++) *(long_ptr + i) = (int) p; for (i = 0; i < sizeof(shellcode)-1; i++) { large_string[i] = shellcode[i]; } strcpy(p, large_string); return; } int main(int ac, char *av[]) { foo(); return 0; } % gcc -o test test.c %./test % tail -n 1 /var/log/message Jan 8 14:57:46 hostname test: stack smashing attack in function foo. -6

10 3.3. SSP C SSP C SSP gcc C C glibc glibc glibc glibc ftp://ftp.redhat.com/pub/redhat/linux/6.2/ja/os/i386/srpms/glibc src.rpm # rpm ivh glibc src.rpm # ls /usr/src/redhat/sources glibc tar.gz # ls /usr/src/redhat/specs glibc-2.1.spec glibc spec SSP glibc SPEC # mv glibc-2.1.spec.patch /usr/src/redhat/specs. -7

11 /usr/src/redhat/specs glibc # cd /usr/src/redhat/specs # patch p0 < glibc-2.1.spec.patch glibc SSP # mv glibc propolice.patch /usr/src/redhat/sources glibc glibc # rpm -bb --target i686-redhat-linux /usr/src/redhat/specs/glibc-2.1.spec # ls /usr/src/redhat/rpms/i386 glibc p.i386.rpm glibc-profile p.i386.rpm glibc-devel p.i386.rpm nscd p.i386.rpm glibc # rpm -Uvh --force /usr/src/redhat/rpms/i386/ glibc p.i386.rpm. -8

12 3.4. SSP SSP SSP gcc Linux ftp://ftp.redhat.com/pub/redhat/linux/6.2/ja/os/i386/srpms/kernel src.rpm # rpm ivh kernel src.rpm # ls /usr/src/redhat/sources README.kernel-sources ibcs tar.gz ibcs-2.1-locking.patch ibcs-2.1-rh.patch installkernel ipvs patch kernel-2.2-buildasm.sh kernel alpha-boot.config kernel alpha-smp.config kernel alpha.config kernel i386-boot.config kernel i386-smp.config kernel i386.config kernel i586-smp.config kernel i586.config kernel i686-smp.config linux ide-cd-shutup.patch linux ide-probe.patch linux iobuffix.patch linux ipvs-template.patch linux joyfix.patch linux lfs-headers.patch linux lfs.patch linux loop.patch linux lucent-hang.patch linux mediagx.patch linux megaraid.patch linux moremaestro.patch linux msdos-fixup.patch linux nautilus-srm.patch linux network-fixes.patch linux newagpdist.patch. -9

13 . -10 kernel i686.config linux nfs-fix.patch kernel propolice.patch linux nfsattack2.patch kernel sparc-boot.config linux nobfddep.patch kernel sparc-smp.config linux oom-hang.patch kernel sparc.config linux plip-fix.patch kernel sparc64-boot.config linux psi-update.patch kernel sparc64-smp.config linux rpc.patch kernel sparc64.config linux scsi-blacklist.patch ksymoops-0.7c.tar.gz linux scsi-devs.patch linux c90x.patch linux security-a1.patch linux piii-xor.patch linux security-a2.patch linux piii.patch linux security-a3.patch linux bigmem-initrd.patch linux security-a4.patch linux bigmem-raw.patch linux shmem-overwrite.patch linux cpq-mdh.patch linux sigio.patch linux ipvsfix.patch linux sigkill.patch linux limits.patch linux sk98-fix.patch linux peerbus.patch linux sound-update.patch linux symversion.patch linux sparc-config.patch linux ioapic.patch linux sparc-cpu-bug.patch linux aic7xxx patch linux sparc-cpu-bug2.patch linux aic7xxx patch linux sparc-cpu-bug3.patch linux aic7xxx patch linux sparc-fixes.patch linux aic7xxx patch linux sparc-lockd.patch linux aic7xxx patch linux sparc-mmap.patch linux aic7xxx patch linux sparc-nfs.patch linux alphamsnd.patch linux sparc-raid.patch linux bigmem-dcache.patch linux sparc-syscall.patch linux bigmem-no-lfs.patch linux sparcacenic.patch linux bigmem.patch linux sparcswift.patch linux smart patch linux sunpartshaddap.patch linux crash.patch linux sunqe.patch linux megaraid.patch linux timersync.patch linux acenic041.patch linux tar.gz linux agphjlfixes.patch linux-autoconf.h

14 linux aic7xxx patch linux-modversions.h linux alpha-exception.patch linux-version.h linux alpha-ramdisk.patch module-info linux alphasym.patch linux blkdev.patch linux bonding.patch linux cyclades-smp.patch linux duh.patch linux eepro100.patch linux eepropre7.patch linux elf-loader.patch linux emu10k1.patch linux fb-modules.patch pcmcia-cs network.script pcmcia-cs com.patch pcmcia-cs xircom.patch pcmcia-cs config.patch pcmcia-cs script.patch pcmcia-cs tar.gz raid b1.gz raw rh61.diff rhkmvtag.c linux i386-asm.patch # ls /usr/src/redhat/specs kernel spec spec SSP SPEC # mv kernel spec.patch /usr/src/redhat/specs. -11

15 /usr/src/redhat/specs # cd /usr/src/redhat/specs # patch p0 < kernel spec.patch SSP # mv kernel propolice.patch /usr/src/redhat/sources # rpm -bb --target i686-redhat-linux /usr/src/redhat/specs/kernel spec # ls /usr/src/redhat/rpms/i386 kernel-headers p.i386.rpm kernel-ibcs p.i386.rpm kernel-pcmcia-cs p.i386.rpm kernel-smp p.i386.rpm kernel-source p.i386.rpm kernel p.i386.rpm kernel-utils p.i386.rpm kernel-boot p.i386.rpm kernel-doc p.i386.rpm # rpm -Uvh --force /usr/src/redhat/rpms/i386/ kernel p.i386.rpm. -12

16 3.5. # rpm --rebuild buildpolicy redhat src_package_name c SSP gcc SSP mkisofs src.rpm popt src.rpm usernet src.rpm xpilot src.rpm. -13

17 4. Libsafe 4.1. Libsafe Libsafe C 4.2. Libsafe Libsafe Libsafe SSP Libsafe Libsafe Red Hat Linux Intel Libsafe

18 RPM Libsafe RPM Libsafe # rpm -ivh libsafe i386.rpm /lib/libsafe.so /usr/doc/libsafe-2.0 /usr/doc/libsafe-2.0/copying /usr/doc/libsafe-2.0/changelog /usr/doc/libsafe-2.0/ _notification /usr/doc/libsafe-2.0/install /usr/doc/libsafe-2.0/libprelude /usr/doc/libsafe-2.0/readme /usr/doc/libsafe-2.0/doc/* /usr/doc/libsafe-2.0/exploits/* /usr/doc/libsafe-2.0/tools/* /lib Libsafe /usr/doc/libsafe-2.0/exploit /usr/doc/libsafe-2.0/tools Libsafe RPM Libsafe Libsafe. -15

19 Libsafe Libsafe # /usr/doc/libsafe-2.0/tools/libsafe-install.sh -r Libsafe Libsafe % tar -zxvf libsafe tgz % cd libsafe % make % su root # make install Libsafe [y] [n] Type y for installing libsafe system wide?[default n] Libsafe /lib man RPM exploits tools. -16

20 4.3. Libsafe Libsafe libsafe-install.sh RPM /usr/doc/libsafe-2.0/tools tools # libsafe-install.sh -i -i -r LD_PRELOAD sh % LD_PRELOAD=/lib/libsafe.so.2 % export LD_PRELOAD csh % setenv LD_PRELOAD /lib/libsafe.so.2 LD_PRELOAD Libsafe. -17

21 setuid LD_PRELOAD setuid Libsafe Libsafe -fomit-frame-pointer 4.4. Libsafe Libsafe Libsafe Libsafe RPM /usr/doc/libsafe-2.0/exploits exploits % t1 strcpy sh Libsafe. -18

22 Libsafe Libsafe RPM /usr/doc/libsafe-2.0/exploits exploits % canary-exploit fprintf sh Libsafe. -19

23 . -20

24 5. Stack Smashing Protector Libsafe 2 DoS. -21

25 [1] How to build RedHat Linux with stack protection, [2] Manpage of Libsafe, [3], LinuxWORLD, 2002 Jun.. -22

Sophos Anti-Virus UNIX or Linux startup guide

Sophos Anti-Virus UNIX or Linux startup guide UNIX Linux 1.0 1 UNIX Sophos Anti-Virus Sophos Anti-Virus Sophos Anti-Virus Sophos Anti-Virus UNIX UNIX Sophos Anti-Virus UNIX EM Library Sophos Anti-Virus / Sophos Anti-Virus Network Install CD CD Sophos

More information

LinuxDeviceDriver2003-PDF.PDF

LinuxDeviceDriver2003-PDF.PDF Linux Kernel Conference 2003 Linux [email protected] 2003/10/9 Device Drivers Limited 1 Linux 2.6 Device Drivers Limited 2 SpinLock Atomic (SMP) HyperThreading(HT) tasklet task_queue /proc Device Drivers

More information

joho07-1.ppt

joho07-1.ppt 0xbffffc5c 0xbffffc60 xxxxxxxx xxxxxxxx 00001010 00000000 00000000 00000000 01100011 00000000 00000000 00000000 xxxxxxxx x y 2 func1 func2 double func1(double y) { y = y + 5.0; return y; } double func2(double*

More information

Linuxデバイスドライバ.PDF

Linuxデバイスドライバ.PDF Linux [email protected] 2002/10/9 Linux Kernel Conference 2002 1 Linux 2 Linux 3 Software Hardware Device Algolith m Protocol Applicati on 4 CPU 128MB NIC ATI Radeon GeForce2 MX400 Matrox G400 DISK 5 OS

More information

tutorial_lc.dvi

tutorial_lc.dvi 00 Linux v.s. RT Linux v.s. ART-Linux Linux RT-Linux ART-Linux Linux [email protected] 1 1.1 Linux Yes, No.,. OS., Yes. Linux,.,, Linux., Linux.,, Linux. Linux.,,. Linux,.,, 0..,. RT-Linux

More information

Microsoft Word - C.....u.K...doc

Microsoft Word - C.....u.K...doc C uwêííôöðöõ Ð C ÔÖÐÖÕ ÐÊÉÌÊ C ÔÖÐÖÕÊ C ÔÖÐÖÕÊ Ç Ê Æ ~ if eíè ~ for ÒÑÒ ÌÆÊÉÉÊ ~ switch ÉeÍÈ ~ while ÒÑÒ ÊÍÍÔÖÐÖÕÊ ~ 1 C ÔÖÐÖÕ ÐÊÉÌÊ uê~ ÏÒÏÑ Ð ÓÏÖ CUI Ô ÑÊ ÏÒÏÑ ÔÖÐÖÕÎ d ÈÍÉÇÊ ÆÒ Ö ÒÐÑÒ ÊÔÎÏÖÎ d ÉÇÍÊ

More information

MINI2440マニュアル

MINI2440マニュアル ARM Cortex-M3 STM32F103 (GCC TOPPERS/ASP ) http://www.nissin-tech.com [email protected] 2009/10/15 copyright@2009 1 STM32F103...3 STM32...4...8 3.1...8 3.2...9 3.3...13 KEIL...19 4.1 KEIL...19 4.2...22

More information

Armadillo-9 ソフトウェアマニュアル

Armadillo-9 ソフトウェアマニュアル Software Manual http://www.atmark-techno.com/ http://armadillo.atmark-techno.com/ Armadillo-9 software manual ver.1.0.16 1.... 1 1.1.... 1 1.2.... 1 1.3.... 1 1.4.... 2 1.5.... 2 1.6.... 2 2.... 3 2.1....

More information

Red Hat Enterprise Linux ES (v. 3)

Red Hat Enterprise Linux ES (v. 3) 2005-02-01 Red Hat Enterprise Linux ES (v. 3) PRIMERGY Linux Linux PRIMERGY Linux (SupportDesk Product ) All Rights Reserved, Copyright (C) 2004 1 1. 1.1 Linux ) SCSI ID=1, 2, 3 /dev/sda, /dev/sdb, /dev/sdc

More information

ARM gcc Kunihiko IMAI 2009 1 11 ARM gcc 1 2 2 2 3 3 4 3 4.1................................. 3 4.2............................................ 4 4.3........................................

More information

% finger apt-get kernel-package, libc6-dev, gcc, make, bin86, bzip2, libdb3-dev, libncurses-dev, fakeroot

% finger apt-get kernel-package, libc6-dev, gcc, make, bin86, bzip2, libdb3-dev, libncurses-dev, fakeroot apt-get % uname -r http://www.kernel.org/ % finger @kernel.org finger apt-get kernel-package, libc6-dev, gcc, make, bin86, bzip2, libdb3-dev, libncurses-dev, fakeroot apt-get apt-get # apt-get install

More information

OpenAM 13 インストールガイド

OpenAM 13 インストールガイド OpenAM 13 ( ) 2018 3 13 2.4 1 1 1.1.................................... 1 1.2..................................... 1 1.3....................................... 1 2 3 2.1...............................

More information

(2 Linux Mozilla [ ] [ ] [ ] [ ] URL 2 qkc, nkc ~/.cshrc (emacs 2 set path=($path /usr/meiji/pub/linux/bin tcsh b

(2 Linux Mozilla [ ] [ ] [ ] [ ] URL   2 qkc, nkc ~/.cshrc (emacs 2 set path=($path /usr/meiji/pub/linux/bin tcsh b II 5 (1 2005 5 26 http://www.math.meiji.ac.jp/~mk/syori2-2005/ UNIX (Linux Linux 1 : 2005 http://www.math.meiji.ac.jp/~mk/syori2-2005/jouhousyori2-2005-00/node2. html ( (Linux 1 2 ( ( http://www.meiji.ac.jp/mind/tool/internet-license/

More information

r08.dvi

r08.dvi 19 8 ( ) 019.4.0 1 1.1 (linked list) ( ) next ( 1) (head) (tail) ( ) top head tail head data next 1: NULL nil ( ) NULL ( NULL ) ( 1 ) (double linked list ) ( ) 1 next 1 prev 1 head cur tail head cur prev

More information

ohp03.dvi

ohp03.dvi 19 3 ( ) 2019.4.20 CS 1 (comand line arguments) Unix./a.out aa bbb ccc ( ) C main void int main(int argc, char *argv[]) {... 2 (2) argc argv argc ( ) argv (C char ) ( 1) argc 4 argv NULL. / a. o u t \0

More information

Linux XScreenSaver T020074

Linux XScreenSaver T020074 Linux XScreenSaver T020074 Linux XScreenSaver XScreenSaver Linux Linux Linux X Window System X Window System Xlib XScreenSaver X Window System Xlib XScreenSaver Xlib vroot.h Xlib XScreenSaver Linux Linux

More information

RedHat OpenFOAM OpenFOAM ver 2.3 RedHat(RHEL)

RedHat OpenFOAM OpenFOAM ver 2.3 RedHat(RHEL) RedHat Linux OpenFOAM (OpenFOAM 2.2.x, 2.3.x) y.imagawa 14.3.8 RedHat OpenFOAM OpenFOAM ver 2.3 RedHat(RHEL) OpenFOAM OpenFOAM Linux git Repository RedHat Linux OpenFOAM centfoam? OpenFOAM OS CentOS 6.5

More information

untitled

untitled CD (CTP/CPZ- SH03)[Debian Sarge, Vine, RedHat Enterprise Linux V4, Fedora Core5 ] How-to CD CTP/CPZ-SH03 CTP/CPZ-SH03 CF GNU/Linux FA (PCI-PM11A3) Debian Sarge, Vine, RedHat Enterprise Linux V4, Fedora

More information

untitled

untitled CISC(complex instruction set computer) RISC(reduced instruction set computer) (cross software) (compiler) (assembler) (linkage editor) (loader) tokenizer) (parser) (code generator) (execute) GNU http://www.gnu.org/

More information

r07.dvi

r07.dvi 19 7 ( ) 2019.4.20 1 1.1 (data structure ( (dynamic data structure 1 malloc C free C (garbage collection GC C GC(conservative GC 2 1.2 data next p 3 5 7 9 p 3 5 7 9 p 3 5 7 9 1 1: (single linked list 1

More information

2 1. Ubuntu 1.1 OS OS OS ( OS ) OS ( OS ) VMware Player VMware Player jp/download/player/ URL VMware Plaeyr VMware

2 1. Ubuntu 1.1 OS OS OS ( OS ) OS ( OS ) VMware Player VMware Player   jp/download/player/ URL VMware Plaeyr VMware 1 2010 [email protected] http://www.jsk.t.u-tokyo.ac.jp/~k-okada/lecture/ 2010 4 5 Linux 1 Ubuntu Ubuntu Linux 1 Ubuntu Ubuntu 3 1. 1 Ubuntu 2. OS Ubuntu OS 3. OS Ubuntu https://wiki.ubuntulinux.jp/ubuntutips/install/installdualboot

More information

ohp07.dvi

ohp07.dvi 19 7 ( ) 2019.4.20 1 (data structure) ( ) (dynamic data structure) 1 malloc C free 1 (static data structure) 2 (2) C (garbage collection GC) C GC(conservative GC) 2 2 conservative GC 3 data next p 3 5

More information

防災マップ作成システムの開発業務基本設計書

防災マップ作成システムの開発業務基本設計書 センサー情報相互運用配信システム インストールマニュアル Ver. 1.0.0 2015/10/1 国立研究開発法人防災科学技術研究所 変更履歴 Version 変更日付変更内容 1.0 2015/06/19 初版作成 1 目次 1 インストールの前に... 1 1.1 サーバー環境... 1 1.2 ネットワーク設定... 2 2 動作環境のインストール手順... 3 2.1 パッケージファイルの内容...

More information

Microsoft Word - PSB導入ガイド_ docx

Microsoft Word - PSB導入ガイド_ docx 入 1 / 49 入 日 1.0.0 2013/12/02 用 用 F-Secure 角 自 止 一 2 / 49 ... 4 1.... 4 2.... 4 3. 入... 4 4. 手 Windows... 5 4.1... 5 4.2 Windows... 9 5. 手 Windows Server... 13 6. 手 Linux... 19 6.1... 19 6.2 PSB... 20

More information

£Ã¥×¥í¥°¥é¥ß¥ó¥°ÆþÌç (2018) - Â裵²ó ¨¡ À©¸æ¹½Â¤¡§¾ò·ïʬ´ô ¨¡

£Ã¥×¥í¥°¥é¥ß¥ó¥°ÆþÌç (2018) - Â裵²ó  ¨¡ À©¸æ¹½Â¤¡§¾ò·ïʬ´ô ¨¡ (2018) 2018 5 17 0 0 if switch if if ( ) if ( 0) if ( ) if ( 0) if ( ) (0) if ( 0) if ( ) (0) ( ) ; if else if ( ) 1 else 2 if else ( 0) 1 if ( ) 1 else 2 if else ( 0) 1 if ( ) 1 else 2 (0) 2 if else

More information

3.2 Linux root vi(vim) vi emacs emacs 4 Linux Kernel Linux Git 4.1 Git Git Linux Linux Linus Fedora root yum install global(debian Ubuntu apt-get inst

3.2 Linux root vi(vim) vi emacs emacs 4 Linux Kernel Linux Git 4.1 Git Git Linux Linux Linus Fedora root yum install global(debian Ubuntu apt-get inst 1 OS Linux OS OS Linux Kernel 900 1000 IPA( :http://www.ipa.go.jp/) 8 12 ( ) 16 ( ) 4 5 22 60 2 3 6 Linux Linux 2 LKML 3 3.1 Linux Fedora 13 Ubuntu Fedora CentOS 3.2 Linux root vi(vim) vi emacs emacs 4

More information

Appendix

Appendix Appendix Appendix-A PHP 392 Appendix-B -> cd ext/pgsql -> phpize ->./configure --with-pgsql -> make -> make EXTENSION_DIR=/usr/local/lib/php/extensions install extension_dir = "/usr/local/lib/php/extensions/"

More information

PowerGres on Linuxマニュアル

PowerGres on Linuxマニュアル PowerGres R on Linux Linux Linus Torvalds TM R 1 2 2 PowerGres on Linux 2 2.1 PowerGres on Linux.................................... 2 2.2.............................................. 2 2.3..............................................

More information

IP L09( Tue) : Time-stamp: Tue 14:52 JST hig TCP/IP. IP,,,. ( ) L09 IP (2017) 1 / 28

IP L09( Tue) : Time-stamp: Tue 14:52 JST hig TCP/IP. IP,,,. ( )   L09 IP (2017) 1 / 28 L09(2017-11-21 Tue) : Time-stamp: 2017-11-21 Tue 14:52 JST hig TCP/IP. IP,,,. http://hig3.net L09 (2017) 1 / 28 9, IP, - L09 (2017) 2 / 28 C (ex. ) 1 TCP/IP 2 3 ( ) ( L09 (2017) 3 / 28 50+5, ( )50+5. (

More information

: CR (0x0d) LF (0x0a) line separator CR Mac LF UNIX CR+LF MS-DOS WINDOWS Japan Advanced Institute of Science and Technology

: CR (0x0d) LF (0x0a) line separator CR Mac LF UNIX CR+LF MS-DOS WINDOWS Japan Advanced Institute of Science and Technology I117 8 1 School of Information Science, Japan Advanced Institute of Science and Technology : CR (0x0d) LF (0x0a) line separator CR Mac LF UNIX CR+LF MS-DOS WINDOWS Japan Advanced Institute of Science and

More information

橡Pro PDF

橡Pro PDF 1 void main( ) char c; /* int c; */ int sum=0; while ((c = getchar())!= EOF) if(isdigit(c) ) sum += (c-'0'); printf("%d\n", sum); main()int i,sum=0; for(i=0;i

More information

MINI2440マニュアル

MINI2440マニュアル Multi-Media DSP/BF53x Linux http://www.csun.co.jp [email protected] 2009/3/6 copyright@2009 http://www.csun.co.jp [email protected] 1 DSP/BF53x...3 1.1...3 1.2...7 DSP/BF53x...8 2.1...8 2.2...9 uclinux...

More information

C

C C 1 2 1.1........................... 2 1.2........................ 2 1.3 make................................................ 3 1.4....................................... 5 1.4.1 strip................................................

More information

ソフトウェアについて Rev 年 1 月 16 日 このマニュアルでは標準でインストールしているソフトウェアの入手元 インストール方法の概要 インストール場所 についてご案内致します ABySS

ソフトウェアについて Rev 年 1 月 16 日 このマニュアルでは標準でインストールしているソフトウェアの入手元 インストール方法の概要 インストール場所 についてご案内致します ABySS このマニュアルでは標準でインストールしているソフトウェアの入手元 インストール方法の概要 インストール場所 についてご案内致します ABySS http://www.bcgsc.ca/platform/bioinfo/software/abyss/ abyss 1.3.4.tar.gz tar xvzf abyss 1.3.4.tar.gz cd abyss 1.3.4./configure prefix=/usr/local/abyss

More information

1 1.1 C 2 1 double a[ ][ ]; 1 3x x3 ( ) malloc() malloc 2 #include <stdio.h> #include

1 1.1 C 2 1 double a[ ][ ]; 1 3x x3 ( ) malloc() malloc 2 #include <stdio.h> #include 1 1.1 C 2 1 double a[ ][ ]; 1 3x3 0 1 3x3 ( ) 0.240 0.143 0.339 0.191 0.341 0.477 0.412 0.003 0.921 1.2 malloc() malloc 2 #include #include #include enum LENGTH = 10 ; int

More information

I. Backus-Naur BNF S + S S * S S x S +, *, x BNF S (parse tree) : * x + x x S * S x + S S S x x (1) * x x * x (2) * + x x x (3) + x * x + x x (4) * *

I. Backus-Naur BNF S + S S * S S x S +, *, x BNF S (parse tree) : * x + x x S * S x + S S S x x (1) * x x * x (2) * + x x x (3) + x * x + x x (4) * * 2015 2015 07 30 10:30 12:00 I. I VI II. III. IV. a d V. VI. 80 100 60 1 I. Backus-Naur BNF S + S S * S S x S +, *, x BNF S (parse tree) : * x + x x S * S x + S S S x x (1) * x x * x (2) * + x x x (3) +

More information

WebSphere Application Server V5.0 for Linux Ver. 1.11

WebSphere Application Server V5.0 for Linux Ver. 1.11 WebSphere Application Server V5.0 for Linux Ver. 1.11 1.... 3 2.... 4 2.1.... 4 2.2.... 4 2.3. ( ) rpm... 5 2.4.... 6 3. WebSphere Application Server V5 Base... 7 3.1. WebSphere Application Server... 7

More information

HITACHI Gigabit Fibre Channel (SUSE Linux Enterprise Server IOCard-FP2-Z-199(1)

HITACHI Gigabit Fibre Channel (SUSE Linux Enterprise Server IOCard-FP2-Z-199(1) HITACHI Gigabit Fibre Channel (SUSE Linux Enterprise Server IOCard-FP2-Z-199(1) 2 (VCCI) Linux Linus Torvalds Red Hat Red Hat Inc. SUSE SUSE LLC All rights reservedcopyright 2014, Hitachi,Ltd. Licensed

More information

Red Hat Enterprise Linux AS (v.3 for IPF) Update 3

Red Hat Enterprise Linux AS (v.3 for IPF) Update 3 2005-09-01 Red Hat Enterprise Linux AS (v.3 for Itanium) PRIMERGY Linux Linux PRIMERGY Global Array Manager-Client Global Array Manager-Client Linux (SupportDesk Product ) All Rights Reserved, Copyright

More information

昨年度までの研究紹介 および 研究計画

昨年度までの研究紹介 および 研究計画 第 12 回 ICN 研究会ワークショップ Cefore で キャッシュプラグイン開発 2018 年 8 月 30 日 ( 木 ) キャッシュプラグイン csmgrd は起動時に使用するキャッシュプラグインを指定 Cache plugin: キャッシュデータ保存方式 Cache algorithm: キャッシュ選択 / 置換アルゴリズム Cache Plugin Cache algorithm csmgrd

More information

Promise FastTrak100 Japanese Manual

Promise FastTrak100 Japanese Manual PROMISE TECHNOLOGY, INC. FastTrak100 TX/LP Series Ultra ATA/100 RAID Cards Japanese User s Manual October 5, 2001 TX/LP Series Ultra ATA/100 RAID Cards 0. 0.... 1 1.... 2 2.... 2... 3... 4 3.... 5...

More information

Installation Guide for Linux

Installation Guide for Linux Installation Guide for Linux for Linux Acronis Japan 1. はじめに... 2 1.1. 対象オペレーティングシステム... 2 2. エージェントのダウンロード... 3 3. Linux パッケージ... 3 3.1. Cent0S... 3 3.2. Ubuntu... 4 3.3. 手動でパッケージをインストールする場合... 5 4. エージェントのインストール...

More information

Minimum C Minimum C Minimum C BNF T okenseq W hite Any D

Minimum C Minimum C Minimum C BNF T okenseq W hite Any D 6 2019 5 14 6.1 Minimum C....................... 6 1 6.2....................................... 6 7 6.1 Minimum C Minimum C BNF T okenseq W hite Any Digit ::= 0 1 2... 9. Number ::= Digit Digit. Alphabet

More information

Copyright 2011, Oracle and/or its affiliates. All rights reserved. U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integra

Copyright 2011, Oracle and/or its affiliates. All rights reserved. U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integra Oracle Solaris Studio 12.3 Part No: E26450 2011 12 Copyright 2011, Oracle and/or its affiliates. All rights reserved. U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated

More information

Apache Web Server 2 Compaq ActiveAnswers Deskpro Compaq Insight Manager Fastart Systempro Systempro/LT ProLiant ROMPaq Qvision SmartStart NetFlex Quic

Apache Web Server 2 Compaq ActiveAnswers Deskpro Compaq Insight Manager Fastart Systempro Systempro/LT ProLiant ROMPaq Qvision SmartStart NetFlex Quic Technical Guide 1999 5 Internet and E-Commerce Solutions Business Unit Enterprise Solutions Division Apache Web Server Compaq Linux Apache HTTP Compaq Computer Corporation...3...3...4...5...6...7...7...7...8...10...10...16...16

More information

r03.dvi

r03.dvi 19 ( ) 019.4.0 CS 1 (comand line arguments) Unix./a.out aa bbb ccc ( ) C main void... argc argv argc ( ) argv (C char ) ( 1) argc 4 argv NULL. / a. o u t \0 a a \0 b b b \0 c c c \0 1: // argdemo1.c ---

More information

untitled

untitled C -1 - -2 - concept lecture keywords FILE, fopen, fclose, fscanf, fprintf, EOF, r w a, typedef gifts.dat Yt JZK-3 Jizake tsumeawase 45 BSP-15 Body soap set 3 BT-2 Bath towel set 25 TEA-2 Koutya

More information

Untitled

Untitled VASP 2703 2006 3 VASP 100 PC 3,4 VASP VASP VASP FFT. (LAPACK,BLAS,FFT), CPU VASP. 1 C LAPACK,BLAS VASP VASP VASP VASP bench.hg VASP CPU CPU CPU northwood LAPACK lmkl lapack64, BLAS lmkl p4 LA- PACK liblapack,

More information

A Responsive Processor for Parallel/Distributed Real-time Processing

A Responsive Processor for Parallel/Distributed Real-time Processing E-mail: yamasaki@{ics.keio.ac.jp, etl.go.jp} http://www.ny.ics.keio.ac.jp etc. CPU) I/O I/O or Home Automation, Factory Automation, (SPARC) (SDRAM I/F, DMAC, PCI, USB, Timers/Counters, SIO, PIO, )

More information

Northern Lights Server

Northern Lights Server FirstStep Guide Northern Lights Server Intel Management Module (Advanced Module / ISM 8.4) 2 www.nlcomputer.com 1 FirstStep Guide 1.1. INTEL MANAGEMENT MODULE 2... 5 1.2.... 9 1.3.... 10 2.1. BMC...11

More information

プログラムローダを用いた 関数の置換により Stack-based Buffer Overflow攻撃を 緩和する手法の提案と実装

プログラムローダを用いた 関数の置換により Stack-based Buffer Overflow攻撃を 緩和する手法の提案と実装 Ask for Answer about C++ Exception Handling with DWARF (Mitigation of Memory Corruption Attacks) Masahiro YOKOYAMA, Takamichi SAITO (Meiji University), Kuniyasu SUZAKI (AIST) 1 ご挨拶 我々は, プログラムの脆弱性及び脆弱性を悪用する攻撃への対策として,

More information

大統一Debian勉強会 gdb+python拡張を使ったデバッグ手法

大統一Debian勉強会 gdb+python拡張を使ったデバッグ手法 Debian 2013 gdb+python [email protected] 2013 6 29 Level Debian Up Debian Debian debian sid unstable Debian debian sid unstable *-dbg Debian debian sid unstable *-dbg gdb Debian debian sid unstable *-dbg

More information

:30 12:00 I. I VI II. III. IV. a d V. VI

:30 12:00 I. I VI II. III. IV. a d V. VI 2018 2018 08 02 10:30 12:00 I. I VI II. III. IV. a d V. VI. 80 100 60 1 I. Backus-Naur BNF N N y N x N xy yx : yxxyxy N N x, y N (parse tree) (1) yxyyx (2) xyxyxy (3) yxxyxyy (4) yxxxyxxy N y N x N yx

More information

#include <stdio.h> unsigned char x86[] = { 0x8b, 0x44, 0x24, 0x04, // mov eax,[esp+4] 0x03, 0x44, 0x24, 0x08, // add eax,[esp+8] 0xc3 // ret }; int ma

#include <stdio.h> unsigned char x86[] = { 0x8b, 0x44, 0x24, 0x04, // mov eax,[esp+4] 0x03, 0x44, 0x24, 0x08, // add eax,[esp+8] 0xc3 // ret }; int ma x86 JIT Web JavaScript x86 JIT JIT x86 JIT Windows OS DEP x86 ASLR DEP ASLR Return-Oriented Programming JIT-Spraying JavaScript JIT x86 x86 JIT How to execute arbitrary code on x86 JIT Compiler Yoshinori

More information

install

install SCore SCore 5.0 2001.03.19 [email protected] SCore Backbone LAN Ethernet EEPRO100 Myrinet-2000 Fibre 02/03/20 2 1 NIC (Network Interface Card) NIC 100Mbps Ethernet EEPRO100 Tulip 3C905B Network Trunking

More information

ESMPRO/DeliveryManager

ESMPRO/DeliveryManager DeliveryManager Standard Edition [] (1) (2) (3) (4) (3) Microsoft MSMS-DOS Microsoft Windows Microsoft Corporation ESMPRO TM HP-UX Hewlett-Packard UNIX X/Open Motif Open Software Foundation,Inc. X Window

More information

名称未設定

名称未設定 Parallels Desktop 4.0 for Mac ( 4.0.3810 ) Read Me : 1. Parallels Desktop 2. 3. 4. 5. 6. Parallels Desktop 7. Parallels Desktop 4.0 for Mac 8. Parallels Desktop 9. Parallels Desktop 10. 11. 12. 1. Parallels

More information

034_01_p12.pdf

034_01_p12.pdf 12 ASR-6405 KIT Red Hat Linux, SUSE Linux, VMWare, Sun Solaris, FreeBSD 7 60884 15648 3 2271100-R 600 e Gen2 Unified Serial / ASR-6445 SGL 7 60884 15644 5 2270200-R 600 e Gen2 Red Hat Linux, SUSE Linux,

More information

エラー処理・分割コンパイル・コマンドライン引数

エラー処理・分割コンパイル・コマンドライン引数 L10(2017-12-05 Tue) : Time-stamp: 2017-12-17 Sun 11:59 JST hig. recv/send http://hig3.net ( ) L10 (2017) 1 / 21 IP I swallow.math.ryukoku.ac.jp:13 = 133.83.83.6:13 = : IP ( = ) (well-known ports), :. :,.

More information

NI P1200 Release Notes Cover

NI P1200 Release Notes Cover PEX-H2994W Board Support Package Installation on RedHawk Release Notes July 4, 2019 1. はじめに 本書は Concurrent Real Time IncCCRT) の RedHawk 上で動作する インターフェース社製 PEX- H2994W PCI Express ボードサポートパッケージ用リリースノートです

More information

PowerGres on Linuxマニュアル

PowerGres on Linuxマニュアル PowerGres R on Linux Linux Linus Torvalds TM R 1 2 2 PowerGres on Linux 2 2.1 PowerGres on Linux.................................... 2 2.2.............................................. 2 2.3..............................................

More information

( CUDA CUDA CUDA CUDA ( NVIDIA CUDA I

(    CUDA CUDA CUDA CUDA (  NVIDIA CUDA I GPGPU (II) GPGPU CUDA 1 GPGPU CUDA(CUDA Unified Device Architecture) CUDA NVIDIA GPU *1 C/C++ (nvcc) CUDA NVIDIA GPU GPU CUDA CUDA 1 CUDA CUDA 2 CUDA NVIDIA GPU PC Windows Linux MaxOSX CUDA GPU CUDA NVIDIA

More information

II ( ) prog8-1.c s1542h017%./prog8-1 1 => 35 Hiroshi 2 => 23 Koji 3 => 67 Satoshi 4 => 87 Junko 5 => 64 Ichiro 6 => 89 Mari 7 => 73 D

II ( ) prog8-1.c s1542h017%./prog8-1 1 => 35 Hiroshi 2 => 23 Koji 3 => 67 Satoshi 4 => 87 Junko 5 => 64 Ichiro 6 => 89 Mari 7 => 73 D II 8 2003 11 12 1 6 ( ) prog8-1.c s1542h017%./prog8-1 1 => 35 Hiroshi 2 => 23 Koji 3 => 67 Satoshi 4 => 87 Junko 5 => 64 Ichiro 6 => 89 Mari 7 => 73 Daisuke 8 =>. 73 Daisuke 35 Hiroshi 64 Ichiro 87 Junko

More information