Comments (7)
Thanks for the report.
At present, llvm-mctoll recognizes function arguments passed in GPRs (i.e., RDI, RSI, RDX, RCX, R8, R9 - as specified by AMD64 ABI). So, support to identify arguments of functions with 6 or less args is implemented.
Support to identify functions whose args are passed on stack (i.e., > 6 args) or via XMM registers needs to be implemented.
While it is on the list of features to be added, any help is highly appreciated.
from llvm-mctoll.
from llvm-mctoll.
Thanks for the clarification, Michael.
While I did note that the crash was reported for ARM binary, I was merely clarifying that the tool is expected to raise x86-64 binaries comprising of functions with 6 or less register arguments (not 4). That's all :-) As you noted in the initial report, this is most likely the reason for incorrect result from raising an x86 binary comprising of functions with more than 6 arguments.
Implementation of ARM raiser can also use some help and attention to ensure that it can handle all the test cases x86-64 raiser currently can.
from llvm-mctoll.
I will be working on a RISC-V port so I will be unable to improve X86 or ARM support unless the issues are generic. This is the main reason I filed this report, the backtrace seems to indicate a problem in MCInstRaiser::buildCFG; are you aware of any issues in the area?
from llvm-mctoll.
I am not aware of any issues in CFG construction. It is relatively simple and relies on MCInst info .
Any generic improvements while you work on a RISC-V port are gratefully appreciated.
from llvm-mctoll.
Hi, Do u have any ideas of the Issue #68 , it's really very important to me, I don't know where is the problem. Thanks a lot!
from llvm-mctoll.
Hi, Do u have any ideas of the Issue #68 , it's really very important to me, I don't know where is the problem. Thanks a lot!
It is not clear to me which aspect of #68 you are having trouble with. Please refer to the comments of that issue.
Please add any additional questions or comments to the relevant issue to minimize mis-communication.
Thanks!
from llvm-mctoll.
Related Issues (20)
- Wrong lift result for nested "for" loops. HOT 2
- Unable to raise arm binary containing an array HOT 3
- Adapt mctoll to use Opaque pointers HOT 1
- This repo is missing important files
- Unknown prototype for function : _ZNSaIcEC1Ev HOT 1
- Failing to lift binaries HOT 2
- TEST8rr instruction failing to lift properly HOT 1
- Failed to lift binary (core dumped) HOT 1
- Failed to lift simple ARM binary HOT 1
- Build without LLVM source? HOT 1
- Supported LLVM version HOT 1
- assert failed at X86FuncPrototypeDiscovery.cpp:227 HOT 2
- Does Mctoll Translator support Weak Memory Model Architectures ? HOT 1
- cannot compile mctoll without assertions HOT 7
- Error while lifting. HOT 6
- Error when lifting. HOT 1
- is this project still on-going? HOT 1
- i need to install llvm mctoll HOT 3
- generate invalid llir instructions HOT 4
- Cannot get step #4 to work 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-mctoll.