Your IP : 216.73.216.86


Current Path : /home/emeraadmin/public_html/4d695/
Upload File :
Current File : /home/emeraadmin/public_html/4d695/auto-load.tar

usr/lib64/__pycache__/libstdc++.so.6.0.25-gdb.cpython-36.opt-1.pyc000064400000001331151707453160017554 0ustar003

���hM	�@sddlZddlZddlZddlZdZdZej�dk	r�ejje�Zejje�Zejj	eeg�Z
e
ddkrxejje
�dZ
eee
�d�Zeee
�d�Zdej
eejej
��Zej�jZejjejje�ee�Zeejkr�ejjde�ddlmZeej��dS)	�Nz/usr/share/gcc-8/pythonz/usr/lib/../lib64��/z..)�register_libstdcxx_printers���)�sysZgdb�osZos.pathZ	pythondirZlibdirZcurrent_objfile�path�normpath�commonprefix�prefix�dirname�len�sep�splitZdotdots�filenameZobjfile�joinZdir_�insertZlibstdcxx.v6r�rr�>/usr/share/gdb/auto-load//usr/lib64/libstdc++.so.6.0.25-gdb.py�<module>s(

usr/lib64/__pycache__/libstdc++.so.6.0.25-gdb.cpython-36.pyc000064400000001331151707453160016615 0ustar003

���hM	�@sddlZddlZddlZddlZdZdZej�dk	r�ejje�Zejje�Zejj	eeg�Z
e
ddkrxejje
�dZ
eee
�d�Zeee
�d�Zdej
eejej
��Zej�jZejjejje�ee�Zeejkr�ejjde�ddlmZeej��dS)	�Nz/usr/share/gcc-8/pythonz/usr/lib/../lib64��/z..)�register_libstdcxx_printers���)�sysZgdb�osZos.pathZ	pythondirZlibdirZcurrent_objfile�path�normpath�commonprefix�prefix�dirname�len�sep�splitZdotdots�filenameZobjfile�joinZdir_�insertZlibstdcxx.v6r�rr�>/usr/share/gdb/auto-load//usr/lib64/libstdc++.so.6.0.25-gdb.py�<module>s(

usr/lib64/libstdc++.so.6.0.25-gdb.py000064400000004515151707453160012340 0ustar00# -*- python -*-
# Copyright (C) 2009-2018 Free Software Foundation, Inc.

# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

import sys
import gdb
import os
import os.path

pythondir = '/usr/share/gcc-8/python'
libdir = '/usr/lib/../lib64'

# This file might be loaded when there is no current objfile.  This
# can happen if the user loads it manually.  In this case we don't
# update sys.path; instead we just hope the user managed to do that
# beforehand.
if gdb.current_objfile () is not None:
    # Update module path.  We want to find the relative path from libdir
    # to pythondir, and then we want to apply that relative path to the
    # directory holding the objfile with which this file is associated.
    # This preserves relocatability of the gcc tree.

    # Do a simple normalization that removes duplicate separators.
    pythondir = os.path.normpath (pythondir)
    libdir = os.path.normpath (libdir)

    prefix = os.path.commonprefix ([libdir, pythondir])
    # In some bizarre configuration we might have found a match in the
    # middle of a directory name.
    if prefix[-1] != '/':
        prefix = os.path.dirname (prefix) + '/'

    # Strip off the prefix.
    pythondir = pythondir[len (prefix):]
    libdir = libdir[len (prefix):]

    # Compute the ".."s needed to get from libdir to the prefix.
    dotdots = ('..' + os.sep) * len (libdir.split (os.sep))

    objfile = gdb.current_objfile ().filename
    dir_ = os.path.join (os.path.dirname (objfile), dotdots, pythondir)

    if not dir_ in sys.path:
        sys.path.insert(0, dir_)

# Call a function as a plain import would not execute body of the included file
# on repeated reloads of this object file.
from libstdcxx.v6 import register_libstdcxx_printers
register_libstdcxx_printers(gdb.current_objfile())
usr/lib64/libisl.so.13.1.0-gdb.py000064400000007543151707453160012040 0ustar00import gdb
import re

# GDB Pretty Printers for most isl objects
class IslObjectPrinter:
	"""Print an isl object"""
	def __init__ (self, val, type):
                self.val = val
                self.type = type

	def to_string (self):
                # Cast val to a void pointer to stop gdb using this pretty
                # printer for the pointer which would lead to an infinite loop.
                void_ptr = gdb.lookup_type('void').pointer()
                value = str(self.val.cast(void_ptr))
                printer = gdb.parse_and_eval("isl_printer_to_str(isl_"
                                             + str(self.type)
					     + "_get_ctx(" + value + "))")
                printer = gdb.parse_and_eval("isl_printer_print_"
                                             + str(self.type) + "("
                                             + str(printer) + ", "
                                             + value + ")")
                string = gdb.parse_and_eval("(char*)isl_printer_get_str("
                                            + str(printer) + ")")
                gdb.parse_and_eval("isl_printer_free(" + str(printer) + ")")
                return string

	def display_hint (self):
                return 'string'

