Giter Site home page Giter Site logo

haveyoutall / valgrind-dev Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 17.7 MB

This is a clone of Valgrind 3.17.0 at https://www.valgrind.org/. This clone also changed some source codes of Valgrind totally according to the Ctgrind at https://github.com/agl/ctgrind.

License: GNU General Public License v2.0

Makefile 12.44% C 83.86% Shell 0.29% Perl 0.44% Assembly 1.44% M4 0.32% CSS 0.01% HTML 0.01% JavaScript 0.10% C++ 1.05% Roff 0.01% GDB 0.04%

valgrind-dev's Introduction

valgrind-dev

Forked form valgrind 3.17.0, the source code could be downloaded from https://www.valgrind.org/downloads/.

Modified the source code according to ctgrind

origin README from valgrind

Release notes for Valgrind

If you are building a binary package of Valgrind for distribution, please read README_PACKAGERS. It contains some important information.

If you are developing Valgrind, please read README_DEVELOPERS. It contains some useful information.

For instructions on how to build/install, see the end of this file.

If you have problems, consult the FAQ to see if there are workarounds.

Executive Summary

Valgrind is a framework for building dynamic analysis tools. There are Valgrind tools that can automatically detect many memory management and threading bugs, and profile your programs in detail. You can also use Valgrind to build new tools.

The Valgrind distribution currently includes six production-quality tools: a memory error detector, two thread error detectors, a cache and branch-prediction profiler, a call-graph generating cache and branch-prediction profiler, and a heap profiler. It also includes three experimental tools: a heap/stack/global array overrun detector, a different kind of heap profiler, and a SimPoint basic block vector generator.

Valgrind is closely tied to details of the CPU, operating system and to a lesser extent, compiler and basic C libraries. This makes it difficult to make it portable. Nonetheless, it is available for the following platforms:

  • X86/Linux
  • AMD64/Linux
  • PPC32/Linux
  • PPC64/Linux
  • ARM/Linux
  • ARM64/Linux
  • x86/macOS
  • AMD64/macOS
  • S390X/Linux
  • MIPS32/Linux
  • MIPS64/Linux
  • nanoMIPS/Linux
  • X86/Solaris
  • AMD64/Solaris

Note that AMD64 is just another name for x86_64, and Valgrind runs fine on Intel processors. Also note that the core of macOS is called "Darwin" and this name is used sometimes.

Valgrind is licensed under the GNU General Public License, version 2. Read the file COPYING in the source distribution for details.

However: if you contribute code, you need to make it available as GPL version 2 or later, and not 2-only.

Documentation

A comprehensive user guide is supplied. Point your browser at $PREFIX/share/doc/valgrind/manual.html, where $PREFIX is whatever you specified with --prefix= when building.

Building and installing it

To install from the GIT repository:

  1. Clone the code from GIT: git clone git://sourceware.org/git/valgrind.git There are further instructions at http://www.valgrind.org/downloads/repository.html.

  2. cd into the source directory.

  3. Run ./autogen.sh to setup the environment (you need the standard autoconf tools to do so).

  4. Continue with the following instructions...

To install from a tar.bz2 distribution: (Or clone this modified repository.)

  1. Run ./configure, with some options if you wish. The only interesting one is the usual --prefix=/where/you/want/it/installed.

  2. Run "make".

  3. Run "make install", possibly as root if the destination permissions require that.

  4. See if it works. Try "valgrind ls -l". Either this works, or it bombs out with some complaint. In that case, please let us know (see http://valgrind.org/support/bug_reports.html).

Important! Do not move the valgrind installation into a place different from that specified by --prefix at build time. This will cause things to break in subtle ways, mostly when Valgrind handles fork/exec calls.

The Valgrind Developers

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.