Copyright Oracle Parkway, Redwood City, CA U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated softw

Similar documents
Copyright 2009 Sun Microsystems, Inc Network Circle, Santa Clara, CA U.S.A. All rights reserved. Sun Microsystems, Inc. ( Sun Microsystems

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

ワークスペースの管理 for Oracle Planning and Budgeting Cloud Service

2 2 3 dbxtool dbx (GUI) dbxtool dbx C++ Oracle Solaris Studio 12.2 examples/debugger/debug_tutorial 1. cp -r /opt/solstudio12.2/examples/de

StorageTek Tape Analytics - セキュリティーガイド

untitled

untitled

new_logo.eps

Oracle Change Management Pack, Oracle Diagnostics Pack, Oracle Tuning Packインストレーション・ガイド リリース2.2

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

Sun Netra 6000 モジュラーシステムご使用にあたって

Oracle8 Workgroup Server for Windows NTインストレーション・ガイド,リリース8.0.6

Java Desktop System Release 3 ㅦㅼㇶㅼㇺ㇬㇤ㅛ

KeySQL for Microsoft Windows 6.0 : B Copyright 2006, Oracle Corporation. All rights reserved. Printed in Japan. * Oracle Corporation Oracle Co

Oracleコール・インタフェース for Windows スタート・ガイド リリース8.1.6

Java DataBase Connectivity Sun ONE Studio 4 Sun Microsystems, Inc Network Circle Santa Clara, CA U.S.A Part No

new_logo.eps

Oracle ILOM CLI コマンド用クイックリファレンス - ファームウェアリリース 3.2.x

Copyright 2011, Oracle and/or its affiliates. All rights reserved. U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and

KeySQL R5.1 Release Note

Microsoft Windows向けOracle Database 12cでのOracleホーム・ユーザーの導入






Zinstall WinWin 日本語ユーザーズガイド


Copyright 2005 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All rights reserved. U.S. Government Rights Commerci



rzat10pdf.ps

Oracle Enterprise Manager概説 リリース2.2

日本語タイトルを入力

Oracle Records Manager Corporate Editionリリース・ノート, 10gリリース3( )

EPSON Easy Interactive Tools Ver.4.2 Operation Guide

外部SQLソース入門

ScanFront300/300P セットアップガイド

DS-30

Release Notes for JMP book

ワークスペースでのコンテンツへのアクセス for Oracle Planning and Budgeting Cloud Service

EPSON Easy Interactive Tools Ver.4.0 Operation Guide

2


ScanFront 220/220P 取扱説明書

ScanFront 220/220P セットアップガイド

Oracle Solarisゾーンによるハード・パーティショニング

FFTSS Library Version 3.0 User's Guide

Oracle® Virtual Desktop Client - リリースノート (リリース 3.1 用)

PX-403A

I117 II I117 PROGRAMMING PRACTICE II DEBUG Research Center for Advanced Computing Infrastructure (RCACI) / Yasuhiro Ohara

PX-673F

untitled

Express5800/R110a-1Hユーザーズガイド

StorageTek Tape Analytics - 要件ガイド

Networking Semester 802.3

インターネット接続ガイド v110

Express5800/320Fa-L/320Fa-LR

EPSON PX-503A ユーザーズガイド

main.dvi

基本操作ガイド

EPSON ES-D200 パソコンでのスキャンガイド

操作ガイド(本体操作編)

Oracle_for_SAP :29 PM ページ 2 2 3

program.dvi

EPSON EP-803A/EP-803AW ユーザーズガイド

LAN Copyright c Daikoku Manabu This tutorial is licensed under a Creative Commons Attribution 2.1 Japan License

EPSON EP-703A ユーザーズガイド

TH-47LFX60 / TH-47LFX6N

ES-D400/ES-D200

エレクトーンのお客様向けiPhone/iPad接続マニュアル

/ SCHEDULE /06/07(Tue) / Basic of Programming /06/09(Thu) / Fundamental structures /06/14(Tue) / Memory Management /06/1

操作ガイド(本体操作編)

Microsoft Word - D JP.docx

GT-X980

PX-B750F

Intel Memory Protection Extensions(Intel MPX) x86, x CPU skylake 2015 Intel Software Development Emulator 本資料に登場する Intel は Intel Corp. の登録

REDCap_EULA_FAQ

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

Express5800/320Fa-L/320Fa-LR/320Fa-M/320Fa-MR

SR-X526R1 サーバ収容スイッチ ご利用にあたって

DS-70000/DS-60000/DS-50000

橡Webcamユーザーガイド03.PDF

Oracle® VM Serverインストール・ガイド、リリース2.1.1

PX-504A

Pro*COBOL for Windows プリコンパイラ・スタート・ガイド リリース8.1.6/1.8.51

... 3 Oracle on Linux I/O I/O... 5 I/O io_request_lock... 6 I/O GB RAM SGA GB RAM Very Large M

Express5800/320Fc-MR

PX-434A/PX-404A

1

EP-704A

Lenovo Lenovo H5S Ug V1.0 Jp Online ユーザーガイド - V1.0 Lenovo H5s シリーズ H520s Desktop (Lenovo) lenovo_h5s_ug_v1.0_jp_online

内蔵ハードディスクユニット-20GB (PG-HD2E4H) 内蔵ハードディスクユニット-40GB (PG-HD4E4H)取扱説明書 HARD DISK DRIVE 20GB(PG-HD2E4H) HARD DISK DRIVE 40GB(PG-HD4E4H) USER'S GUIDE

ストラドプロシージャの呼び出し方

DianaScope インストレーションマニュアル

ES-D400/ES-D350

cpp1.dvi

Nios® II HAL API を使用したソフトウェア・サンプル集 「Modular Scatter-Gather DMA Core」

sato-FBSDW key

Transcription:

Oracle Solaris Studio 12.3 Part No: E26466 2011 12

Copyright 2011 500 Oracle Parkway, Redwood City, CA 94065 U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are commercial computer software pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs. No other rights are granted to the U.S. Government. redundancy Oracle Java Oracle Corporation Intel Intel Xeon Intel Corporation SPARC SPARC International, Inc. AMD Opteron AMD AMD Opteron Advanced Micro Devices, Inc. UNIX The Open Group 120220@25097

...5 1...9...9... 10... 10... 10... 11 GUI... 11... 12 2...13... 13... 14... 15 GUI... 16 A...19... 19... 20... 20...21 3

4

Oracle Solaris Studio 12.3 Discover Uncover GUI Oracle Solaris Studio Oracle Solaris SPARC Oracle Solaris Linux x86 x86 x86 64 32 x86 x64 64 x86 CPU 32 x86 x86 32 Linux Linux x86 Oracle Solaris SPARC x86 Oracle Solaris Oracle Solaris Studio 12.3 Oracle Solaris Studio Oracle Solaris Studio Oracle Solaris Studio Documentation Web 5

dbxtool DLight IDE F1 Web URL Web Oracle Oracle Oracle Oracle Solaris Studio Oracle Technical Network Web Oracle Oracle My Oracle Support http://www.oracle.com/pls/topic/lookup?ctx=acc&id=info http://www.oracle.com/pls/topic/ lookup?ctx=acc&id=trs 6 Oracle Solaris Studio 12.3 2011 12

P 1 AaBbCc123 AaBbCc123 AaBbCc123.login ls -a system% system% su password: rm filename 5 \ sun% grep ^#define \ XV_VERSION_STRING Oracle Solaris OS UNIX Oracle Solaris C machine_name% command y n [filename] C machine_name# command y n [filename] Bash Korn Bourne $ command y n [filename] Bash Korn Bourne 7

# command y n [filename] [] filename ( ) 1 ( : Shift ) Enter Return (-) 2 Ctrl-D Control D 8 Oracle Solaris Studio 12.3 2011 12

1 1 Oracle Solaris Studio Oracle Solaris C C++ 9 11 11 GUI 12 3 Discover Uncover 9

C C++ -xanalyze=code 13 19 Discover Discover Discover Discover 14 20 Uncover Uncover 15 10 Oracle Solaris Studio 12.3 2011 12

GUI Oracle Solaris Studio 12.3 C C++ Solaris 10 10/08 Solaris 10 update Oracle Solaris 11 SPARC x86 GUI Discover Uncover GUI : GUI GUI Oracle Solaris Studio 12.3 1 11

Discover Uncover % cc -xanalyze=code *.c % cc -g *.c % cp a.out a.out.save % discover -a a.out % a.out % cp a.out.save a.out % uncover a.out % a.out % uncover -a a.out.uc % code-analyzer a.out 12 Oracle Solaris Studio 12.3 2011 12

2 binary_name.analyze binary_name.analyze Discover Uncover 13 14 15 16 GUI C C++ Oracle Solaris Studio 12.3 C C++ -xanalyze=code (-xanalyze=code Oracle Solaris Studio ) binary_name.analyze static -xanalyze=code -xanalyze=code ix [0,9] ABW ( ) 13

void f(int fd, int array[10]) { int ix; read(fd, &ix, sizeof(ix)); array[ix] = 0; } GUI (16 GUI ) C C++ Discover 2 Discover Oracle Solaris Studio 12.3 C C++ -g Discover Discover Oracle Solaris Studio 12.3 Discover Uncover Oracle Solaris Studio 12.3 Discover Uncover 14 Oracle Solaris Studio 12.3 2011 12

Discover Uncover 1 Uncover Discover Uncover : cp a.out a.out.save : 1. Discover -a discover -a binary_name Oracle Solaris Studio 12.3 Discover Discover -a 2. binary_name.analyze dynamic Discover Oracle Solaris Studio 12.3 Discover Uncover discover -c -F -N -T -a (16 GUI ) GUI C C++ Uncover Uncover 3 2 15

GUI Uncover Oracle Solaris Studio 12.3 C C++ -g Discover Uncover : cp a.out.save a.out : 1. Uncover uncover binary_name 2. 1 binary_name.uc 3. Uncover -a uncover -a binary_name.uc binary_name.analyze coverage Oracle Solaris Studio 12.3 Uncover Uncover -a GUI GUI 1 2 3 GUI code-analyzer code-analyzer binary_name GUI binary_name.analyze 16 Oracle Solaris Studio 12.3 2011 12

GUI GUI > GUI / Oracle Solaris Studio 12.3 2 17

18

A Discover Uncover ABR: (beyond Array Bounds Read) ABW: (beyond Array Bounds Write) DFM: (Double Freeing Memory) ECV: (Explicit type Cast Violation) FMR: (Freed Memory Read) FMW: (Freed Memory Write) INF: (INFinite empty loop) MFR: (Missing Function Return) MRC: malloc (Missing malloc Return value Check) NFR: (uninitialized Function Return) NUL: NULL (NULl pointer dereference, leaky pointer check) RFM: (Return Freed Memory) UMR: (Uninitialized Memory Read, Uninitialized Memoey Read bit operation) 19

URV: (Unused Return Value) VES: (out-of-scope local Variable usage) ABR: (beyond Array Bounds Read) ABW: (beyond Array Bounds Write) BFM: (Bad Free Memory) BRP: realloc (Bad Realloc address Parameter) CGB: (Corrupted Guard Block) DFM: (Double Freeing Memory) FMR: (Freed Memory Read) FMW: (Freed Memory Write) IMR: (Invalid Memory Read) IMW: (Invalid Memory Write) OLP: (OverLaPping source and destination) PIR: (Partially Initialized Read) SBR: (beyond Stack Bounds Read) SBW: (beyond Stack Bounds Write) UAR: (UnAllocated memory Read) UAW: (UnAllocated memory Write) UMR: (Unitialized Memory Read) AZS: 0 (Allocating Zero Size) SMR: (Speculative unitialized Memory Read) 20 Oracle Solaris Studio 12.3 2011 12

B binary_name.analyze, 13, 16 coverage, 16 dynamic, 15 static, 13 G -g, 14, 16 X -xanalyze=code, 10, 13,, 11 GUI, 16, 11, 10, 20, 14, 10, 19, 9 binary_name.analyze, 13, 15, 13, 13, 14, 10, 20, 20, 5 6, 5 21

Discover, 14, 15 Uncover, 16 Discover, 14 Uncover, 16, 11 22 Oracle Solaris Studio 12.3 2011 12