
Due to dyanmically loaded libraries there could be aribitrarily large gaps in the address space, between functions. Limit the memory size we are willing to disassemble. Fixes #3040
15 lines
132 B
Go
15 lines
132 B
Go
package main
|
|
|
|
/*
|
|
int a(int v) {
|
|
return 0xff + v;
|
|
}
|
|
*/
|
|
import "C"
|
|
import "fmt"
|
|
|
|
func main() {
|
|
fmt.Println("aaa")
|
|
print(C.a(11))
|
|
}
|