Comments (2)
Do you have any thoughts on offset 0x68ee0 7e 77 bd a3.
It looks like some kind of checksum (automotive programmers loves checksums. This image have at least 5 functions to calculate CRC). At 8004005C
present reference to that place, also at 800672DE
some function does some strange things ;-)
DWARF helps so much with arguments
I am not familiar with tricore compilers. What is calling convention in your binaries? "My" code uses d2
as return value, but in most cases ghidra suggests, that functions return value in a2
.
Do you know, there are some ability to setup this behavior? It seems nessesary to add new prototype
section in .cspec file.
Do you know if this image has PCP?
I am never faced with PCP, but there is many references to their address space.
I think that code, that i'm researching, fully executed by main core, and i am not very interesting in PCP disasm now.
Looking at adding the specific TC172x processor spec
Oh, its great! Thank you!
from ghidra.
Returning a2 vs d2 is the same issue as passing arguments. The manual just says the data arguments are d# and pointer arguments are a#
The way I read that is:
size_t read(int fd, void * buf, size_t count)
would be d2 = read(d4, a4, d5)
and void * memcpy(void * dst, void * src, size_t n)
would be a2 = memcpy(a4, a5, d4)
And no clue how to best do that right now, and I may be completely wrong in my interpretation of the manual
from ghidra.
Related Issues (18)
- Add address spaces to processor definition files HOT 2
- Add support for TC277 HOT 5
- Can't build 'tricore' project HOT 2
- Use misa instead for the context
- Use separate git repositories for processor specs HOT 2
- [tricore] float-point in DVADJ operand HOT 2
- [tricore] 64 bit registers in DVINIT instruction HOT 1
- improvements HOT 3
- RISC-V fixes
- size of "long" for risc64 HOT 2
- sample files HOT 3
- Test binaries HOT 9
- NOP opcode HOT 1
- tricore/certification.manifest HOT 1
- Peripheral register definitions HOT 2
- Base + offset addressing mode HOT 3
- mirror addresses HOT 4
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 ghidra.