Giter Site home page Giter Site logo

h4ck3rm1k3 / gogccintro Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 0.0 15.8 MB

golang interfaces for the gcc introspector

License: GNU Affero General Public License v3.0

Go 98.44% Turing 0.45% Makefile 0.16% Protocol Buffer 0.94% Perl 6 0.01% Shell 0.01%
gcc-complier gcc gcc-plugin golang

gogccintro's Introduction

gogccintro

golang interfaces for the gcc introspector

Build Status GoDoc

Install

go get github.com/h4ck3rm1k3/gogccintro

Usage

Compile programs with these flags to get tu files

CFLAGS=-O0 -fdump-translation-unit -save-temps
CPPFLAGS=-O0 -fdump-translation-unit -save-temps
CXXFLAGS=-O0 -fdump-translation-unit -save-temps

Author

James Michael Du Pont [[email protected]]

Copyright & License

Copyright (c) 2017, James Michael Du Pont. All rights reserved. Use of this source code is governed by a AGPL-style license that can be found in the LICENSE file.

gogccintro's People

Contributors

h4ck3rm1k3 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gogccintro's Issues

operator|@33804

g.V().Tag("source").In("externbody").All()

{"result":[{"id":"@33803","source":"operator|@33804"}]}

bad types

g.V().Tag("a").Has("nodetype","body:").Out("nodetype").Tag("source").Back("a").Out("argt").Out("nodetype").Tag("target").All()

//"\n",
// "body:",
// "link:",

{"result":[{"a":"@26170","id":"pointer_type","source":"body:","target":"pointer_type"},

parsing error

parsing error :
g.V("@124").Out().All()

produces

{"result":[{"id":"statement_list"},{"id":"6   : @177"},{"id":"7   : @178"},{"id":"10  : @181"},{"id":"21  : @192"},{"id":"1   : @172"},{"id":"0   : @171"},{"id":"3   : @174"},{"id":"5   : @176"},{"id":"14  : @185"},{"id":"25  : @196"},{"id":"26  : @197"},{"id":"2   : @173"},{"id":"15  : @186"},{"id":"17  : @188"},{"id":"20  : @191"},{"id":"28  : @199"},{"id":"4   : @175"},{"id":"16  : @187"},{"id":"18  : @189"},{"id":"22  : @193"},{"id":"8   : @179"},{"id":"9   : @180"},{"id":"19  : @190"},{"id":"27  : @198"},{"id":"11  : @182"},{"id":"12  : @183"},{"id":"13  : @184"},{"id":"23  : @194"},{"id":"24  : @195"},{"id":"29  : @200"},{"id":"30  : @201"}]}

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.