Closed dzzzc closed 4 months ago
@dengzhicong
in your case. you just read objects, but not Load, Load function will relocate symbol and get position for symbol.
Sorry, it was an internal error in this function
goloader.Load(linker, symPtr)
Seems ok on my fork… https://github.com/eh-steve/goloader/commit/88d85dba9ea882c36aef678a0acbf4ffac167cb5
Seems ok on my fork… eh-steve@88d85db
i test eh-steve's case, my repos is ok too.
@dengzhicong please provide a reproducible case
This is my test code
This is my test code
If the function you call depends on another library's function, then you need to load it at same time.
you may use eh-steve's fork, this fork auto load dependent library.
ok. Thank You
I found that recursive calls fail