Comments (4)
Thanks!
from wtf.
Hello,
Thanks for the kind words 🙏🏽
-
You can directly manipulate memory with every backend; they all give you virtual or physical memory access (
VirtRead
/Write
,PhyReadWrite
) -
For this question I am not 100% sure I understand exactly which memory you'd like to trace. But if you would like to trace memory accesses to certain guest memory regions it would be very easy to do with bochscpu as it receives a callback every time memory is accessed. With the hypervisors backend you would have to implement this on your own somehow; like you would need to do it from a hypervisor
Does this answer your questions?
Cheers
from wtf.
Thanks for your quick response.
As for the second question. Assume the emulation starts at function func(char *p, ...)
, and our test cases are inserted by the parameter char *p
. If there is another function in the target mend()
, which changes the test case (say encrypt) and stores the result into a new memory. In this case, if we change the test case, the encrypted result will also be changed because the source of the encrypting is the test case. The memory that holds the result is the one I want.
Is it possible to trace that?
from wtf.
Based on your description it seems like you know where the 'encrypted' version of the testcase is stored at; in which case you can simply read its content if this is what you want. If you don't know its location in memory, then it seems like you know where mend
is so you could instrument the guest by setting breakpoints in mend
and dump the address or the content of the 'encrypted' buffer.
Am I understanding the question right this time? 😅
Cheers
from wtf.
Related Issues (20)
- Own Fuzzer build fails: Did you forget to include "#include "path/to/wtf/src/build/CMakeFiles/wtf.dir/RelWithDebInfo/cmake_pch.hxx" HOT 5
- socket.cc `recv()` timeout HOT 23
- [Fuzzer] Testcase "fuzzilli('FUZZILLI_CRASH', {0 | 1 | 2})" did not crash HOT 1
- Diagnosing differences between bochs backend and Hyper-V backend HOT 2
- fix argument handling to not trigger post mortem debugger
- Default the backend option to bxcpu
- Attempt to find state folder if in cwd
- std::shuffle leads to different behavior on Windows & Linux HOT 1
- Sockets on Linux don't behave as expected
- std::abort is too annoying on Windows
- If --target is not specified and the current directory looks like a target, use it!
- fuzzing different cpu architectures HOT 1
- Handle timeout testcases better
- Translation of GVA 0x1cdbb0e2000 failed HOT 4
- New Feature: Redqueen/cmplog implementation
- [Question] Memory for testcase HOT 4
- Return failed of InsertTestcase() in RunTestcaseAndRestore() HOT 8
- wtf: cabi/mem-cabi.cc:34: static bool BX_MEM_C::dbg_fetch_mem(BX_CPU_C*, bx_phy_address, unsigned int, Bit8u*): Assertion `false' failed. HOT 18
- wtf on multi-threaded program HOT 3
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 wtf.