Just a HookTime Limit: 1 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1698DescriptionIn the game of DotA, Pudge’s meat hook is...
分类:
其他好文 时间:
2015-04-06 21:44:54
阅读次数:
201
难点总结1.先HOOK 库,支持x86/x64。先了easyhook,还要把easyhook编译成static library形式2.ipc通讯,hook到信息后,要综合到服务中心进程保存。选择了rpc通讯3.编写的勾子dll注入采用了appinit_dll方式,dll不能依赖太多库。只能使用ker...
分类:
其他好文 时间:
2015-04-05 23:06:50
阅读次数:
203
E - Just a Hook
Time Limit:2000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u
Submit Status Practice
Description
In the game of DotA, Pudge’s meat hook is actually the most horrible thing...
分类:
其他好文 时间:
2015-04-05 09:12:34
阅读次数:
293
Just a HookTime Limit:2000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 1698DescriptionIn the game of DotA, Pudge’s meat ...
分类:
其他好文 时间:
2015-04-04 16:26:22
阅读次数:
157
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1698Let us number the consecutive metallic sticks of the hook from 1 to N. For each operation, Pudge ca...
分类:
其他好文 时间:
2015-04-03 23:45:47
阅读次数:
150
参考 http://9200cs.blog.163.com/blog/static/134577369201041111656659/环境:VS2008一、新建一个dll程序add,程序非常简单,其功能就是实现简单的a+b。1、新建一个项目名为add选择dll然后打开dllmain.cpp,代码:/...
分类:
其他好文 时间:
2015-04-03 01:29:33
阅读次数:
194
最近使用WebBrower做了几个Hook小程序,收集积累如下:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows.Forms;//namespa...
分类:
Web程序 时间:
2015-04-02 18:45:24
阅读次数:
247
Objective-C的hook方案(一): Method Swizzling
在没有一个类的实现源码的情况下,想改变其中一个方法的实现,除了继承它重写、和借助类别重名方法暴力抢先之外,还有更加灵活的方法吗?在Objective-C编程中,如何实现hook呢?标题有点大,计划分几篇来总结。本文主要介绍针对selector的hook,主角被标题剧透了———— Method Swizzling 。...
分类:
移动开发 时间:
2015-03-29 22:16:21
阅读次数:
242
A:magic
总时间限制: 1000ms 内存限制: 131072kB
描述
魔法师Silly Hook正在表演一个神奇的魔术,他变出了他自己的N个分身,并成正N边形分布,他本身处于这个正N边形的中心,正N边形的边长为A。然后,每个分身都会朝顺时针方向下一个分身以一个相同的固定的速度V移动,移动方向会随着下一个分身的位置变化而变化,最终所有分身都将到达正...
分类:
其他好文 时间:
2015-03-19 22:10:55
阅读次数:
150
This tutorial shows how to declare, invoke, and hook up to events in C#.
Tutorial
An event in C# is a way for a class to provide notifications to clients of that class when some interesting thing ...