Yann Weber
31b61c5f90
Adds tests & remove obsolete code
1 week ago
Yann Weber
9095ba87fc
Add tests + bugfix completion
1 week ago
Yann Weber
c8df019cc5
Adds libc functions mocks to tests
1 year ago
Yann Weber
b51e0e5a0f
Small enhancement
1 week ago
Yann Weber
606f892aad
Add a .data command and a new &label_name notation
1 week ago
Yann Weber
39cafafc6b
tests + small bugfixes
1 week ago
Yann Weber
cba3d4305a
Add .compile command & interactiv prompt
1 week ago
Yann Weber
6cfc7145d9
Various features
- asmsh_cmd_memdump command for memory dumps
- asmsh_shell_t now have a mode :
- exec mode (default) compiled bytecode is written & step on
- compile mode compiled bytecode is written in env->write_ptr addr
- asmsh_env_t removed stack_addr attribute
- asmsh_env_read_mem implementation
- asmsh_env_write_mem bugfix
- asmsh_env_write_mem now modify addr by reference
1 week ago
Yann Weber
4bf8ad86dd
Add .setreg command
2 weeks ago
Yann Weber
5e8c7a1282
Treat GNU as warning as error
2 weeks ago
Yann Weber
a4954e43dc
Add commands help
2 weeks ago
Yann Weber
9bae3327e0
Add another example
2 weeks ago
Yann Weber
d67c51c541
Add simple file exec tests
2 weeks ago
Yann Weber
55f6887bb9
Implement file execution
2 weeks ago
Yann Weber
9f32ad937e
Various bugfixes
2 weeks ago
Yann Weber
36b432cc01
Dirty & quick fix asmsh.c for compilation without libreadline
1 year ago
Yann Weber
ea3e6c2515
Code linting
1 year ago
Yann Weber
f6d6333e2a
Adds argument parsing to asmsh + comments
1 year ago
Yann Weber
7a02cc2923
Implement a switch between AT&T and Intel syntax
1 year ago
Yann Weber
ead189dde2
Fix ELF parsing
1 year ago
Yann Weber
be9be061c9
Implements labels declaration & references
For the moment labels are only subsituted with relative notation
". +/- OFFSET"
1 year ago
Yann Weber
8f71818e2b
Delete useless /dev/null print
1 year ago
Yann Weber
3faa1cd209
Deleted old child path using embedded child
1 year ago
Yann Weber
76d0e3cd59
Bugfix in /proc/[pid]/map parse
dev id is in hexa
1 year ago
Yann Weber
8a1388b9f7
Setup deb & rpm packaging
1 year ago
Yann Weber
66ace69502
Enhancement in build + bugfixes
1 year ago
Yann Weber
576bb67fda
Enhancement in README
1 year ago
Yann Weber
1924ecfb3d
Moved sources to src folder fixing make dist
1 year ago
Yann Weber
fdd2cfc2bf
Implement ".breakpoint after INSTR" command
1 year ago
Yann Weber
32ffdfbd8a
Simplify the symtable implementation
Now it is only dedicated to address storage !
If needed the code to free an allocated pointer is commented.
1 year ago
Yann Weber
fb1fec4d8e
Preparing dist
1 year ago
Yann Weber
647afe71e7
Adds an example of loop
1 year ago
Yann Weber
c778c8bd2b
Implements a .run function that runs until breakpoint
1 year ago
Yann Weber
46924b5df0
Make the asmsh_log_perror() macro non variadic again ;)
1 year ago
Yann Weber
53d2b40af9
Implements a .breakpoint command
1 year ago
Yann Weber
0ed105117d
Make the asmsh_log_perror macro variadic
1 year ago
Yann Weber
e3d0baa414
Implements a small breakpoint lib
Allows to store & efficient lookup
1 year ago
Yann Weber
77beccae4f
Adds a .step command
1 year ago
Yann Weber
1ea9a70421
Bugfix in as stderr logging
1 year ago
Yann Weber
65dedd4255
Enhancement in doc & man
1 year ago
Yann Weber
32a40e8143
Enhancement in documentation
1 year ago
Yann Weber
43935cf566
Commenting + man generation
1 year ago
Yann Weber
85fdc54fd1
Adds doxygen documentation generation to autotools
1 year ago
Yann Weber
35a420d301
Makes the log function & macros variadic
1 year ago
Yann Weber
0f6c205587
Enhancement/bugfix in shell & child synchronization
1 year ago
Yann Weber
0441242d51
Porting bugfix from test on VM
1 year ago
Yann Weber
6886694530
Porting a bugfix from VM + shell_cmds refactoring
1 year ago
Yann Weber
92bd63cde3
First implementation of a .syscalls command
1 year ago
Yann Weber
1a50e7db83
Bugfix command completion
1 year ago
Yann Weber
7e6f0a4ff4
Implement a .maps command that display all memory maps
1 year ago