qiuchengxuan
qiuchengxuan
Occured on stm32f405, or more precisely, OMNIBUSF4V3 board
> 请参考《gomonkey用户如何对泛型打桩》[https://www.jianshu.com/p/8a52eae7f786] 嗯,但是对于间接调用泛型方法的用例恐怕不可行 不过我似乎找到了解决办法,reflect拿到的方法地址,第一个调用将会是callsite调用的实际的泛型方法,那么这里找到这个第一个call指向的地址,就能正确的为泛型方法打桩,具体如下: 首先定义一个FindFirstCall ```go package gomonkey import ( "reflect" "unsafe" "golang.org/x/arch/x86/x86asm" ) func FindFirstCall(ptr uintptr) uintptr { addr := ptr for addr < ptr+65535 { sliceHeader := reflect.SliceHeader{Data:...
It doesn't crash, just kernel error
It seems to be NIC driver specific, most driver won't care whether it's a multicast address except FSL DPAA SDK
I don't know, I encountered this problem simply because it's default enabled in OpenWRT, although I don't think so because I had a glance to driver source which takes no...
In OpenWRT, I mean https://github.com/openwrt/openwrt/blob/master/package/network/services/lldpd/files/lldpd.config
I see, indeed OpenWRT should not enable this by default
Emm seems not that easy than I expected
Perhaps you guys could make some try to implement Copy for Vec?
> `Copy`-ing a `Vec` is more expensive than `Clone`-ing a `Vec` except in the case where the `Vec>` is full. > > The reason is that a `Copy` will copy...