Comments (2)
What I have seen in practice are 2 sharing modes: Most of the time, functions share only the last few statements, sometimes even only the return() statement. Other cases I have seen is memset+bzero, where bzero is just a few statements additionally at the beginning of the memset function. (Or the bzero function offering a memset entry point in the middle, depending on the viewpoint). I don't remember having seen code sharing in the middle of functions. But I guess that the malware market has more advanced code sharing concepts.
from scratchabit.
But I guess that the malware market has more advanced code sharing concepts.
So, ScratchABit is explicitly not targeted at security/malware research areas, which is actually a problem, because 90% (I could say 99% easily) of research engineering appears to be related to those areas, and not targetting them means a strong popularity hit. But not targetting them is the explanation why ScratchABit exists at all - because existing tools involve a steep learning curve, whereas SAB is intended to be quite OK to work in the following mode: "spend 10 minutes a day, and in a year, you'll have a huge progress with reversing a particular subject which interests you".
What I have seen in practice are 2 sharing modes
Well, this ticket comes from a practical experience with reversing the default SAB's usecase - ESP8266 firmware, project hosted here: https://github.com/pfalcon/xtensa-subjects/tree/master/2.0.0-p20160809 libgcc, specifically floating-point support functions pose a problem: they are originally coded in assembly, and one module may host 2 related functions, which share good deal of code (well, more specifically, one function tail-calls inside another, and vice-versa). Here's a quick google-up of the original source: https://searchcode.com/codesearch/view/32527096/
So, this ticket talks how ScratchABit should deal with such functions to produce a suitable listing for analysis in ScratchABlock (as that's the high-level RE pipeline).
from scratchabit.
Related Issues (20)
- Consider leveraging python-idb for more IDAPython API implementation
- Improved Thumb mode support HOT 31
- Capstone installation issues on Debian HOT 2
- CPU plugin documentation HOT 4
- Saving slow HOT 5
- Web-integration HOT 5
- Out-of-range functions HOT 1
- Capstone may return negative addresses for arguments of jump instructions HOT 7
- IDA plugin to export data for ScratchABit HOT 1
- arm: "mov pc, ...", "pop ..., pc" can be conditional
- Load testing HOT 2
- Implement undo support
- Enable more Capstone-supported archs HOT 8
- Add support for different endianness HOT 2
- Add support for loader plugins HOT 1
- Radare2 integration
- Add support for elf SHN_COMMON sections
- Where's the setup.py HOT 7
- ESP Firmware Image Support HOT 3
- Q: micropython disassembler?
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 scratchabit.