Comments (5)
I was working on some code that used ffi-udis86 to find Gadgets. I'm not sure if it belongs in ronin-asm or should be moved into a ronin-rop library?
from ronin-code-asm.
If I can use it independently from ronin-asm then I would want it to be separately. But I can imagine that It must somehow be involved. For example if I want to search for pop eax; ret
, I first use ronin-asm to convert to binary, then grep it from the binary source, convert it to the correct address somehow.
from ronin-code-asm.
Ah yes, we could inspect Ronin::ASM::Program#instructions
and map those to gadgets.
from ronin-code-asm.
One downside to this would be adding ffi-udis86 and libudis86 as dependencies. Luckily, libudis86 is available in almost every package manager.
from ronin-code-asm.
If you're interested, there's an old rop branch. I was trying to extract it and update it for a Capture The Flag competition. One of my goals is to add min/max number of instructions to search for.
from ronin-code-asm.
Related Issues (20)
- Spec everything HOT 1
- Add a Disassembler ontop of ffi-udis86 HOT 1
- Add commands similar to ShellNoob
- Switch DSL argument order to match Intel syntax HOT 1
- Add rubocop
- Add truffleruby to the CI HOT 1
- Add `push_string` method to `Ronin::ASM::Shellcode`
- Remove data_paths dependency
- Add ANSI C types
- Replace `options={}` with keyword arguments HOT 1
- Rename project to `ronin-code-asm` HOT 1
- Re-enable JRuby in the CI matrix
- Release ronin-code-asm 1.0.0
- Release ronin-code-asm 1.0.0.beta1
- Add aliases for byte/word/dword/qword
- Intel syntax support HOT 3
- Make the default syntax Intel
- Add bin/ronin-asm HOT 1
- bundle exec rake spec:yasm can't run
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ronin-code-asm.