class IslIntPrinter:
	"""Print an isl_int """
	def __init__ (self, val):
                self.val = val

	def to_string (self):
                # Cast val to a void pointer to stop gdb using this pretty
                # printer for the pointer which would lead to an infinite loop.
                void_ptr = gdb.lookup_type('void').pointer()
                value = str(self.val.cast(void_ptr))

                context = gdb.parse_and_eval("isl_ctx_alloc()")
                printer = gdb.parse_and_eval("isl_printer_to_str("
                                             + str(context) + ")")
                printer = gdb.parse_and_eval("isl_printer_print_isl_int("
                                             + str(printer) + ", "
                                             + value + ")")
                string = gdb.parse_and_eval("(char*)isl_printer_get_str("
                                            + str(printer) + ")")
                gdb.parse_and_eval("isl_printer_free(" + str(printer) + ")")
                gdb.parse_and_eval("isl_ctx_free(" + str(context) + ")")
                return string

	def display_hint (self):
                return 'string'

class IslPrintCommand (gdb.Command):
        """Print an isl value."""
        def __init__ (self):
                super (IslPrintCommand, self).__init__ ("islprint",
                                                        gdb.COMMAND_OBSCURE)
        def invoke (self, arg, from_tty):
                arg = gdb.parse_and_eval(arg);
                printer = str_lookup_function(arg)

                if printer == None:
                        print "No isl printer for this type"
                        return

                print printer.to_string()

IslPrintCommand()

def str_lookup_function (val):
	if val.type.code != gdb.TYPE_CODE_PTR:
		if str(val.type) == "isl_int":
			return IslIntPrinter(val)
                else:
                        return None

	lookup_tag = val.type.target()
	regex = re.compile ("^isl_(.*)$")

	if lookup_tag == None:
		return None

	m = regex.match (str(lookup_tag))

	if m:
                # Those types of printers defined in isl.
                if m.group(1) in ["basic_set", "set", "union_set", "basic_map",
                                  "map", "union_map", "qpolynomial",
                                  "pw_qpolynomial", "pw_qpolynomial_fold",
                                  "union_pw_qpolynomial",
                                  "union_pw_qpolynomial_fold"]:
                        return IslObjectPrinter(val, m.group(1))
        return None

# Do not register the pretty printer.
# gdb.current_objfile().pretty_printers.append(str_lookup_function)
usr/lib64/libisl.so.15.1.1-gdb.py000064400000007543151707453160012043 0ustar00import gdb
import re

# GDB Pretty Printers for most isl objects
class IslObjectPrinter:
	"""Print an isl object"""
	def __init__ (self, val, type):
                self.val = val
                self.type = type

	def to_string (self):
                # Cast val to a void pointer to stop gdb using this pretty
                # printer for the pointer which would lead to an infinite loop.
                void_ptr = gdb.lookup_type('void').pointer()
                value = str(self.val.cast(void_ptr))
                printer = gdb.parse_and_eval("isl_printer_to_str(isl_"
                                             + str(self.type)
					     + "_get_ctx(" + value + "))")
                printer = gdb.parse_and_eval("isl_printer_print_"
                                             + str(self.type) + "("
                                             + str(printer) + ", "
                                             + value + ")")
                string = gdb.parse_and_eval("(char*)isl_printer_get_str("
                                            + str(printer) + ")")
                gdb.parse_and_eval("isl_printer_free(" + str(printer) + ")")
                return string

	def display_hint (self):
                return 'string'

class IslIntPrinter:
	"""Print an isl_int """
	def __init__ (self, val):
                self.val = val

	def to_string (self):
                # Cast val to a void pointer to stop gdb using this pretty
                # printer for the pointer which would lead to an infinite loop.
                void_ptr = gdb.lookup_type('void').pointer()
                value = str(self.val.cast(void_ptr))

                context = gdb.parse_and_eval("isl_ctx_alloc()")
                printer = gdb.parse_and_eval("isl_printer_to_str("
                                             + str(context) + ")")
                printer = gdb.parse_and_eval("isl_printer_print_isl_int("
                                             + str(printer) + ", "
                                             + value + ")")
                string = gdb.parse_and_eval("(char*)isl_printer_get_str("
                                            + str(printer) + ")")
                gdb.parse_and_eval("isl_printer_free(" + str(printer) + ")")
                gdb.parse_and_eval("isl_ctx_free(" + str(context) + ")")
                return string

	def display_hint (self):
                return 'string'

class IslPrintCommand (gdb.Command):
        """Print an isl value."""
        def __init__ (self):
                super (IslPrintCommand, self).__init__ ("islprint",
                                                        gdb.COMMAND_OBSCURE)
        def invoke (self, arg, from_tty):
                arg = gdb.parse_and_eval(arg);
                printer = str_lookup_function(arg)

                if printer == None:
                        print "No isl printer for this type"
                        return

                print printer.to_string()

IslPrintCommand()

def str_lookup_function (val):
	if val.type.code != gdb.TYPE_CODE_PTR:
		if str(val.type) == "isl_int":
			return IslIntPrinter(val)
                else:
                        return None

	lookup_tag = val.type.target()
	regex = re.compile ("^isl_(.*)$")

	if lookup_tag == None:
		return None

	m = regex.match (str(lookup_tag))

	if m:
                # Those types of printers defined in isl.
                if m.group(1) in ["basic_set", "set", "union_set", "basic_map",
                                  "map", "union_map", "qpolynomial",
                                  "pw_qpolynomial", "pw_qpolynomial_fold",
                                  "union_pw_qpolynomial",
                                  "union_pw_qpolynomial_fold"]:
                        return IslObjectPrinter(val, m.group(1))
        return None

# Do not register the pretty printer.
# gdb.current_objfile().pretty_printers.append(str_lookup_function)