Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
    Nguyen Anh Quynh
    yes, if you think there is anything can do to improve the docs, please go ahead.
    that would be a very nice contribution, thanks!
    Joey DeFrancesco
    Nguyen, for sure. I would love to contribute to the project. I also think I may have found a bug when resuming execution when the next instruction is a THUMB instruction.
    Joey DeFrancesco
    so new version is out!
    Joey DeFrancesco
    Anyone have any expierence loading a statically linked ELF ARM32 binary with unicorn?
    I have things set up as they should be, things seem to act funny on the unicorn end, When I set the intial registers they don’t seem to change, it is also confused with THUMB mode.. Weird, Loading RAW binaries work fine.
    Mark Yisri
    Hello, is anyone here?
    I'm trying to see how I can fabricate a timer for my home-baked ARM emulator.
    I can already use tricks to call from my emulator back into C code, but I can't see a way to sporadically generate interrupts.
    Am I missing something?
    Joey DeFrancesco
    I am working on a arm emulator
    Mark Yisri
    @jdefr89 Have you implemented this?
    also trying to use SVC vectors
    I have a noob question about the Java bindings
    I want to statically include the libunicorn deps into a java application so I can just ship the java app? I am new to java can anyone help? I have tried bundling with eclipse, but having trouble
    when I include the libunicorn_java.so and libunicorn.so and libunicorn.a file it doesn't know about the BlockHook class etc etc
    it seems to need to libunicorn.so files to be in the /usr/lib directory?
    Mark Yisri
    @blacktop Unicorn is under the GPL license. If you statically include these files I believe that you'll have to ship your app as GPL.
    I am not a lawyer. This is not guaranteed legal advice.
    Eric Wustrow
    I'm trying to allow the emulator to make system calls on the host platform. Ideally, this would be seamless to the emulated application: pointers passed as arguments would be in the virtual address space of the emulated environment, so the OS would read/write buffers that the emulated environment had access to. For instance, if I do a write() syscall, it should take a pointer to a buffer that the emulated environment filled. Is there an easy way to do this without having to implement a shim for every system call (knowing which arguments are pointers and translating accordingly)?
    macOS 10.14 (Mojave) deprecated support for i386. Can u guys take a look at this PR? It remove the i386 compile part in MakeFile and it works totally fine.
    Appreciate that!:)
    Unicorn Engine has an annoying bug when mapping a region with uc_mem_map_ptr and then changing protection to a subregion of it... @aquynh can you please give a look at #1028 (PR #1030) ?
    Jonathan G
    hey everyone
    anyone still use this gitter?
    Jonathan G
    this splace is dead
    Hello all. Would anyone be able to help me figure out why none of the samples work? Everything compiled fine and libunicorn.so.1 exists in /usr/lib64 but nothing depending on it can find the binary
    Fixed it myself. I had to also add /usr/lib64/libunicorn.a to the gcc call to make it statically link
    Does anyone knows how to make unicorn use the installed version of qemu ?
    I am willing to use the latest one and before having to dig into it, would like to know what should I do ?
    (user, not dev speaking here) I think it is basically it's own version of QEMU, I don't think it depends on it, so it wouldn't use any installed QEMU you already have
    That was my conclusion, meaning that if I want to use the latest revision of it (4.2.x), I'll have to dig into it.
    Hi. I'm trying to figure out the address of an instruction that caused an invalid memory access. The problem is that when I read pc in the hook, it points to another instruction (I guess due to pipelining). My question is how do I figure the correct pc? I'm emulating ARMv7
    el poto rico
    hi @danzat. This is a bug about the way blocks are generated. I've tried to fix it, I've submitted a PR.
    Tareq Mohd Nazir
    Hi all anybody tell when afl fuzzer run with unicorn engine. for this process, the instrumentation is necessary or not. Or the unicorn engine acts as an instrumenter
    Sunho Kim
    Hello I'm getting weird hang if I there's pld between neon instructions when code hook is enabled
    Is there anyone who hit similar issue before?
    Matthew M.
    is this chat still active?
    If theres anyone on, is it possible to emulate SSE 4.1 with this?
    im on a non-sse supported hardware cpu, and im trying to fix a bug with halo 5 forge pc edition
    Does anybody know how to set up unicorn for fuzzing any ARM example code with AFL?
    Hi ! Does anyone of you know if we can start a gdb server from unicorn, allowing to debug the emulated program from a classic gdb session ? I'd like to be able to work as if I had an actual device, and let's say an OpenOCD server exposing a GDB server allowing to peek into the internal state of the device. I've found uDdbg, yet I'd like to have an actual GDB server running. Thank you !
    @Juvojic checkout AFL++ unicorn mode
    @ldbo No, Unicorn is a CPU emulator not a system/OS emulator. You want actual QEMU, which can emulate an entire OS
    you can debug your application by (for instance) launching it with qemu (qemu-system-arm for cortex-mx), and then connect gdb to the right port.