citrun

watch C/C++ source code execute
Log | Files | Refs | LICENSE

commit 36b3da962525a931bf997738a70a6aafe8a9dce8
parent 2d301df8a56923dd745a12a1f056c0f7f20f5295
Author: Kyle Milz <kyle@0x30.net>
Date:   Tue, 16 Aug 2016 17:57:55 -0600

test: remove package.pm and use new package.sh instead

Diffstat:
Dtest/package.pm | 39---------------------------------------
Atest/package.sh | 39+++++++++++++++++++++++++++++++++++++++
Mtest/utils.sh | 43+++++++++++++++++++++++++++++++++++++++----
Mtt/git.t | 587+++++++++++++++++++++++++++++++++++++++----------------------------------------
Mtt/openssl.t | 726++-----------------------------------------------------------------------------
5 files changed, 387 insertions(+), 1047 deletions(-)

diff --git a/test/package.pm b/test/package.pm @@ -1,39 +0,0 @@ -package test::package; -use strict; - -use Cwd; -use IPC::Open2; -use File::Temp qw( tempdir ); - -sub new { - my ($class, $name) = @_; - - my $self = {}; - bless($self, $class); - - $self->{port} = "/usr/ports/$name"; - my $dir = tempdir( CLEANUP => 1 ); - $ENV{CITRUN_SOCKET} = "test.socket"; - $ENV{CITRUN_TOOLS} = cwd . "/src"; - chdir $dir; - - system(<<EOF) == 0 or die "build failed."; -set -e -make -C $self->{port} full-build-depends | sort | uniq > deps -pkg_info -q > installed -comm -2 -3 deps installed > needed -diff -u /dev/null needed - -make -C $self->{port} clean=all -make -C $self->{port} PORTPATH="$ENV{CITRUN_TOOLS}:\\\${WRKDIR}/bin:\$PATH" -EOF - return $self; -} - -sub clean { - my ($self) = @_; - #system("citrun-check /usr/ports/pobj/$self->{port}-*"); - system("make -C $self->{port} clean=all") == 0 or die "$!"; -} - -1; diff --git a/test/package.sh b/test/package.sh @@ -0,0 +1,39 @@ +# exports TEST_TOOLS and puts us in a temporary directory. +. test/utils.sh + +export CITRUN_SOCKET="test.socket"; + +function pkg_instrument +{ + port="/usr/ports/${1}" + wrkdist=`make -C $port show=WRKDIST` + + export TEST_PORT="$port" + export TEST_WRKDIST="$wrkdist" + + make -C $port full-build-depends > deps + make -C $port full-test-depends >> deps + sort deps | uniq > deps.uniq + pkg_info -q > installed + + comm -2 -3 deps.uniq installed > deps_needed + diff -u /dev/null deps_needed + + echo ok 2 - build and test dependencies installed + + make -C $port clean=all + make -C $port PORTPATH="$TEST_TOOLS:\${WRKDIR}/bin:$PATH" build + echo ok 3 - instrumented build + #make -C $port PORTPATH="$TEST_TOOLS:\${WRKDIR}/bin:$PATH" test || true +} + +function pkg_check +{ + $TEST_TOOLS/citrun-check $TEST_WRKDIST > check.out + check_diff ${1} +} + +function pkg_clean +{ + make -C $TEST_PORT clean=all +} diff --git a/test/utils.sh b/test/utils.sh @@ -1,23 +1,58 @@ +# Automatically create a temporary directory and define some differencing +# functions. + +# Make calling functions easier? +set -o nounset + +# Create temp dir and remove it whenever this script exits. tmpdir=`mktemp -d /tmp/citrun.XXXXXXXXXX` trap "rm -rf $tmpdir" EXIT -echo "ok 1 - tmp dir created" +# Tests will use this variable to find the in tree tools. export TEST_TOOLS="`pwd`/src"; + cd $tmpdir +echo "ok 1 - tmp dir created" +# +# Differences two instrumented files. Knocks the header off of the "*.citrun" +# file. +# function inst_diff { file="${1}" test_num="${2}" + test_desc="instrumented source diff" tail -n +33 $file.citrun > $file.inst_proc - diff -u $file.inst_good $file.inst_proc && echo "ok $test_num - instrumented source diff" + test_diff $test_num "$test_desc" $file.inst_good $file.inst_proc } +# +# Differences two citrun-check outputs. Removes the "Milliseconds spent .." line +# because it always changes. +# function check_diff { - test_num="${1}" + test_num=${1} + test_desc="citrun-check diff" grep -v "Milliseconds" check.out > check.proc - diff -u check.good check.proc && echo ok $test_num - citrun-check diff + test_diff $test_num "$test_desc" check.good check.proc +} + +function test_diff +{ + test_num=${1} + test_desc="${2}" + file_one="${3}" + file_two="${4}" + + if diff -u $file_one $file_two > _diff.out; then + echo ok $test_num - $test_desc + else + echo not ok $test_num - $test_desc + cat _diff.out + fi + rm _diff.out } diff --git a/tt/git.t b/tt/git.t @@ -1,297 +1,15 @@ -use strict; -use warnings; -use Expect; -use Test::More tests => 540 ; -use test::package; -use test::viewer; -use Time::HiRes qw( usleep ); +#!/bin/sh -e +# +# Instruments git, checks logs, and makes sure the resulting program still +# works. +# +echo 1..5 +. test/package.sh -my $package = test::package->new("devel/git"); -my $viewer = test::viewer->new(); +pkg_instrument "devel/git" -my $exp = Expect->spawn("/usr/ports/pobj/git-2.9.2/git-2.9.2/git", "clone", "http://git.0x30.net/citrun", "/usr/ports/pobj/git-*"); -$viewer->accept(); -$viewer->cmp_static_data([ - ["/abspath.c",181,228], - ["/advice.c",120,196], - ["/alias.c",78,189], - ["/alloc.c",116,191], - ["/archive-tar.c",454,349], - ["/archive-zip.c",586,349], - ["/archive.c",561,368], - ["/argv-array.c",88,191], - ["/attr.c",826,388], - ["/base85.c",133,181], - ["/bisect.c",1033,520], - ["/blob.c",19,177], - ["/branch.c",372,353], - ["/builtin/add.c",444,397], - ["/builtin/am.c",2429,1225], - ["/builtin/annotate.c",23,179], - ["/builtin/apply.c",4666,1724], - ["/builtin/archive.c",110,229], - ["/builtin/bisect--helper.c",32,179], - ["/builtin/blame.c",2884,1035], - ["/builtin/branch.c",876,621], - ["/builtin/bundle.c",74,219], - ["/builtin/cat-file.c",541,383], - ["/builtin/check-attr.c",187,242], - ["/builtin/check-ignore.c",188,262], - ["/builtin/check-mailmap.c",67,200], - ["/builtin/check-ref-format.c",89,215], - ["/builtin/checkout-index.c",258,294], - ["/builtin/checkout.c",1286,731], - ["/builtin/clean.c",1001,545], - ["/builtin/clone.c",1114,726], - ["/builtin/column.c",60,197], - ["/builtin/commit-tree.c",130,247], - ["/builtin/commit.c",1830,1137], - ["/builtin/config.c",723,502], - ["/builtin/count-objects.c",158,237], - ["/builtin/credential.c",32,191], - ["/builtin/describe.c",483,429], - ["/builtin/diff-files.c",72,215], - ["/builtin/diff-index.c",58,212], - ["/builtin/diff-tree.c",189,265], - ["/builtin/diff.c",474,395], - ["/builtin/fast-export.c",1074,585], - ["/builtin/fetch-pack.c",222,260], - ["/builtin/fetch.c",1243,691], - ["/builtin/fmt-merge-msg.c",715,483], - ["/builtin/for-each-ref.c",82,195], - ["/builtin/fsck.c",695,454], - ["/builtin/gc.c",446,405], - ["/builtin/get-tar-commit-id.c",42,188], - ["/builtin/grep.c",928,503], - ["/builtin/hash-object.c",156,225], - ["/builtin/help.c",501,413], - ["/builtin/index-pack.c",1793,915], - ["/builtin/init-db.c",580,467], - ["/builtin/interpret-trailers.c",50,184], - ["/builtin/log.c",1893,965], - ["/builtin/ls-files.c",568,346], - ["/builtin/ls-remote.c",115,217], - ["/builtin/ls-tree.c",190,240], - ["/builtin/mailinfo.c",62,205], - ["/builtin/mailsplit.c",342,301], - ["/builtin/merge-base.c",260,299], - ["/builtin/merge-file.c",112,214], - ["/builtin/merge-index.c",111,213], - ["/builtin/merge-ours.c",35,181], - ["/builtin/merge-recursive.c",81,214], - ["/builtin/merge-tree.c",380,304], - ["/builtin/merge.c",1640,982], - ["/builtin/mktag.c",175,230], - ["/builtin/mktree.c",192,232], - ["/builtin/mv.c",287,348], - ["/builtin/name-rev.c",414,311], - ["/builtin/notes.c",1022,628], - ["/builtin/pack-objects.c",2780,1114], - ["/builtin/pack-redundant.c",696,395], - ["/builtin/pack-refs.c",22,181], - ["/builtin/patch-id.c",199,252], - ["/builtin/prune-packed.c",68,196], - ["/builtin/prune.c",158,266], - ["/builtin/pull.c",929,622], - ["/builtin/push.c",572,384], - ["/builtin/read-tree.c",250,288], - ["/builtin/receive-pack.c",1793,916], - ["/builtin/reflog.c",751,522], - ["/builtin/remote-ext.c",200,240], - ["/builtin/remote-fd.c",80,203], - ["/builtin/remote.c",1634,909], - ["/builtin/repack.c",415,363], - ["/builtin/replace.c",500,398], - ["/builtin/rerere.c",117,253], - ["/builtin/reset.c",390,391], - ["/builtin/rev-list.c",404,353], - ["/builtin/rev-parse.c",877,600], - ["/builtin/revert.c",215,254], - ["/builtin/rm.c",435,374], - ["/builtin/send-pack.c",301,250], - ["/builtin/shortlog.c",342,319], - ["/builtin/show-branch.c",952,510], - ["/builtin/show-ref.c",229,265], - ["/builtin/stripspace.c",62,191], - ["/builtin/submodule--helper.c",875,537], - ["/builtin/symbolic-ref.c",77,209], - ["/builtin/tag.c",498,430], - ["/builtin/unpack-file.c",37,195], - ["/builtin/unpack-objects.c",581,404], - ["/builtin/update-index.c",1166,634], - ["/builtin/update-ref.c",444,351], - ["/builtin/update-server-info.c",26,180], - ["/builtin/upload-archive.c",128,224], - ["/builtin/var.c",94,208], - ["/builtin/verify-commit.c",95,203], - ["/builtin/verify-pack.c",83,197], - ["/builtin/verify-tag.c",59,190], - ["/builtin/worktree.c",478,441], - ["/builtin/write-tree.c",57,188], - ["/bulk-checkin.c",278,258], - ["/bundle.c",494,416], - ["/cache-tree.c",724,441], - ["/color.c",396,302], - ["/column.c",416,302], - ["/combine-diff.c",1544,651], - ["/commit.c",1697,793], - ["/compat/obstack.c",414,114], - ["/compat/terminal.c",148,108], - ["/config.c",2452,1240], - ["/connect.c",834,480], - ["/connected.c",117,205], - ["/convert.c",1414,615], - ["/copy.c",68,208], - ["/credential.c",374,345], - ["/csum-file.c",187,237], - ["/ctype.c",67,80], - ["/date.c",1189,533], - ["/decorate.c",86,191], - ["/diff-delta.c",490,153], - ["/diff-lib.c",536,345], - ["/diff-no-index.c",304,309], - ["/diff.c",5157,2177], - ["/diffcore-break.c",305,252], - ["/diffcore-delta.c",236,238], - ["/diffcore-order.c",132,222], - ["/diffcore-pickaxe.c",239,254], - ["/diffcore-rename.c",680,373], - ["/dir.c",2708,999], - ["/editor.c",69,203], - ["/entry.c",293,298], - ["/environment.c",348,279], - ["/ewah/bitmap.c",214,219], - ["/ewah/ewah_bitmap.c",711,322], - ["/ewah/ewah_io.c",210,172], - ["/ewah/ewah_rlw.c",116,121], - ["/exec_cmd.c",154,211], - ["/fetch-pack.c",1062,668], - ["/fsck.c",830,538], - ["/gettext.c",180,143], - ["/git.c",719,434], - ["/gpg-interface.c",261,264], - ["/graph.c",1332,440], - ["/grep.c",1798,828], - ["/hashmap.c",266,235], - ["/help.c",474,352], - ["/hex.c",91,185], - ["/ident.c",518,353], - ["/kwset.c",772,309], - ["/levenshtein.c",87,181], - ["/line-log.c",1254,551], - ["/line-range.c",291,218], - ["/list-objects.c",235,263], - ["/ll-merge.c",413,290], - ["/lockfile.c",208,265], - ["/log-tree.c",888,531], - ["/mailinfo.c",1038,583], - ["/mailmap.c",365,295], - ["/match-trees.c",345,280], - ["/merge-blobs.c",93,198], - ["/merge-recursive.c",2109,957], - ["/merge.c",97,260], - ["/mergesort.c",74,195], - ["/name-hash.c",239,243], - ["/notes-cache.c",96,219], - ["/notes-merge.c",752,516], - ["/notes-utils.c",177,272], - ["/notes.c",1319,581], - ["/object.c",428,315], - ["/pack-bitmap-write.c",549,349], - ["/pack-bitmap.c",1069,519], - ["/pack-check.c",182,225], - ["/pack-objects.c",110,201], - ["/pack-revindex.c",201,193], - ["/pack-write.c",372,286], - ["/pager.c",179,237], - ["/parse-options-cb.c",223,250], - ["/parse-options.c",677,451], - ["/patch-delta.c",87,108], - ["/patch-ids.c",106,221], - ["/path.c",1249,568], - ["/pathspec.c",497,333], - ["/pkt-line.c",251,256], - ["/preload-index.c",114,211], - ["/pretty.c",1818,864], - ["/prio-queue.c",91,194], - ["/progress.c",268,184], - ["/prompt.c",76,196], - ["/quote.c",456,297], - ["/reachable.c",207,259], - ["/read-cache.c",2327,957], - ["/ref-filter.c",1713,871], - ["/reflog-walk.c",339,291], - ["/refs.c",1232,676], - ["/refs/files-backend.c",3433,1323], - ["/remote.c",2367,1172], - ["/replace_object.c",123,211], - ["/rerere.c",1252,663], - ["/resolve-undo.c",193,242], - ["/revision.c",3316,1457], - ["/run-command.c",1197,578], - ["/send-pack.c",582,419], - ["/sequencer.c",1163,809], - ["/server-info.c",286,292], - ["/setup.c",1059,647], - ["/sha1-array.c",60,185], - ["/sha1-lookup.c",318,228], - ["/sha1_file.c",3647,1492], - ["/sha1_name.c",1515,777], - ["/shallow.c",665,471], - ["/sideband.c",153,205], - ["/sigchain.c",62,193], - ["/split-index.c",322,256], - ["/strbuf.c",866,457], - ["/streaming.c",554,302], - ["/string-list.c",311,273], - ["/submodule-config.c",508,361], - ["/submodule.c",1164,689], - ["/symlinks.c",324,222], - ["/tag.c",196,263], - ["/tempfile.c",306,282], - ["/thread-utils.c",78,183], - ["/trace.c",435,277], - ["/trailer.c",916,573], - ["/transport-helper.c",1388,753], - ["/transport.c",1119,590], - ["/tree-diff.c",708,306], - ["/tree-walk.c",1063,481], - ["/tree.c",254,263], - ["/unpack-trees.c",1961,832], - ["/url.c",132,214], - ["/urlmatch.c",539,339], - ["/usage.c",191,209], - ["/userdiff.c",290,241], - ["/utf8.c",668,294], - ["/varint.c",31,88], - ["/version.c",39,117], - ["/versioncmp.c",144,194], - ["/wildmatch.c",280,225], - ["/worktree.c",306,328], - ["/wrapper.c",699,428], - ["/write_or_die.c",108,212], - ["/ws.c",396,298], - ["/wt-status.c",1756,1057], - ["/xdiff-interface.c",323,279], - ["/xdiff/xdiffi.c",645,166], - ["/xdiff/xemit.c",268,100], - ["/xdiff/xhistogram.c",364,97], - ["/xdiff/xmerge.c",687,233], - ["/xdiff/xpatience.c",359,95], - ["/xdiff/xprepare.c",484,138], - ["/xdiff/xutils.c",496,127], - ["/zlib.c",274,241], -]); - -$viewer->cmp_dynamic_data(); - -$exp->hard_close(); -$viewer->close(); - -open( my $fh, ">", "check.good" ); -print $fh <<EOF; +cat <<EOF > check.good Summary: - 1 Log files found 448 Calls to the rewrite tool 381 Source files used as input 82 Application link commands @@ -300,7 +18,7 @@ Summary: 376 Rewrite successes 5 Rewrite failures (False Positive) 374 Rewritten source compile successes - 2 Rewritten source compile failues (False Positive) + 2 Rewritten source compile failures (False Positive) Totals: 185689 Lines of source code @@ -317,7 +35,286 @@ Totals: 34625 Binary operators 1530 Errors rewriting source EOF +pkg_check 4 + +# Start git doing something that will take a while. At my own expense. +$TEST_WRKDIST/git clone http://git.0x30.net/citrun citrun_TEST_CLONE & + +echo ok 5 - started git clone + +cat <<EOF> dump.good +abspath.c +advice.c +alias.c +alloc.c +archive-tar.c +archive-zip.c +archive.c +argv-array.c +attr.c +base85.c +bisect.c +blob.c +branch.c +builtin/add.c +builtin/am.c +builtin/annotate.c +builtin/apply.c +builtin/archive.c +builtin/bisect--helper.c +builtin/blame.c +builtin/branch.c +builtin/bundle.c +builtin/cat-file.c +builtin/check-attr.c +builtin/check-ignore.c +builtin/check-mailmap.c +builtin/check-ref-format.c +builtin/checkout-index.c +builtin/checkout.c +builtin/clean.c +builtin/clone.c +builtin/column.c +builtin/commit-tree.c +builtin/commit.c +builtin/config.c +builtin/count-objects.c +builtin/credential.c +builtin/describe.c +builtin/diff-files.c +builtin/diff-index.c +builtin/diff-tree.c +builtin/diff.c +builtin/fast-export.c +builtin/fetch-pack.c +builtin/fetch.c +builtin/fmt-merge-msg.c +builtin/for-each-ref.c +builtin/fsck.c +builtin/gc.c +builtin/get-tar-commit-id.c +builtin/grep.c +builtin/hash-object.c +builtin/help.c +builtin/index-pack.c +builtin/init-db.c +builtin/interpret-trailers.c +builtin/log.c +builtin/ls-files.c +builtin/ls-remote.c +builtin/ls-tree.c +builtin/mailinfo.c +builtin/mailsplit.c +builtin/merge-base.c +builtin/merge-file.c +builtin/merge-index.c +builtin/merge-ours.c +builtin/merge-recursive.c +builtin/merge-tree.c +builtin/merge.c +builtin/mktag.c +builtin/mktree.c +builtin/mv.c +builtin/name-rev.c +builtin/notes.c +builtin/pack-objects.c +builtin/pack-redundant.c +builtin/pack-refs.c +builtin/patch-id.c +builtin/prune-packed.c +builtin/prune.c +builtin/pull.c +builtin/push.c +builtin/read-tree.c +builtin/receive-pack.c +builtin/reflog.c +builtin/remote-ext.c +builtin/remote-fd.c +builtin/remote.c +builtin/repack.c +builtin/replace.c +builtin/rerere.c +builtin/reset.c +builtin/rev-list.c +builtin/rev-parse.c +builtin/revert.c +builtin/rm.c +builtin/send-pack.c +builtin/shortlog.c +builtin/show-branch.c +builtin/show-ref.c +builtin/stripspace.c +builtin/submodule--helper.c +builtin/symbolic-ref.c +builtin/tag.c +builtin/unpack-file.c +builtin/unpack-objects.c +builtin/update-index.c +builtin/update-ref.c +builtin/update-server-info.c +builtin/upload-archive.c +builtin/var.c +builtin/verify-commit.c +builtin/verify-pack.c +builtin/verify-tag.c +builtin/worktree.c +builtin/write-tree.c +bulk-checkin.c +bundle.c +cache-tree.c +color.c +column.c +combine-diff.c +commit.c +compat/obstack.c +compat/terminal.c +config.c +connect.c +connected.c +convert.c +copy.c +credential.c +csum-file.c +ctype.c +date.c +decorate.c +diff-delta.c +diff-lib.c +diff-no-index.c +diff.c +diffcore-break.c +diffcore-delta.c +diffcore-order.c +diffcore-pickaxe.c +diffcore-rename.c +dir.c +editor.c +entry.c +environment.c +ewah/bitmap.c +ewah/ewah_bitmap.c +ewah/ewah_io.c +ewah/ewah_rlw.c +exec_cmd.c +fetch-pack.c +fsck.c +gettext.c +git.c +gpg-interface.c +graph.c +grep.c +hashmap.c +help.c +hex.c +ident.c +kwset.c +levenshtein.c +line-log.c +line-range.c +list-objects.c +ll-merge.c +lockfile.c +log-tree.c +mailinfo.c +mailmap.c +match-trees.c +merge-blobs.c +merge-recursive.c +merge.c +mergesort.c +name-hash.c +notes-cache.c +notes-merge.c +notes-utils.c +notes.c +object.c +pack-bitmap-write.c +pack-bitmap.c +pack-check.c +pack-objects.c +pack-revindex.c +pack-write.c +pager.c +parse-options-cb.c +parse-options.c +patch-delta.c +patch-ids.c +path.c +pathspec.c +pkt-line.c +preload-index.c +pretty.c +prio-queue.c +progress.c +prompt.c +quote.c +reachable.c +read-cache.c +ref-filter.c +reflog-walk.c +refs.c +refs/files-backend.c +remote.c +replace_object.c +rerere.c +resolve-undo.c +revision.c +run-command.c +send-pack.c +sequencer.c +server-info.c +setup.c +sha1-array.c +sha1-lookup.c +sha1_file.c +sha1_name.c +shallow.c +sideband.c +sigchain.c +split-index.c +strbuf.c +streaming.c +string-list.c +submodule-config.c +submodule.c +symlinks.c +tag.c +tempfile.c +thread-utils.c +trace.c +trailer.c +transport-helper.c +transport.c +tree-diff.c +tree-walk.c +tree.c +unpack-trees.c +url.c +urlmatch.c +usage.c +userdiff.c +utf8.c +varint.c +version.c +versioncmp.c +wildmatch.c +worktree.c +wrapper.c +write_or_die.c +ws.c +wt-status.c +xdiff-interface.c +xdiff/xdiffi.c +xdiff/xemit.c +xdiff/xhistogram.c +xdiff/xmerge.c +xdiff/xpatience.c +xdiff/xprepare.c +xdiff/xutils.c +zlib.c +EOF + +$TEST_TOOLS/citrun-dump -f | sort > dump.out +test_diff 6 "citrun-dump diff" dump.out dump.good -system("$ENV{CITRUN_TOOLS}/citrun-check /usr/ports/pobj/git-* > check.out"); -system("diff -u check.good check.out"); -$package->clean(); +pkg_clean diff --git a/tt/openssl.t b/tt/openssl.t @@ -1,712 +1,15 @@ -use strict; -use warnings; -use Expect; -use Test::More tests => 1368 ; -use test::package; -use test::viewer; +#!/bin/sh -e +# +# Instrument openssl, run its testsuite, check the logs and do a quick runtime +# sanity test on it. +# +echo 1..5 +. test/package.sh -my $package = test::package->new("security/openssl"); -my $viewer = test::viewer->new(); +pkg_instrument "security/openssl" -$ENV{LD_LIBRARY_PATH}="/usr/ports/pobj/openssl-1.0.2h/openssl-1.0.2h"; -my $exp = Expect->spawn("/usr/ports/pobj/openssl*/openssl*/apps/openssl"); -$viewer->accept(); -$viewer->cmp_static_data([ - ["apps/app_rand.c", 218, 56], - ["apps/apps.c", 3229, 1018], - ["apps/asn1pars.c", 431, 189], - ["apps/ca.c", 2921, 1191], - ["apps/ciphers.c", 240, 74], - ["apps/cms.c", 1358, 703], - ["apps/crl.c", 443, 199], - ["apps/crl2p7.c", 335, 123], - ["apps/dgst.c", 615, 294], - ["apps/dh.c", 338, 139], - ["apps/dhparam.c", 547, 210], - ["apps/dsa.c", 375, 154], - ["apps/dsaparam.c", 470, 177], - ["apps/ec.c", 366, 163], - ["apps/ecparam.c", 662, 298], - ["apps/enc.c", 716, 339], - ["apps/engine.c", 513, 215], - ["apps/errstr.c", 122, 38], - ["apps/gendh.c", 249, 82], - ["apps/gendsa.c", 288, 128], - ["apps/genpkey.c", 406, 187], - ["apps/genrsa.c", 351, 139], - ["apps/nseq.c", 171, 66], - ["apps/ocsp.c", 1368, 606], - ["apps/openssl.c", 697, 195], - ["apps/passwd.c", 495, 170], - ["apps/pkcs12.c", 1059, 462], - ["apps/pkcs7.c", 313, 120], - ["apps/pkcs8.c", 403, 186], - ["apps/pkey.c", 252, 105], - ["apps/pkeyparam.c", 186, 70], - ["apps/pkeyutl.c", 556, 231], - ["apps/prime.c", 152, 66], - ["apps/rand.c", 230, 107], - ["apps/req.c", 1733, 787], - ["apps/rsa.c", 440, 185], - ["apps/rsautl.c", 376, 157], - ["apps/s_cb.c", 1658, 498], - ["apps/s_client.c", 2334, 912], - ["apps/s_server.c", 3506, 1322], - ["apps/s_socket.c", 614, 155], - ["apps/s_time.c", 642, 194], - ["apps/sess_id.c", 301, 108], - ["apps/smime.c", 779, 406], - ["apps/speed.c", 2875, 967], - ["apps/spkac.c", 313, 133], - ["apps/srp.c", 769, 264], - ["apps/ts.c", 1120, 442], - ["apps/verify.c", 353, 152], - ["apps/version.c", 215, 72], - ["apps/x509.c", 1276, 635], - ["crypto/aes/aes_cfb.c", 86, 3], - ["crypto/aes/aes_ctr.c", 64, 1], - ["crypto/aes/aes_ecb.c", 74, 7], - ["crypto/aes/aes_ige.c", 324, 56], - ["crypto/aes/aes_misc.c", 87, 10], - ["crypto/aes/aes_ofb.c", 62, 1], - ["crypto/aes/aes_wrap.c", 73, 9], - ["crypto/asn1/a_bitstr.c", 263, 57], - ["crypto/asn1/a_bool.c", 112, 17], - ["crypto/asn1/a_bytes.c", 307, 80], - ["crypto/asn1/a_d2i_fp.c", 285, 66], - ["crypto/asn1/a_digest.c", 112, 20], - ["crypto/asn1/a_dup.c", 118, 20], - ["crypto/asn1/a_enum.c", 182, 42], - ["crypto/asn1/a_gentm.c", 313, 67], - ["crypto/asn1/a_i2d_fp.c", 158, 34], - ["crypto/asn1/a_int.c", 465, 102], - ["crypto/asn1/a_mbstr.c", 424, 117], - ["crypto/asn1/a_object.c", 403, 108], - ["crypto/asn1/a_octet.c", 79, 5], - ["crypto/asn1/a_print.c", 130, 27], - ["crypto/asn1/a_set.c", 239, 50], - ["crypto/asn1/a_sign.c", 332, 72], - ["crypto/asn1/a_strex.c", 650, 217], - ["crypto/asn1/a_strnid.c", 314, 74], - ["crypto/asn1/a_time.c", 229, 72], - ["crypto/asn1/a_type.c", 156, 29], - ["crypto/asn1/a_utctm.c", 353, 79], - ["crypto/asn1/a_utf8.c", 238, 75], - ["crypto/asn1/a_verify.c", 232, 45], - ["crypto/asn1/ameth_lib.c", 485,77], - ["crypto/asn1/asn1_err.c", 355, 9], - ["crypto/asn1/asn1_gen.c", 832, 192], - ["crypto/asn1/asn1_lib.c", 480, 119], - ["crypto/asn1/asn1_par.c", 425, 150], - ["crypto/asn1/asn_mime.c", 975, 338], - ["crypto/asn1/asn_moid.c", 154, 59], - ["crypto/asn1/asn_pack.c", 208, 42], - ["crypto/asn1/bio_asn1.c", 483, 105], - ["crypto/asn1/bio_ndef.c", 249, 48], - ["crypto/asn1/d2i_pr.c", 176, 37], - ["crypto/asn1/d2i_pu.c", 137, 24], - ["crypto/asn1/evp_asn1.c", 196, 45], - ["crypto/asn1/f_enum.c", 204, 43], - ["crypto/asn1/f_int.c", 216, 46], - ["crypto/asn1/f_string.c", 210, 42], - ["crypto/asn1/i2d_pr.c", 79, 14], - ["crypto/asn1/i2d_pu.c", 94, 13], - ["crypto/asn1/n_pkey.c", 346, 102], - ["crypto/asn1/nsseq.c", 85, 8], - ["crypto/asn1/p5_pbe.c", 144, 36], - ["crypto/asn1/p5_pbev2.c", 281, 81], - ["crypto/asn1/p8_pkey.c", 146, 32], - ["crypto/asn1/t_bitst.c", 106, 28], - ["crypto/asn1/t_crl.c", 134, 36], - ["crypto/asn1/t_pkey.c", 114, 35], - ["crypto/asn1/t_req.c", 255, 94], - ["crypto/asn1/t_spki.c", 109, 25], - ["crypto/asn1/t_x509.c", 557, 229], - ["crypto/asn1/t_x509a.c", 116, 33], - ["crypto/asn1/tasn_dec.c", 1228,312], - ["crypto/asn1/tasn_enc.c", 660, 187], - ["crypto/asn1/tasn_fre.c", 250, 60], - ["crypto/asn1/tasn_new.c", 382, 98], - ["crypto/asn1/tasn_prn.c", 586, 222], - ["crypto/asn1/tasn_typ.c", 150, 5], - ["crypto/asn1/tasn_utl.c", 276, 53], - ["crypto/asn1/x_algor.c", 149, 37], - ["crypto/asn1/x_attrib.c", 125, 20], - ["crypto/asn1/x_bignum.c", 154, 29], - ["crypto/asn1/x_crl.c", 518, 127], - ["crypto/asn1/x_exten.c", 78, 5], - ["crypto/asn1/x_info.c", 118, 17], - ["crypto/asn1/x_long.c", 197, 29], - ["crypto/asn1/x_name.c", 539, 137], - ["crypto/asn1/x_nx509.c", 73, 5], - ["crypto/asn1/x_pkey.c", 154, 24], - ["crypto/asn1/x_pubkey.c", 375, 119], - ["crypto/asn1/x_req.c", 117, 9], - ["crypto/asn1/x_sig.c", 70, 5], - ["crypto/asn1/x_spki.c", 83, 5], - ["crypto/asn1/x_val.c", 70, 5], - ["crypto/asn1/x_x509.c", 240, 48], - ["crypto/asn1/x_x509a.c", 197, 59], - ["crypto/bf/bf_cfb64.c", 124, 7], - ["crypto/bf/bf_ecb.c", 101, 4], - ["crypto/bf/bf_enc.c", 301, 9], - ["crypto/bf/bf_ofb64.c", 111, 4], - ["crypto/bf/bf_skey.c", 126, 16], - ["crypto/bio/b_dump.c", 209, 57], - ["crypto/bio/b_print.c", 864, 231], - ["crypto/bio/b_sock.c", 963, 148], - ["crypto/bio/bf_buff.c", 518, 139], - ["crypto/bio/bf_nbio.c", 254, 60], - ["crypto/bio/bf_null.c", 190, 44], - ["crypto/bio/bio_cb.c", 146, 28], - ["crypto/bio/bio_err.c", 158, 9], - ["crypto/bio/bio_lib.c", 597, 178], - ["crypto/bio/bss_acpt.c", 464, 108], - ["crypto/bio/bss_bio.c", 887, 148], - ["crypto/bio/bss_conn.c", 613, 131], - ["crypto/bio/bss_dgram.c", 2082,124], - ["crypto/bio/bss_fd.c", 331, 46], - ["crypto/bio/bss_file.c", 473, 79], - ["crypto/bio/bss_log.c", 454, 29], - ["crypto/bio/bss_mem.c", 314, 55], - ["crypto/bio/bss_null.c", 150, 19], - ["crypto/bio/bss_sock.c", 288, 41], - ["crypto/bn/asm/x86_64-gcc.c", 639, 36], - ["crypto/bn/bn_add.c", 314, 62], - ["crypto/bn/bn_blind.c", 386, 97], - ["crypto/bn/bn_const.c", 548, 21], - ["crypto/bn/bn_ctx.c", 449, 53], - ["crypto/bn/bn_depr.c", 116, 17], - ["crypto/bn/bn_div.c", 478, 57], - ["crypto/bn/bn_err.c", 155, 9], - ["crypto/bn/bn_exp.c", 1458, 370], - ["crypto/bn/bn_exp2.c", 304, 77], - ["crypto/bn/bn_gcd.c", 703, 197], - ["crypto/bn/bn_gf2m.c", 1301, 244], - ["crypto/bn/bn_kron.c", 187, 34], - ["crypto/bn/bn_lib.c", 917, 176], - ["crypto/bn/bn_mod.c", 317, 98], - ["crypto/bn/bn_mont.c", 559, 97], - ["crypto/bn/bn_mpi.c", 129, 31], - ["crypto/bn/bn_mul.c", 1165, 252], - ["crypto/bn/bn_nist.c", 1263, 118], - ["crypto/bn/bn_prime.c", 516, 186], - ["crypto/bn/bn_print.c", 398, 121], - ["crypto/bn/bn_rand.c", 296, 73], - ["crypto/bn/bn_recp.c", 253, 81], - ["crypto/bn/bn_shift.c", 225, 39], - ["crypto/bn/bn_sqr.c", 291, 54], - ["crypto/bn/bn_sqrt.c", 410, 130], - ["crypto/bn/bn_word.c", 228, 53], - ["crypto/bn/bn_x931p.c", 278, 95], - ["crypto/bn/rsaz_exp.c", 347, 110], - ["crypto/buffer/buf_err.c", 98, 9], - ["crypto/buffer/buf_str.c", 138,28], - ["crypto/buffer/buffer.c", 188, 37], - ["crypto/camellia/cmll_cfb.c", 142, 3], - ["crypto/camellia/cmll_ctr.c", 65, 1], - ["crypto/camellia/cmll_ecb.c", 74, 2], - ["crypto/camellia/cmll_misc.c", 81, 13], - ["crypto/camellia/cmll_ofb.c", 123, 1], - ["crypto/camellia/cmll_utl.c", 65, 7], - ["crypto/cast/c_cfb64.c", 124, 8], - ["crypto/cast/c_ecb.c", 84, 4], - ["crypto/cast/c_enc.c", 201, 12], - ["crypto/cast/c_ofb64.c", 111, 5], - ["crypto/cast/c_skey.c", 176, 11], - ["crypto/cmac/cm_ameth.c", 97, 7], - ["crypto/cmac/cm_pmeth.c", 217, 73], - ["crypto/cmac/cmac.c", 307, 102], - ["crypto/cms/cms_asn1.c", 460, 55], - ["crypto/cms/cms_att.c", 198, 61], - ["crypto/cms/cms_cd.c", 135, 5], - ["crypto/cms/cms_dd.c", 146, 29], - ["crypto/cms/cms_enc.c", 261, 70], - ["crypto/cms/cms_env.c", 975, 259], - ["crypto/cms/cms_err.c", 310, 9], - ["crypto/cms/cms_ess.c", 396, 99], - ["crypto/cms/cms_io.c", 134, 31], - ["crypto/cms/cms_kari.c", 466, 165], - ["crypto/cms/cms_lib.c", 653, 219], - ["crypto/cms/cms_pwri.c", 436, 115], - ["crypto/cms/cms_sd.c", 958, 357], - ["crypto/cms/cms_smime.c", 837, 308], - ["crypto/comp/c_rle.c", 63, 15], - ["crypto/comp/c_zlib.c", 764, 6], - ["crypto/comp/comp_err.c", 99, 9], - ["crypto/comp/comp_lib.c", 67, 24], - ["crypto/conf/conf_api.c", 306, 65], - ["crypto/conf/conf_def.c", 707, 158], - ["crypto/conf/conf_err.c", 134, 9], - ["crypto/conf/conf_lib.c", 392, 103], - ["crypto/conf/conf_mall.c", 82, 8], - ["crypto/conf/conf_mod.c", 598, 167], - ["crypto/conf/conf_sap.c", 100, 10], - ["crypto/cpt_err.c", 105, 9], - ["crypto/cryptlib.c", 1031, 109], - ["crypto/cversion.c", 108, 16], - ["crypto/des/cbc_cksm.c", 104, 10], - ["crypto/des/cbc_enc.c", 62, 14], - ["crypto/des/cfb64ede.c", 250, 28], - ["crypto/des/cfb64enc.c", 123, 12], - ["crypto/des/cfb_enc.c", 200, 21], - ["crypto/des/des_enc.c", 390, 31], - ["crypto/des/des_old.c", 346, 53], - ["crypto/des/des_old2.c", 81, 6], - ["crypto/des/ecb3_enc.c", 83, 8], - ["crypto/des/ecb_enc.c", 125, 10], - ["crypto/des/ede_cbcm_enc.c", 190, 18], - ["crypto/des/enc_read.c", 236, 43], - ["crypto/des/enc_writ.c", 183, 29], - ["crypto/des/fcrypt.c", 168, 17], - ["crypto/des/fcrypt_b.c", 141, 6], - ["crypto/des/ofb64ede.c", 124, 9], - ["crypto/des/ofb64enc.c", 110, 9], - ["crypto/des/ofb_enc.c", 132, 14], - ["crypto/des/pcbc_enc.c", 116, 12], - ["crypto/des/qud_cksm.c", 144, 11], - ["crypto/des/rand_key.c", 68, 11], - ["crypto/des/read2pwd.c", 141, 17], - ["crypto/des/rpc_enc.c", 101, 10], - ["crypto/des/set_key.c", 448, 31], - ["crypto/des/str2key.c", 165, 32], - ["crypto/des/xcbc_enc.c", 217, 14], - ["crypto/dh/dh_ameth.c", 958, 348], - ["crypto/dh/dh_asn1.c", 190, 28], - ["crypto/dh/dh_check.c", 188, 64], - ["crypto/dh/dh_depr.c", 83, 11], - ["crypto/dh/dh_err.c", 127, 9], - ["crypto/dh/dh_gen.c", 205, 46], - ["crypto/dh/dh_kdf.c", 188, 56], - ["crypto/dh/dh_key.c", 290, 75], - ["crypto/dh/dh_lib.c", 264, 65], - ["crypto/dh/dh_pmeth.c", 552, 158], - ["crypto/dh/dh_prn.c", 80, 12], - ["crypto/dh/dh_rfc5114.c", 286, 5], - ["crypto/dsa/dsa_ameth.c", 679, 227], - ["crypto/dsa/dsa_asn1.c", 203, 41], - ["crypto/dsa/dsa_depr.c", 114, 11], - ["crypto/dsa/dsa_err.c", 134, 9], - ["crypto/dsa/dsa_gen.c", 749, 308], - ["crypto/dsa/dsa_key.c", 146, 31], - ["crypto/dsa/dsa_lib.c", 330, 89], - ["crypto/dsa/dsa_ossl.c", 423, 122], - ["crypto/dsa/dsa_pmeth.c", 313, 83], - ["crypto/dsa/dsa_prn.c", 120, 33], - ["crypto/dsa/dsa_sign.c", 111, 16], - ["crypto/dsa/dsa_vrf.c", 76, 7], - ["crypto/dso/dso_beos.c", 254, 5], - ["crypto/dso/dso_dl.c", 381, 5], - ["crypto/dso/dso_dlfcn.c", 466, 97], - ["crypto/dso/dso_err.c", 159, 9], - ["crypto/dso/dso_lib.c", 449, 136], - ["crypto/dso/dso_null.c", 93, 6], - ["crypto/dso/dso_openssl.c", 84,7], - ["crypto/dso/dso_vms.c", 548, 5], - ["crypto/dso/dso_win32.c", 789, 5], - ["crypto/ebcdic.c", 285, 0], - ["crypto/ec/ec2_mult.c", 464, 181], - ["crypto/ec/ec2_oct.c", 404, 132], - ["crypto/ec/ec2_smpl.c", 799, 305], - ["crypto/ec/ec_ameth.c", 966, 397], - ["crypto/ec/ec_asn1.c", 1327, 367], - ["crypto/ec/ec_check.c", 121, 31], - ["crypto/ec/ec_curve.c", 3249, 71], - ["crypto/ec/ec_cvt.c", 181, 29], - ["crypto/ec/ec_err.c", 333, 9], - ["crypto/ec/ec_key.c", 566, 180], - ["crypto/ec/ec_lib.c", 1135, 401], - ["crypto/ec/ec_mult.c", 914, 204], - ["crypto/ec/ec_oct.c", 193, 53], - ["crypto/ec/ec_pmeth.c", 531, 183], - ["crypto/ec/ec_print.c", 180, 37], - ["crypto/ec/eck_prn.c", 378, 167], - ["crypto/ec/ecp_mont.c", 309, 82], - ["crypto/ec/ecp_nist.c", 221, 57], - ["crypto/ec/ecp_nistp224.c", 1770, 0], - ["crypto/ec/ecp_nistp256.c", 2370, 0], - ["crypto/ec/ecp_nistp521.c", 2149, 0], - ["crypto/ec/ecp_nistputil.c", 219, 0], - ["crypto/ec/ecp_nistz256.c", 1522, 291], - ["crypto/ec/ecp_oct.c", 429, 148], - ["crypto/ec/ecp_smpl.c", 1419, 636], - ["crypto/ecdh/ech_err.c", 99, 9], - ["crypto/ecdh/ech_kdf.c", 112, 26], - ["crypto/ecdh/ech_key.c", 82, 10], - ["crypto/ecdh/ech_lib.c", 266, 53], - ["crypto/ecdh/ech_ossl.c", 219, 51], - ["crypto/ecdsa/ecs_asn1.c", 68, 5], - ["crypto/ecdsa/ecs_err.c", 108, 9], - ["crypto/ecdsa/ecs_lib.c", 355, 75], - ["crypto/ecdsa/ecs_ossl.c", 465,164], - ["crypto/ecdsa/ecs_sign.c", 107,25], - ["crypto/ecdsa/ecs_vrf.c", 113, 23], - ["crypto/engine/eng_all.c", 137,13], - ["crypto/engine/eng_cnf.c", 243,79], - ["crypto/engine/eng_cryptodev.c", 1536, 5], - ["crypto/engine/eng_ctrl.c", 386, 130], - ["crypto/engine/eng_dyn.c", 571,140], - ["crypto/engine/eng_err.c", 182,9], - ["crypto/engine/eng_fat.c", 182,86], - ["crypto/engine/eng_init.c", 158, 29], - ["crypto/engine/eng_lib.c", 348,68], - ["crypto/engine/eng_list.c", 406, 84], - ["crypto/engine/eng_openssl.c", 403, 67], - ["crypto/engine/eng_pkey.c", 187, 39], - ["crypto/engine/eng_rdrand.c", 150, 37], - ["crypto/engine/eng_table.c", 359, 60], - ["crypto/engine/tb_asnmth.c", 247, 56], - ["crypto/engine/tb_cipher.c", 144, 31], - ["crypto/engine/tb_dh.c", 125, 23], - ["crypto/engine/tb_digest.c", 144, 31], - ["crypto/engine/tb_dsa.c", 125, 23], - ["crypto/engine/tb_ecdh.c", 140,23], - ["crypto/engine/tb_ecdsa.c", 125, 23], - ["crypto/engine/tb_pkmeth.c", 167, 37], - ["crypto/engine/tb_rand.c", 125,23], - ["crypto/engine/tb_rsa.c", 125, 23], - ["crypto/engine/tb_store.c", 130, 17], - ["crypto/err/err.c", 1146, 183], - ["crypto/err/err_all.c", 169, 33], - ["crypto/err/err_prn.c", 114, 22], - ["crypto/evp/bio_b64.c", 574, 114], - ["crypto/evp/bio_enc.c", 429, 87], - ["crypto/evp/bio_md.c", 273, 65], - ["crypto/evp/bio_ok.c", 625, 140], - ["crypto/evp/c_all.c", 91, 9], - ["crypto/evp/c_allc.c", 242, 185], - ["crypto/evp/c_alld.c", 115, 33], - ["crypto/evp/digest.c", 409, 101], - ["crypto/evp/e_aes.c", 2025, 370], - ["crypto/evp/e_aes_cbc_hmac_sha1.c", 1009, 158], - ["crypto/evp/e_aes_cbc_hmac_sha256.c", 986, 157], - ["crypto/evp/e_bf.c", 88, 8], - ["crypto/evp/e_camellia.c", 395,35], - ["crypto/evp/e_cast.c", 90, 8], - ["crypto/evp/e_des.c", 270, 45], - ["crypto/evp/e_des3.c", 496, 102], - ["crypto/evp/e_idea.c", 120, 14], - ["crypto/evp/e_null.c", 101, 10], - ["crypto/evp/e_old.c", 165, 25], - ["crypto/evp/e_rc2.c", 236, 52], - ["crypto/evp/e_rc4.c", 134, 12], - ["crypto/evp/e_rc4_hmac_md5.c", 309, 65], - ["crypto/evp/e_rc5.c", 123, 5], - ["crypto/evp/e_seed.c", 83, 7], - ["crypto/evp/e_xcbc_d.c", 131, 15], - ["crypto/evp/encode.c", 461, 63], - ["crypto/evp/evp_acnf.c", 74, 7], - ["crypto/evp/evp_cnf.c", 119, 42], - ["crypto/evp/evp_enc.c", 667, 206], - ["crypto/evp/evp_err.c", 255, 9], - ["crypto/evp/evp_key.c", 196, 57], - ["crypto/evp/evp_lib.c", 392, 61], - ["crypto/evp/evp_pbe.c", 313, 55], - ["crypto/evp/evp_pkey.c", 230, 59], - ["crypto/evp/m_dss.c", 105, 12], - ["crypto/evp/m_dss1.c", 106, 12], - ["crypto/evp/m_ecdsa.c", 155, 12], - ["crypto/evp/m_md2.c", 107, 5], - ["crypto/evp/m_md4.c", 109, 12], - ["crypto/evp/m_md5.c", 108, 12], - ["crypto/evp/m_mdc2.c", 109, 12], - ["crypto/evp/m_null.c", 99, 9], - ["crypto/evp/m_ripemd.c", 108, 12], - ["crypto/evp/m_sha.c", 107, 12], - ["crypto/evp/m_sha1.c", 236, 32], - ["crypto/evp/m_sigver.c", 204, 89], - ["crypto/evp/m_wp.c", 49, 12], - ["crypto/evp/names.c", 216, 56], - ["crypto/evp/p5_crpt.c", 150, 47], - ["crypto/evp/p5_crpt2.c", 335, 84], - ["crypto/evp/p_dec.c", 88, 8], - ["crypto/evp/p_enc.c", 88, 8], - ["crypto/evp/p_lib.c", 457, 139], - ["crypto/evp/p_open.c", 130, 27], - ["crypto/evp/p_seal.c", 122, 33], - ["crypto/evp/p_sign.c", 134, 30], - ["crypto/evp/p_verify.c", 117, 28], - ["crypto/evp/pmeth_fn.c", 347, 106], - ["crypto/evp/pmeth_gn.c", 221, 64], - ["crypto/evp/pmeth_lib.c", 614, 92], - ["crypto/ex_data.c", 647, 86], - ["crypto/fips_ers.c", 8, 0], - ["crypto/hmac/hm_ameth.c", 168, 25], - ["crypto/hmac/hm_pmeth.c", 263, 72], - ["crypto/hmac/hmac.c", 269, 90], - ["crypto/idea/i_cbc.c", 172, 9], - ["crypto/idea/i_cfb64.c", 124, 7], - ["crypto/idea/i_ecb.c", 89, 4], - ["crypto/idea/i_ofb64.c", 111, 4], - ["crypto/idea/i_skey.c", 172, 15], - ["crypto/krb5/krb5_asn.c", 163, 5], - ["crypto/lhash/lh_stats.c", 247,46], - ["crypto/lhash/lhash.c", 459, 59], - ["crypto/md4/md4_dgst.c", 200, 26], - ["crypto/md4/md4_one.c", 97, 12], - ["crypto/md5/md5_dgst.c", 217, 25], - ["crypto/md5/md5_one.c", 97, 12], - ["crypto/mdc2/mdc2_one.c", 77, 12], - ["crypto/mdc2/mdc2dgst.c", 197, 33], - ["crypto/mem.c", 467, 117], - ["crypto/mem_dbg.c", 831, 114], - ["crypto/modes/cbc128.c", 208, 38], - ["crypto/modes/ccm128.c", 480, 92], - ["crypto/modes/cfb128.c", 255, 41], - ["crypto/modes/ctr128.c", 264, 34], - ["crypto/modes/cts128.c", 545, 91], - ["crypto/modes/gcm128.c", 2372, 146], - ["crypto/modes/ofb128.c", 125, 16], - ["crypto/modes/wrap128.c", 139, 34], - ["crypto/modes/xts128.c", 205, 26], - ["crypto/o_dir.c", 87, 24], - ["crypto/o_fips.c", 97, 11], - ["crypto/o_init.c", 84, 6], - ["crypto/o_str.c", 117, 29], - ["crypto/o_time.c", 441, 29], - ["crypto/objects/o_names.c", 367, 66], - ["crypto/objects/obj_dat.c", 802, 266], - ["crypto/objects/obj_err.c", 101, 9], - ["crypto/objects/obj_lib.c", 136, 33], - ["crypto/objects/obj_xref.c", 223, 42], - ["crypto/ocsp/ocsp_asn.c", 184, 5], - ["crypto/ocsp/ocsp_cl.c", 384, 103], - ["crypto/ocsp/ocsp_err.c", 150, 9], - ["crypto/ocsp/ocsp_ext.c", 567, 171], - ["crypto/ocsp/ocsp_ht.c", 556, 171], - ["crypto/ocsp/ocsp_lib.c", 285, 81], - ["crypto/ocsp/ocsp_prn.c", 300, 123], - ["crypto/ocsp/ocsp_srv.c", 272, 84], - ["crypto/ocsp/ocsp_vfy.c", 455, 144], - ["crypto/pem/pem_all.c", 428, 44], - ["crypto/pem/pem_err.c", 169, 9], - ["crypto/pem/pem_info.c", 395, 118], - ["crypto/pem/pem_lib.c", 866, 358], - ["crypto/pem/pem_oth.c", 87, 10], - ["crypto/pem/pem_pk8.c", 260, 76], - ["crypto/pem/pem_pkey.c", 294, 95], - ["crypto/pem/pem_seal.c", 192, 42], - ["crypto/pem/pem_sign.c", 102, 13], - ["crypto/pem/pem_x509.c", 69, 5], - ["crypto/pem/pem_xaux.c", 71, 5], - ["crypto/pem/pvkfmt.c", 889, 331], - ["crypto/pkcs12/p12_add.c", 259,63], - ["crypto/pkcs12/p12_asn.c", 126,5], - ["crypto/pkcs12/p12_attr.c", 148, 33], - ["crypto/pkcs12/p12_crpt.c", 120, 27], - ["crypto/pkcs12/p12_crt.c", 359,110], - ["crypto/pkcs12/p12_decr.c", 203, 34], - ["crypto/pkcs12/p12_init.c", 93,14], - ["crypto/pkcs12/p12_key.c", 239,65], - ["crypto/pkcs12/p12_kiss.c", 300, 100], - ["crypto/pkcs12/p12_mutl.c", 196, 67], - ["crypto/pkcs12/p12_npas.c", 236, 77], - ["crypto/pkcs12/p12_p8d.c", 71, 7], - ["crypto/pkcs12/p12_p8e.c", 106,20], - ["crypto/pkcs12/p12_utl.c", 162,32], - ["crypto/pkcs12/pk12err.c", 150,9], - ["crypto/pkcs7/bio_pk7.c", 71, 7], - ["crypto/pkcs7/pk7_asn1.c", 252,22], - ["crypto/pkcs7/pk7_attr.c", 166,52], - ["crypto/pkcs7/pk7_doit.c", 1296, 397], - ["crypto/pkcs7/pk7_lib.c", 647, 198], - ["crypto/pkcs7/pk7_mime.c", 97, 37], - ["crypto/pkcs7/pk7_smime.c", 591, 201], - ["crypto/pkcs7/pkcs7err.c", 208,9], - ["crypto/pqueue/pqueue.c", 236, 41], - ["crypto/rand/md_rand.c", 593, 75], - ["crypto/rand/rand_egd.c", 293, 39], - ["crypto/rand/rand_err.c", 101, 9], - ["crypto/rand/rand_lib.c", 301, 52], - ["crypto/rand/rand_nw.c", 180, 5], - ["crypto/rand/rand_os2.c", 171, 5], - ["crypto/rand/rand_unix.c", 448,11], - ["crypto/rand/rand_win.c", 753, 5], - ["crypto/rand/randfile.c", 338, 70], - ["crypto/rc2/rc2_cbc.c", 229, 13], - ["crypto/rc2/rc2_ecb.c", 93, 3], - ["crypto/rc2/rc2_skey.c", 158, 12], - ["crypto/rc2/rc2cfb64.c", 124, 7], - ["crypto/rc2/rc2ofb64.c", 111, 4], - ["crypto/rc4/rc4_utl.c", 63, 6], - ["crypto/ripemd/rmd_dgst.c", 335, 26], - ["crypto/ripemd/rmd_one.c", 78, 12], - ["crypto/rsa/rsa_ameth.c", 960, 412], - ["crypto/rsa/rsa_asn1.c", 132, 18], - ["crypto/rsa/rsa_chk.c", 215, 69], - ["crypto/rsa/rsa_crpt.c", 248, 63], - ["crypto/rsa/rsa_depr.c", 108, 21], - ["crypto/rsa/rsa_eay.c", 905, 264], - ["crypto/rsa/rsa_err.c", 248, 9], - ["crypto/rsa/rsa_gen.c", 251, 85], - ["crypto/rsa/rsa_lib.c", 337, 84], - ["crypto/rsa/rsa_none.c", 95, 16], - ["crypto/rsa/rsa_null.c", 156, 12], - ["crypto/rsa/rsa_oaep.c", 284, 109], - ["crypto/rsa/rsa_pk1.c", 276, 82], - ["crypto/rsa/rsa_pmeth.c", 785, 288], - ["crypto/rsa/rsa_prn.c", 93, 19], - ["crypto/rsa/rsa_pss.c", 291, 76], - ["crypto/rsa/rsa_saos.c", 149, 30], - ["crypto/rsa/rsa_sign.c", 302, 80], - ["crypto/rsa/rsa_ssl.c", 150, 34], - ["crypto/rsa/rsa_x931.c", 168, 31], - ["crypto/seed/seed.c", 712, 5], - ["crypto/seed/seed_cbc.c", 66, 8], - ["crypto/seed/seed_cfb.c", 119, 6], - ["crypto/seed/seed_ecb.c", 62, 8], - ["crypto/seed/seed_ofb.c", 118, 6], - ["crypto/sha/sha1_one.c", 80, 12], - ["crypto/sha/sha1dgst.c", 75, 25], - ["crypto/sha/sha256.c", 388, 43], - ["crypto/sha/sha512.c", 685, 51], - ["crypto/sha/sha_dgst.c", 75, 27], - ["crypto/sha/sha_one.c", 80, 12], - ["crypto/srp/srp_lib.c", 358, 152], - ["crypto/srp/srp_vfy.c", 706, 210], - ["crypto/stack/stack.c", 385, 109], - ["crypto/ts/ts_asn1.c", 327, 32], - ["crypto/ts/ts_conf.c", 492, 172], - ["crypto/ts/ts_err.c", 189, 9], - ["crypto/ts/ts_lib.c", 144, 41], - ["crypto/ts/ts_req_print.c", 105, 27], - ["crypto/ts/ts_req_utils.c", 233, 64], - ["crypto/ts/ts_rsp_print.c", 282, 102], - ["crypto/ts/ts_rsp_sign.c", 1021, 330], - ["crypto/ts/ts_rsp_utils.c", 397, 122], - ["crypto/ts/ts_rsp_verify.c", 738, 185], - ["crypto/ts/ts_verify_ctx.c", 163, 44], - ["crypto/txt_db/txt_db.c", 382, 100], - ["crypto/ui/ui_compat.c", 70, 9], - ["crypto/ui/ui_err.c", 112, 9], - ["crypto/ui/ui_lib.c", 871, 241], - ["crypto/ui/ui_openssl.c", 718, 113], - ["crypto/ui/ui_util.c", 94, 20], - ["crypto/uid.c", 89, 7], - ["crypto/whrlpool/wp_dgst.c", 258, 54], - ["crypto/x509/by_dir.c", 437, 91], - ["crypto/x509/by_file.c", 278, 79], - ["crypto/x509/x509_att.c", 385, 135], - ["crypto/x509/x509_cmp.c", 499, 166], - ["crypto/x509/x509_d2.c", 110, 30], - ["crypto/x509/x509_def.c", 93, 11], - ["crypto/x509/x509_err.c", 188, 9], - ["crypto/x509/x509_ext.c", 212, 59], - ["crypto/x509/x509_lu.c", 711, 191], - ["crypto/x509/x509_obj.c", 231, 43], - ["crypto/x509/x509_r2x.c", 114, 28], - ["crypto/x509/x509_req.c", 329, 92], - ["crypto/x509/x509_set.c", 153, 41], - ["crypto/x509/x509_trs.c", 319, 79], - ["crypto/x509/x509_txt.c", 212, 71], - ["crypto/x509/x509_v3.c", 285, 92], - ["crypto/x509/x509_vfy.c", 2498,757], - ["crypto/x509/x509_vpm.c", 663, 144], - ["crypto/x509/x509cset.c", 168, 38], - ["crypto/x509/x509name.c", 398, 133], - ["crypto/x509/x509rset.c", 86, 17], - ["crypto/x509/x509spki.c", 124, 25], - ["crypto/x509/x509type.c", 128, 19], - ["crypto/x509/x_all.c", 559, 111], - ["crypto/x509v3/pcy_cache.c", 270, 67], - ["crypto/x509v3/pcy_data.c", 130, 19], - ["crypto/x509v3/pcy_lib.c", 168,31], - ["crypto/x509v3/pcy_map.c", 131,19], - ["crypto/x509v3/pcy_node.c", 191, 40], - ["crypto/x509v3/pcy_tree.c", 832, 198], - ["crypto/x509v3/v3_addr.c", 1345, 5], - ["crypto/x509v3/v3_akey.c", 206,45], - ["crypto/x509v3/v3_akeya.c", 74,5], - ["crypto/x509v3/v3_alt.c", 610, 181], - ["crypto/x509v3/v3_asid.c", 897,5], - ["crypto/x509v3/v3_bcons.c", 133, 21], - ["crypto/x509v3/v3_bitst.c", 143, 20], - ["crypto/x509v3/v3_conf.c", 533,181], - ["crypto/x509v3/v3_cpols.c", 492, 131], - ["crypto/x509v3/v3_crld.c", 563,190], - ["crypto/x509v3/v3_enum.c", 101,12], - ["crypto/x509v3/v3_extku.c", 150, 15], - ["crypto/x509v3/v3_genn.c", 251,43], - ["crypto/x509v3/v3_ia5.c", 120, 15], - ["crypto/x509v3/v3_info.c", 211,33], - ["crypto/x509v3/v3_int.c", 93, 7], - ["crypto/x509v3/v3_lib.c", 364, 95], - ["crypto/x509v3/v3_ncons.c", 480, 130], - ["crypto/x509v3/v3_ocsp.c", 313,79], - ["crypto/x509v3/v3_pci.c", 318, 89], - ["crypto/x509v3/v3_pcia.c", 57, 5], - ["crypto/x509v3/v3_pcons.c", 140, 22], - ["crypto/x509v3/v3_pku.c", 115, 15], - ["crypto/x509v3/v3_pmaps.c", 157, 19], - ["crypto/x509v3/v3_prn.c", 260, 85], - ["crypto/x509v3/v3_purp.c", 853,254], - ["crypto/x509v3/v3_scts.c", 335,63], - ["crypto/x509v3/v3_skey.c", 151,26], - ["crypto/x509v3/v3_sxnet.c", 274, 60], - ["crypto/x509v3/v3_utl.c", 1352,472], - ["crypto/x509v3/v3err.c", 250, 9], - ["ssl/bio_ssl.c", 592, 156], - ["ssl/d1_both.c", 1581, 319], - ["ssl/d1_clnt.c", 870, 129], - ["ssl/d1_lib.c", 574, 154], - ["ssl/d1_meth.c", 91, 14], - ["ssl/d1_pkt.c", 1922, 333], - ["ssl/d1_srtp.c", 449, 71], - ["ssl/d1_srvr.c", 981, 141], - ["ssl/kssl.c", 2261, 5], - ["ssl/s23_clnt.c", 803, 147], - ["ssl/s23_lib.c", 186, 46], - ["ssl/s23_meth.c", 90, 15], - ["ssl/s23_pkt.c", 114, 17], - ["ssl/s23_srvr.c", 653, 107], - ["ssl/s2_clnt.c", 1095, 5], - ["ssl/s2_enc.c", 198, 5], - ["ssl/s2_lib.c", 571, 5], - ["ssl/s2_meth.c", 92, 5], - ["ssl/s2_pkt.c", 726, 5], - ["ssl/s2_srvr.c", 1172, 5], - ["ssl/s3_both.c", 748, 127], - ["ssl/s3_cbc.c", 821, 146], - ["ssl/s3_clnt.c", 3764, 790], - ["ssl/s3_enc.c", 971, 276], - ["ssl/s3_lib.c", 4537, 427], - ["ssl/s3_meth.c", 75, 9], - ["ssl/s3_pkt.c", 1749, 333], - ["ssl/s3_srvr.c", 3615, 714], - ["ssl/ssl_algs.c", 156, 62], - ["ssl/ssl_asn1.c", 637, 94], - ["ssl/ssl_cert.c", 1265, 360], - ["ssl/ssl_ciph.c", 2078, 328], - ["ssl/ssl_conf.c", 692, 204], - ["ssl/ssl_err.c", 838, 9], - ["ssl/ssl_err2.c", 70, 7], - ["ssl/ssl_lib.c", 3572, 871], - ["ssl/ssl_rsa.c", 1044, 314], - ["ssl/ssl_sess.c", 1274, 272], - ["ssl/ssl_stat.c", 1079, 27], - ["ssl/ssl_txt.c", 263, 97], - ["ssl/ssl_utst.c", 73, 5], - ["ssl/t1_clnt.c", 91, 14], - ["ssl/t1_enc.c", 1378, 322], - ["ssl/t1_ext.c", 299, 64], - ["ssl/t1_lib.c", 4440, 1070], - ["ssl/t1_meth.c", 85, 14], - ["ssl/t1_reneg.c", 293, 39], - ["ssl/t1_srvr.c", 93, 14], - ["ssl/t1_trce.c", 1267, 5], - ["ssl/tls_srp.c", 543, 176], -]); - -# Check that at least something has executed. -$viewer->cmp_dynamic_data(); - -$exp->hard_close(); -$viewer->close(); - -open( my $fh, ">", "check.good" ); -print $fh <<EOF; +cat <<EOF > check.good Summary: - 58 Log files found 868 Calls to the rewrite tool 752 Source files used as input 58 Application link commands @@ -729,7 +32,12 @@ Totals: 27553 Binary operators 2912 Errors rewriting source EOF +pkg_check 4 + + +export LD_LIBRARY_PATH="$TEST_WRKDIST"; +$TEST_WRKDIST/apps/openssl & + +$TEST_TOOLS/citrun-dump -system("$ENV{CITRUN_TOOLS}/citrun-check /usr/ports/pobj/openssl-* > check.out"); -system("diff -u check.good check.out"); -$package->clean(); +pkg_clean