1d29b2c44Sab196087# 2d29b2c44Sab196087# CDDL HEADER START 3d29b2c44Sab196087# 4d29b2c44Sab196087# The contents of this file are subject to the terms of the 5d29b2c44Sab196087# Common Development and Distribution License (the "License"). 6d29b2c44Sab196087# You may not use this file except in compliance with the License. 7d29b2c44Sab196087# 8d29b2c44Sab196087# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9d29b2c44Sab196087# or http://www.opensolaris.org/os/licensing. 10d29b2c44Sab196087# See the License for the specific language governing permissions 11d29b2c44Sab196087# and limitations under the License. 12d29b2c44Sab196087# 13d29b2c44Sab196087# When distributing Covered Code, include this CDDL HEADER in each 14d29b2c44Sab196087# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15d29b2c44Sab196087# If applicable, add the following below this CDDL HEADER, with the 16d29b2c44Sab196087# fields enclosed by brackets "[]" replaced with your own identifying 17d29b2c44Sab196087# information: Portions Copyright [yyyy] [name of copyright owner] 18d29b2c44Sab196087# 19d29b2c44Sab196087# CDDL HEADER END 20d29b2c44Sab196087# 21d29b2c44Sab196087 22d29b2c44Sab196087# 23*cd3e9333SAli Bahrami# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. 24d29b2c44Sab196087# 25bfed486aSAli Bahrami 26bfed486aSAli Bahrami# 27bfed486aSAli Bahrami# MAPFILE HEADER START 28bfed486aSAli Bahrami# 29bfed486aSAli Bahrami# WARNING: STOP NOW. DO NOT MODIFY THIS FILE. 30bfed486aSAli Bahrami# Object versioning must comply with the rules detailed in 31bfed486aSAli Bahrami# 32bfed486aSAli Bahrami# usr/src/lib/README.mapfiles 33bfed486aSAli Bahrami# 34bfed486aSAli Bahrami# You should not be making modifications here until you've read the most current 35bfed486aSAli Bahrami# copy of that file. If you need help, contact a gatekeeper for guidance. 36bfed486aSAli Bahrami# 37bfed486aSAli Bahrami# MAPFILE HEADER END 38d29b2c44Sab196087# 39d29b2c44Sab196087 40d29b2c44Sab196087# This mapfile is shared by all of the elfedit modules. 41d29b2c44Sab196087# These sharable objects only export two functions, 42d29b2c44Sab196087# elfedit[32|64]_init. Everything else is reduced to 43d29b2c44Sab196087# local scope. 44d29b2c44Sab196087# 45d29b2c44Sab196087# The routines exported by elfedit for use by the modules 46d29b2c44Sab196087# are also defined here, using the PARENT mapfile keyword. 47d29b2c44Sab196087 48*cd3e9333SAli Bahrami$mapfile_version 2 49*cd3e9333SAli Bahrami 50*cd3e9333SAli BahramiSYMBOL_VERSION SUNWprivate_1.1 { 51d29b2c44Sab196087 global: 52d29b2c44Sab196087 # Standard init routines exported by every module 53d29b2c44Sab196087 elfedit32_init; 54d29b2c44Sab196087 elfedit64_init; 55d29b2c44Sab196087 56d29b2c44Sab196087 57d29b2c44Sab196087 # liblddbg dbg_print() function 58*cd3e9333SAli Bahrami dbg_print { FLAGS = PARENT NODIRECT }; 59d29b2c44Sab196087 60d29b2c44Sab196087 61d29b2c44Sab196087 # Core API 62*cd3e9333SAli Bahrami elfedit_command_usage { FLAGS = PARENT }; 63*cd3e9333SAli Bahrami elfedit_cpl_match { FLAGS = PARENT }; 64*cd3e9333SAli Bahrami elfedit_cpl_ndx { FLAGS = PARENT }; 65*cd3e9333SAli Bahrami elfedit_elferr { FLAGS = PARENT }; 66*cd3e9333SAli Bahrami elfedit_flags { FLAGS = PARENT }; 67*cd3e9333SAli Bahrami elfedit_malloc { FLAGS = PARENT }; 68*cd3e9333SAli Bahrami elfedit_msg { FLAGS = PARENT }; 69*cd3e9333SAli Bahrami elfedit_outstyle { FLAGS = PARENT }; 70*cd3e9333SAli Bahrami elfedit_pager_init { FLAGS = PARENT }; 71*cd3e9333SAli Bahrami elfedit_printf { FLAGS = PARENT }; 72*cd3e9333SAli Bahrami elfedit_realloc { FLAGS = PARENT }; 73*cd3e9333SAli Bahrami elfedit_str_to_c_literal { FLAGS = PARENT }; 74*cd3e9333SAli Bahrami elfedit_write { FLAGS = PARENT }; 75d29b2c44Sab196087 76d29b2c44Sab196087 77d29b2c44Sab196087 78d29b2c44Sab196087 # ato[u]i routines 79*cd3e9333SAli Bahrami elfedit_const_to_atoui { FLAGS = PARENT }; 80d29b2c44Sab196087 81*cd3e9333SAli Bahrami elfedit_atoi { FLAGS = PARENT }; 82*cd3e9333SAli Bahrami elfedit_atoui { FLAGS = PARENT }; 83*cd3e9333SAli Bahrami elfedit_atoconst { FLAGS = PARENT }; 84d29b2c44Sab196087 85*cd3e9333SAli Bahrami elfedit_atoi2 { FLAGS = PARENT }; 86*cd3e9333SAli Bahrami elfedit_atoui2 { FLAGS = PARENT }; 87*cd3e9333SAli Bahrami elfedit_atoconst2 { FLAGS = PARENT }; 88d29b2c44Sab196087 89*cd3e9333SAli Bahrami elfedit_atoi_range { FLAGS = PARENT }; 90*cd3e9333SAli Bahrami elfedit_atoui_range { FLAGS = PARENT }; 91*cd3e9333SAli Bahrami elfedit_atoconst_range { FLAGS = PARENT }; 92d29b2c44Sab196087 93*cd3e9333SAli Bahrami elfedit_atoi_range2 { FLAGS = PARENT }; 94*cd3e9333SAli Bahrami elfedit_atoui_range2 { FLAGS = PARENT }; 95*cd3e9333SAli Bahrami elfedit_atoconst_range2 { FLAGS = PARENT }; 96d29b2c44Sab196087 97*cd3e9333SAli Bahrami elfedit_atoi_value_to_str { FLAGS = PARENT }; 98*cd3e9333SAli Bahrami elfedit_atoui_value_to_str { FLAGS = PARENT }; 99*cd3e9333SAli Bahrami elfedit_atoconst_value_to_str { FLAGS = PARENT }; 100d29b2c44Sab196087 101*cd3e9333SAli Bahrami elfedit_cpl_atoi { FLAGS = PARENT }; 102*cd3e9333SAli Bahrami elfedit_cpl_atoui { FLAGS = PARENT }; 103*cd3e9333SAli Bahrami elfedit_cpl_atoconst { FLAGS = PARENT }; 104d29b2c44Sab196087 105d29b2c44Sab196087 106d29b2c44Sab196087 107d29b2c44Sab196087 # Convenience functions built on top of the ato[u]i routines 108*cd3e9333SAli Bahrami elfedit_atobool { FLAGS = PARENT }; 109*cd3e9333SAli Bahrami elfedit_atoshndx { FLAGS = PARENT }; 110d29b2c44Sab196087 111d29b2c44Sab196087 112d29b2c44Sab196087 113d29b2c44Sab196087 # Getopt 114*cd3e9333SAli Bahrami elfedit_getopt_init { FLAGS = PARENT }; 115*cd3e9333SAli Bahrami elfedit_getopt { FLAGS = PARENT }; 116d29b2c44Sab196087 117d29b2c44Sab196087 118d29b2c44Sab196087 119d29b2c44Sab196087 # Utilities 120*cd3e9333SAli Bahrami elfedit_array_elts_delete { FLAGS = PARENT }; 121d29b2c44Sab196087 122*cd3e9333SAli Bahrami elfedit_array_elts_move { FLAGS = PARENT }; 123d29b2c44Sab196087 124*cd3e9333SAli Bahrami elfedit_bits_set { FLAGS = PARENT }; 125d29b2c44Sab196087 126*cd3e9333SAli Bahrami elfedit32_dyn_elt_init { FLAGS = PARENT }; 127*cd3e9333SAli Bahrami elfedit64_dyn_elt_init { FLAGS = PARENT }; 128d29b2c44Sab196087 129*cd3e9333SAli Bahrami elfedit32_dyn_elt_save { FLAGS = PARENT }; 130*cd3e9333SAli Bahrami elfedit64_dyn_elt_save { FLAGS = PARENT }; 131d29b2c44Sab196087 132*cd3e9333SAli Bahrami elfedit32_dyn_offset_to_str { FLAGS = PARENT }; 133*cd3e9333SAli Bahrami elfedit64_dyn_offset_to_str { FLAGS = PARENT }; 134d29b2c44Sab196087 135*cd3e9333SAli Bahrami elfedit32_dynstr_getpad { FLAGS = PARENT }; 136*cd3e9333SAli Bahrami elfedit64_dynstr_getpad { FLAGS = PARENT }; 137d29b2c44Sab196087 138*cd3e9333SAli Bahrami elfedit32_dynstr_insert { FLAGS = PARENT }; 139*cd3e9333SAli Bahrami elfedit64_dynstr_insert { FLAGS = PARENT }; 140d29b2c44Sab196087 141*cd3e9333SAli Bahrami elfedit32_modified_data { FLAGS = PARENT }; 142*cd3e9333SAli Bahrami elfedit64_modified_data { FLAGS = PARENT }; 143d29b2c44Sab196087 144*cd3e9333SAli Bahrami elfedit32_modified_ehdr { FLAGS = PARENT }; 145*cd3e9333SAli Bahrami elfedit64_modified_ehdr { FLAGS = PARENT }; 146d29b2c44Sab196087 147*cd3e9333SAli Bahrami elfedit32_modified_phdr { FLAGS = PARENT }; 148*cd3e9333SAli Bahrami elfedit64_modified_phdr { FLAGS = PARENT }; 149d29b2c44Sab196087 150*cd3e9333SAli Bahrami elfedit32_modified_shdr { FLAGS = PARENT }; 151*cd3e9333SAli Bahrami elfedit64_modified_shdr { FLAGS = PARENT }; 152d29b2c44Sab196087 153*cd3e9333SAli Bahrami elfedit32_name_to_shndx { FLAGS = PARENT }; 154*cd3e9333SAli Bahrami elfedit64_name_to_shndx { FLAGS = PARENT }; 155d29b2c44Sab196087 156*cd3e9333SAli Bahrami elfedit32_name_to_symndx { FLAGS = PARENT }; 157*cd3e9333SAli Bahrami elfedit64_name_to_symndx { FLAGS = PARENT }; 158d29b2c44Sab196087 159*cd3e9333SAli Bahrami elfedit32_offset_to_str { FLAGS = PARENT }; 160*cd3e9333SAli Bahrami elfedit64_offset_to_str { FLAGS = PARENT }; 161d29b2c44Sab196087 162*cd3e9333SAli Bahrami elfedit32_sec_findstr { FLAGS = PARENT }; 163*cd3e9333SAli Bahrami elfedit64_sec_findstr { FLAGS = PARENT }; 164d29b2c44Sab196087 165*cd3e9333SAli Bahrami elfedit32_sec_get { FLAGS = PARENT }; 166*cd3e9333SAli Bahrami elfedit64_sec_get { FLAGS = PARENT }; 167cce0e03bSab196087 168*cd3e9333SAli Bahrami elfedit32_sec_getcap { FLAGS = PARENT }; 169*cd3e9333SAli Bahrami elfedit64_sec_getcap { FLAGS = PARENT }; 170d29b2c44Sab196087 171*cd3e9333SAli Bahrami elfedit32_sec_getdyn { FLAGS = PARENT }; 172*cd3e9333SAli Bahrami elfedit64_sec_getdyn { FLAGS = PARENT }; 173d29b2c44Sab196087 174*cd3e9333SAli Bahrami elfedit32_sec_getstr { FLAGS = PARENT }; 175*cd3e9333SAli Bahrami elfedit64_sec_getstr { FLAGS = PARENT }; 176d29b2c44Sab196087 177*cd3e9333SAli Bahrami elfedit32_sec_getsyminfo { FLAGS = PARENT }; 178*cd3e9333SAli Bahrami elfedit64_sec_getsyminfo { FLAGS = PARENT }; 179d29b2c44Sab196087 180*cd3e9333SAli Bahrami elfedit32_sec_getsymtab { FLAGS = PARENT }; 181*cd3e9333SAli Bahrami elfedit64_sec_getsymtab { FLAGS = PARENT }; 182d29b2c44Sab196087 183*cd3e9333SAli Bahrami elfedit32_sec_getversym { FLAGS = PARENT }; 184*cd3e9333SAli Bahrami elfedit64_sec_getversym { FLAGS = PARENT }; 185d29b2c44Sab196087 186*cd3e9333SAli Bahrami elfedit32_sec_getxshndx { FLAGS = PARENT }; 187*cd3e9333SAli Bahrami elfedit64_sec_getxshndx { FLAGS = PARENT }; 188d29b2c44Sab196087 189*cd3e9333SAli Bahrami elfedit32_sec_issymtab { FLAGS = PARENT }; 190*cd3e9333SAli Bahrami elfedit64_sec_issymtab { FLAGS = PARENT }; 191d29b2c44Sab196087 192*cd3e9333SAli Bahrami elfedit32_shndx_to_name { FLAGS = PARENT }; 193*cd3e9333SAli Bahrami elfedit64_shndx_to_name { FLAGS = PARENT }; 194d29b2c44Sab196087 195*cd3e9333SAli Bahrami elfedit32_sec_msgprefix { FLAGS = PARENT }; 196*cd3e9333SAli Bahrami elfedit64_sec_msgprefix { FLAGS = PARENT }; 197d29b2c44Sab196087 198*cd3e9333SAli Bahrami elfedit32_strtab_insert { FLAGS = PARENT }; 199*cd3e9333SAli Bahrami elfedit64_strtab_insert { FLAGS = PARENT }; 200d29b2c44Sab196087 201*cd3e9333SAli Bahrami elfedit32_strtab_insert_test { FLAGS = PARENT }; 202*cd3e9333SAli Bahrami elfedit64_strtab_insert_test { FLAGS = PARENT }; 203d29b2c44Sab196087 204*cd3e9333SAli Bahrami elfedit32_test_osabi { FLAGS = PARENT }; 205*cd3e9333SAli Bahrami elfedit64_test_osabi { FLAGS = PARENT }; 2064f680cc6SAli Bahrami 207*cd3e9333SAli Bahrami elfedit32_type_to_shndx { FLAGS = PARENT }; 208*cd3e9333SAli Bahrami elfedit64_type_to_shndx { FLAGS = PARENT }; 209d29b2c44Sab196087 210d29b2c44Sab196087 local: 211d29b2c44Sab196087 *; 212d29b2c44Sab196087}; 213