jonomango / chum Goto Github PK
View Code? Open in Web Editor NEWBinary rewriter for 64-bit PE files.
License: MIT License
Binary rewriter for 64-bit PE files.
License: MIT License
I understand that you won't be working on this project anymore, but maybe it will help someone in the future. This is an interesting project.
For example, there is such a problem in _vcrt_InitializeCriticalSectionEx()->try_get_function() [in CRT with /MT] with the rva address in the current instructions
49 8B 84 FF ? ? ? ?
mov rax, rva ????[r15+rdi*8]
49 8B 9C F7 ? ? ? ?
mov rbx, rva ????[r15+rsi*8]
4D 8B BC F7 ? ? ? ?
mov r15, ds:rva ????[r15+rsi*8]
Just for the test, this instruction can be caught in this way (this is not the best way, just for test)
if (instr.mnemonic == ZYDIS_MNEMONIC_MOV && instr.attributes == (ZYDIS_ATTRIB_HAS_MODRM | ZYDIS_ATTRIB_HAS_SIB | ZYDIS_ATTRIB_HAS_REX | ZYDIS_ATTRIB_ACCEPTS_SEGMENT) && instr.length >= 8 && instr.raw.disp.value > 0x1000/*better to do > sec_text_addr + sec_text_size*/)
I also suspect that there will be problems with some short jmps
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.