2
0
Fork 0
mirror of https://github.com/AsahiLinux/m1n1 synced 2025-01-16 23:14:08 +00:00
m1n1/proxyclient/m1n1
Martin Povišer 64d8f9d1b3 m1n1.loadobjs: Add util for loading objects on target
For those of us who can't write assembly but still need to run code on
the other side.

  >>> from m1n1.loadobjs import *
  >>> lp = LinkedProgram(u)
  >>> lp.debug_printf("hello from the other side (%d)\n", 42)
  TTY> hello from the other side (42)
  0x1f
  >>> lp.load_obj("build/test.o")
  >>> lp.test()
  TTY> hello from loaded object
  0x19
  >>> lp.clear_objs()

Signed-off-by: Martin Povišer <povik@protonmail.com>
2022-02-08 14:14:38 +09:00
..
fw proxyclient/epic: Add support for SubHeader.version = 3 2022-01-19 03:24:20 +09:00
hw m1n1.hw.asc: Add verbose flag 2022-01-19 03:21:15 +09:00
trace proxyclient/asc: s/Mgmt_StartSyslog/Mgmt_SetAPPower/ 2022-01-26 15:38:40 +09:00
__init__.py proxyclient: Big cleanup/move to module 2021-06-10 19:40:48 +09:00
adt.py m1n1.adt: Improve PMGR props parsing, add to dump_pmgr.py 2021-11-16 17:19:42 +09:00
asm.py m1n1.asm: Fix bad objdump variable 2021-11-10 20:43:51 +09:00
find_regs.py proxyclient: removed unused code 2021-09-22 19:00:34 +09:00
gpiola.py m1n1.gpiola: Add load_regmap() 2022-01-16 19:39:03 +09:00
hv.py m1n1.hv: Add a .started variable to indicate HV is running 2022-01-16 19:39:03 +09:00
loadobjs.py m1n1.loadobjs: Add util for loading objects on target 2022-02-08 14:14:38 +09:00
macho.py proxyclient: Big cleanup/move to module 2021-06-10 19:40:48 +09:00
malloc.py proxyclient: Big cleanup/move to module 2021-06-10 19:40:48 +09:00
proxy.py proxy: add nvme_{read,flush} 2022-01-26 15:38:40 +09:00
proxyutils.py m1n1.proxyutils: Wrap ADT base to 64 bits 2022-02-06 20:49:54 +09:00
setup.py Briefly document protocol 2021-08-03 13:52:31 +09:00
shell.py m1n1.shell: Fix broken signature thing for some objects 2021-08-29 01:36:27 +09:00
sysreg.py proxyclient: removed unused code 2021-09-22 19:00:34 +09:00
tgtypes.py proxyclient: Big cleanup/move to module 2021-06-10 19:40:48 +09:00
utils.py proxyclient: utils.py: add ehexdump() 2022-01-26 15:39:23 +09:00
xnutools.py m1n1.xnutools: Update decode_debugger_state() for 12.0 2021-09-15 23:26:45 +09:00