• 2023-07-14frida hook overloads
    同时hook多个重载的函数functionhookOverloads(className,func,check_index=0,check_text="",trace=false){vartoHook;Java.perform(()=>{toHook=Java.use(className)[func];varoverloads=toHook.overloads;varoverloadCount=overloads.lengt
  • 2023-02-02[Typescript] Generics in Function Overloads
    Here'safunctioncalled returnWhatIPassInExceptFor1:functionreturnWhatIPassInExceptFor1(t:unknown):unknown{if(t===1){return2;}return
  • 2023-01-31[Typescript] Function Overloads vs. Union Types
    Uniontype:functionrunGenerator(generator:{run:()=>string}|(()=>string)){if(typeofgenerator==='function'){returngenerator();}r
  • 2022-11-24Java9集合类中重载多个of方法原因
    在java9api的集合类中,有很多看似一样的重载of方法:那这里有个问题是为什么有了VarArgs(可变长参数)方法,还需要定义那么多重载的方法呢?查看官方的更新日志中可以发现有如下描