pkujhd

Results 22 comments of pkujhd

@capnspacehook I try to fix the error, push a commit https://github.com/pkujhd/goloader/commit/6a48a780e1c095a23ae8ea1549fcd10c3d9280b7, but only test on Linux

> 可以用go自带的plugin模式替代吗 可以,但是自带的plugin无法unload,如果加载很多不同的.so的话,会导致内存增加过多

> 有没有高手继续修正支持1.13的? i already fix bugs on golang1.13, always only test on Linux. you can checout it https://github.com/pkujhd/goloader

> > > 有没有高手继续修正支持1.13的? > > > > > > i already fix bugs on golang1.13, always only test on Linux. you can checout it https://github.com/pkujhd/goloader > > @dearplain Would...

这是windows上对于R_ADDR的远地址重定向没有处理造成的,linux上强制mmap返回32位的地址避免了这个问题,macosx(amd64)默认就是小地址的 修复需要一段时间

对于已经存在的类型,使用loader里的symbol, 并且不在relocate它,因为没有必要. 这样可以避免R_ADDROFF R_WEAKADDROFF R_METHODOFF 报远地址错误

这个是由于ListFields的实现有问题导致的, ListFields里边实现的next函数,没有对于key进行递增,导致访问变量以后,在内部的while死循环了

@eh-steve , thanks. I will try to recurrence bugs and fix. By the way, goloader does not test with cgo and asm.

@eh-steve I try use your jit branch to run go test in jit dir on linux/amd64 , every test outputs same errors, e.g "jit_test.go:42: still have 17 unresolved external symbols...

> Edit: Fixed this now > > > Some tests are still failing randomly (e.g. `TestStackSplit` and `TestJitPanicRecoveryStackTrace`) due to some outstanding bugs in goloader which still need to be...