Comments (2)
if the compiler disable inline, funcinfo may have an PCDATA[2] InlTreeIndex with empty data.
i found this by reviewing go source code, and the runtime haven’t encountered some error in my executions.
from goloader.
@fumeboy , it is a bug, if a PCData is empty data, pcdata offset needs zero.
you haven't encountered some error because golang runtime checks funcdata before get pcdata.
from goloader.
Related Issues (20)
- the handle of inline is incorrect HOT 11
- the usage of `copy2Slice` here seems to be incorrect, PutInt64 should be used instead HOT 30
- the `addfuncdata` rewrite `0` to `^uint32(0)`, but ignoring the case where 0 represents a normal offset value. HOT 5
- during module unloading, removing the itab can lead to runtime error HOT 1
- `getitab` alloc memory for `itab` by `persistentalloc`, and that couldnt be free HOT 6
- golang 1.21 support HOT 5
- 似乎不支援泛型 HOT 12
- `typelinksRegister` may bind wrong address when some types have same name at packages which also have same name HOT 3
- unexpected return pc 0x0 HOT 4
- Failed to execute plugin which contains dependency `unresolve external:<...>` HOT 2
- build constraints exclude all Go files in ... HOT 2
- go linker dont use ptrsize to align TEXT symbol
- may be a bug: the program handles the`findfunctab` does not consider the case where the function address spans 4kb HOT 2
- support golang 1.22 HOT 1
- Discussion on go plugin ecosystem HOT 3
- 内置接口类型 error 无法解析 HOT 5
- //go:linkname lock down future use HOT 2
- Support golang 1.23 HOT 1
- Does it support recursive functions? HOT 8
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 goloader.