上一页 1 ··· 8 9 10 11 12 13 14 15 下一页
摘要: https://www.youtube.com/@crackinglessons5474 https://www.crackinglessons.net/ 阅读全文
posted @ 2023-01-23 22:17 dewxin 阅读(24) 评论(0) 推荐(0)
摘要: http://www.nynaeve.net/?p=80 Debugger flow control: Hardware breakpoints vs software breakpoints In debugging parlance, there are two kinds of breakpo 阅读全文
posted @ 2023-01-20 16:48 dewxin 阅读(161) 评论(0) 推荐(0)
摘要: C#和C++的交互如果自己写代码,一方面繁琐,另一方面容易出错,再者就是代码不太规范。 最近看了一下PInvoke.net的东西,可以直接使用官方写好的。 下面是使用Pinvoke.net打开设备的一个例子。 private void openDeviceButton_Click(object se 阅读全文
posted @ 2023-01-19 00:45 dewxin 阅读(87) 评论(0) 推荐(0)
摘要: 键盘VirtualKey https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-mapvirtualkeya https://www.scs.stanford.edu/10wi-cs140/pintos/spec 阅读全文
posted @ 2023-01-11 22:59 dewxin 阅读(49) 评论(0) 推荐(0)
摘要: https://learn.microsoft.com/en-us/archive/msdn-magazine/2017/may/net-core-cross-platform-code-generation-with-roslyn-and-net-core https://www.tugberku 阅读全文
posted @ 2022-12-13 19:55 dewxin 阅读(137) 评论(1) 推荐(0)
摘要: C#的序列化库很多通过注解Attribute来实现,比如Protobuf-net,Messagepack等。如果手动添加注解,会比较麻烦,尤其在切换序列化库的时候,需要更改对应的注解。 这里实现了一个使用Mono.Cecil来自动添加注解的类,当程序编译后,会修改对应的dll来实现效果。 遇到的坑: 阅读全文
posted @ 2022-12-08 15:41 dewxin 阅读(120) 评论(0) 推荐(0)
摘要: 最近用反射,想找到一个接口的父接口,发现baseType是null。 但是dotpeek反射里面显示是有baseType的。 搜了一下,意识到你只能 implement 一个接口,而不能inherit一个接口。所以一个接口想找到父接口应该再次使用GetInterfaces函数。 阅读全文
posted @ 2022-12-03 16:44 dewxin 阅读(64) 评论(0) 推荐(0)
摘要: 《TCP/IP Illustrated Volume1 The Protocols》第14章的总结中提到 Karn’s algorithm removes the retransmission ambiguity problem by preventing the use of RTT measur 阅读全文
posted @ 2022-12-03 14:26 dewxin 阅读(273) 评论(0) 推荐(0)
摘要: 简介 不管是RPC还是IPC,本质都是通过某种寻址方式调用另一个**工作单元(线程)**的函数(subroutine)。 此处工作单元可以是主机(host),进程(process),线程(thread)。最终函数将在某个主机上的某个进程里的某个线程中执行。 为了简化情况,我们假设一台主机上只运行一个 阅读全文
posted @ 2022-11-26 22:45 dewxin 阅读(211) 评论(0) 推荐(0)
摘要: one sees that word is defined to be 2 bytes (or 16 bits). It was given this meaning when the 8086 was first released. When the 80386 was developed, it 阅读全文
posted @ 2022-11-23 16:23 dewxin 阅读(130) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 下一页