Oracle SYS_STUB_FOR_PURITY_ANALYSIS
Version 21c

General Information
Library Note Morgan's Library Page Header
ACE Director Alum Daniel Morgan, founder of Morgan's Library, is scheduling complimentary technical Workshops on Database Security for the first 30 Oracle Database customers located anywhere in North America, EMEA, LATAM, or APAC that send an email to asra_us@oracle.com. Request a Workshop for your organization today.
Purpose The purpose is unknown but this orphaned package specification contains four stored procedure and no package body. This package is referenced in {ORACLE_HOME}/rdbms/admin/orapls11.sym and contains the following in the source file:

Rem DESCRIPTION
Rem Define package sys_stub_for_purity_analysis.
Rem As we create the top level subprograms, a dependency between
Rem the subprogram and this package is formed. For more info on
Rem this package, please refer to the document on interop purity
Rem
Rem NOTES
Rem This package has to run after the creation of standard and
Rem before any other creation of top level subprograms.
Rem Top level subprograms should NOT be defined in standard.sql


SYS_STUB_FOR_PURITY_ANALYSIS is a stand-alone package header (no body). The functionality it provides is defined with PRAGMA RESTRICT_REFERENCES.
AUTHID DEFINER
Dependencies SELECT name FROM dba_dependencies where referenced_name = 'SYS_STUB_FOR_PURITY_ANALYSIS'
UNION
SELECT referenced_name FROM dba_dependencies WHERE name = 'SYS_STUB_FOR_PURITY_ANALYSIS';

Returns dependencies with 594 separate objects
Documented No
Exceptions
Error Code Reason
PLS-00751 cannot find PACKAGE SYS_STUB_FOR_PURITY_ANALYSIS
Cause: A top level subprogram (function or procedure) cannot be created if the system package SYS_STUB_FOR_PURITY_ANALYSIS is missing in the Oracle database.
First Available 9.0.1
Pragma pragma supplemental_log_data(DEFAULT, READ_ONLY);
Security Model Owned by SYS with no privileges granted
Source $ORACLE_HOME/rdbms/admin/plspur.sql
Subprograms
PRDS PWDS PWPS
PRPS    
 
PRDS
Unknown sys_stub_for_purity_analysis.prds;
pragma restrict_references(prds, wnds, rnps, wnps);
exec sys_stub_for_purity_analysis.prds;
BEGIN sys_stub_for_purity_analysis.prds; END;
*
ERROR at line 1:
ORA-04067: not executed, package body "SYS.SYS_STUB_FOR_PURITY_ANALYSIS" does not exist
ORA-06508: PL/SQL: could not find program unit being called: "SYS.SYS_STUB_FOR_PURITY_ANALYSIS"
ORA-06512: at line 1


SELECT object_id, object_type
FROM dba_objects
WHERE object_name = 'SYS_STUB_FOR_PURITY_ANALYSIS';

 OBJECT_ID OBJECT_TYPE
---------- -------------------------
      7455 PACKAGE


SELECT piece FROM idl_char$ WHERE obj# = 7455;

PIECE
--------------------------------------------------------------------------------
"SYS_STUB_FOR_PURITY_ANALYSIS"DE0D653FCD4CFAD500FF0FC43D33DE57"SUPPLEMENTAL_LOG_
DATA"DEFAULT"READ_ONLY"PRDS"74E3E828BDE795AC1DD1B0C2F001DD9B"RESTRICT_REFERENCES
"WNDS"RNPS"WNPS"PWDS"68FEB09BE098A75F4580EB0A64161B19"RNDS"PRPS"E47FC731D0007CFC
1F21B274314A5C63"PWPS"494259841A7F614198485ACBCC50749D""
 
PRPS
Unknown sys_stub_for_purity_analysis.prps;
pragma restrict_references(prds, wnds, rnps, wnps);
SQL> exec sys_stub_for_purity_analysis.prps;
BEGIN sys_stub_for_purity_analysis.prps; END;
*
ERROR at line 1:
ORA-04067: not executed, package body "SYS.SYS_STUB_FOR_PURITY_ANALYSIS" does not exist
ORA-06508: PL/SQL: could not find program unit being called: "SYS.SYS_STUB_FOR_PURITY_ANALYSIS"
ORA-06512: at line 1
 
PWDS
Unknown sys_stub_for_purity_analysis.pwds;
pragma restrict_references(prds, wnds, rnps, wnps);
SQL> exec sys_stub_for_purity_analysis.pwds;
BEGIN sys_stub_for_purity_analysis.pwds; END;
*
ERROR at line 1:
ORA-04067: not executed, package body "SYS.SYS_STUB_FOR_PURITY_ANALYSIS" does not exist
ORA-06508: PL/SQL: could not find program unit being called: "SYS.SYS_STUB_FOR_PURITY_ANALYSIS"
ORA-06512: at line 1
 
PWPS
Unknown sys_stub_for_purity_analysis.pwps;
pragma restrict_references(prds, wnds, rnps, wnps);
SQL> exec sys_stub_for_purity_analysis.pwps;
BEGIN sys_stub_for_purity_analysis.pwps; END;
*
ERROR at line 1:
ORA-04067: not executed, package body "SYS.SYS_STUB_FOR_PURITY_ANALYSIS" does not exist
ORA-06508: PL/SQL: could not find program unit being called: "SYS.SYS_STUB_FOR_PURITY_ANALYSIS"
ORA-06512: at line 1

Related Topics
Built-in Functions
Built-in Packages
What's New In 21c
What's New In 23c

Morgan's Library Page Footer
This site is maintained by Dan Morgan. Last Updated: This site is protected by copyright and trademark laws under U.S. and International law. © 1998-2023 Daniel A. Morgan All Rights Reserved
  DBSecWorx