Comments (5)
Based on time constraints the focus of the project has shifted to finishing up the artifacts (LLVM IR -> DOT ll2dot and the iso
and merge
tools which locates and merges subgraph isomorphism in DOT files) which for now uses the official Go binding for LLVM. Future work will continue to develop the pure Go library for interacting with LLVM IR.
The following comment describes this further.
Marked as future ambition. Developing a library for interacting with LLVM IR turned out to require huge efforts. This work is taking place in the llvm repository and will continue to do so. As the LLVM IR library was a prerequisite for the other parts of this project a decision was made to make use of the preexisting official Go binding for LLVM. Using this library the ll2dot tool was constructed to translate LLVM IR into control flow graphs described in the DOT format. Subsequent decompilation passes worked on the DOT representation of the Control Flow Graph and were therefore independent of the source intermediate representation (e.g. LLVM IR).
The intention is to take up work again and implement the pure Go implementation of LLVM IR as time permits. The immediate focus of the project is currently to finish the development of the artifact and shift focus to writing the report. As such the development of the LLVM IR library may remain stale until later this year.
from llvm.
This work is tracked by the llir/spec project, which aims to define a formal grammar for LLVM IR. As the grammar supports an ever larger subset of LLVM IR, the corresponding in-memory representations are added to this repository. Closing this issue for now, as the spec repository is better suited to track this work.
from llvm.
The llir/spec
project has now been integrated with the llir/llvm
project. As such, this issue is once again relevant for tracking this work.
Mental note, commit d299b42 removed visibility, linkage and calling conventions from the LLVM IR package. These may be included once more in future release.
from llvm.
ref: #16 (comment)
- nnan
- ninf
- nsz
- arcp
- fast
from llvm.
This issue is mostly a duplicate of #15. Lets close this one to keep the discussion in one place.
from llvm.
Related Issues (20)
- ast parse error HOT 10
- `SRet` struct location HOT 3
- How to use Function Pointers? HOT 3
- Wrong function pointer type HOT 1
- indirect br only takes constant addr HOT 1
- Returning void as a value HOT 3
- update llir/llvm to support 14.0 HOT 2
- update llir/llvm to support LLVM 15.0 HOT 7
- How to have two structs referencing eachother HOT 4
- How to convert to exe? HOT 3
- `module.NewTypeDef` has unexpected side effects HOT 17
- Provide working Hello, World example HOT 1
- support llvm 16.0.0 HOT 2
- incorrect cmpxchg signature HOT 4
- How to generate ir for embedded struct? HOT 6
- Convert to string HOT 1
- Hello 10 instead of Hello world. Passing a IntPtr to printf (go - LLIR/LLVM) HOT 3
- malloc and strcpy in LLVM HOT 1
- unable to generate LLVM: structure, external , noundef and ptr HOT 1
- No way to find underlying type of pointer or array HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from llvm.