Skip to content

Write not working #1

@larzen72

Description

@larzen72

The write functions don't write to the correct address.

Steps to reproduce:

  1. Do a "search one" that returns a result (something like "Found result at [address]!" will be logged).
  2. Do a "write" command with the intent to write at the result address logged in step 1.
  3. Observe that the bytes are actually written to a completely different address ("Writing [bytes] to [different address than step 1]" will be logged).

In looking at the code, it appears the writes are going to the address of the out array instead of the first address in the array, so I suppose changing the parameter sent to the write method to out[0] would make it work as intended.

It would be even better if the write command took an address as input though, so you don't have to do a search first to set the target address for the write.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions