Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Nguyen Anh Quynh
    @aquynh
    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
    @jdefr89
    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
    @jdefr89
    so new version is out!
    YEs!
    Joey DeFrancesco
    @jdefr89
    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
    @markyi370
    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
    @jdefr89
    I am working on a arm emulator
    Mark Yisri
    @markyi370
    @jdefr89 Have you implemented this?
    also trying to use SVC vectors
    unicorn-engine/unicorn#825
    blacktop
    @blacktop
    hello
    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
    @markyi370
    @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
    @ewust_twitter
    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)?
    Pr0ph3t
    @Pr0phet
    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.
    @aquynh
    Appreciate that!:)
    Ghost
    @ghost~5bb4a4c5d73408ce4faa3532
    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
    @rojii
    hey everyone
    anyone still use this gitter?
    Jonathan G
    @rojii
    this splace is dead
    :(
    larkwiot
    @larkwiot
    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
    larkwiot
    @larkwiot
    Fixed it myself. I had to also add /usr/lib64/libunicorn.a to the gcc call to make it statically link
    vincentdupaquis
    @vincentdupaquis
    Hello
    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 ?
    larkwiot
    @larkwiot
    (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
    vincentdupaquis
    @vincentdupaquis
    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.
    danzat
    @danzat
    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
    @elp0t0r1c0
    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
    @tareq97
    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
    @sunho
    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.
    @MatrixMMOfficial
    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
    Juvojic
    @Juvojic
    Does anybody know how to set up unicorn for fuzzing any ARM example code with AFL?
    ldbo
    @ldbo
    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 !
    larkwiot
    @larkwiot
    @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
    vincentdupaquis
    @vincentdupaquis
    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.