[cfarm-users] debugger architecture
Christian Jullien
eligis at orange.fr
Mon Mar 22 09:33:12 CET 2021
Bruno,
TinyCC is not an interpreter, it compiles in memory then executes the code
so fast that its looks to act as an interpreter. It supports shebang which
is damn cool to have shell scripts written in C for example.
Again, we'll have to probably adapt the code to Silicon which no longer
allows to make pages writable and executable. Few extra operations are
required.
AFAIK, TinyCC has no specific debugger.
-----Original Message-----
From: Bruno Haible [mailto:bruno at clisp.org]
Sent: Monday, March 22, 2021 09:24
To: jullien at eligis.com
Cc: cfarm-users at lists.tetaneutral.net
Subject: *** SPAM *** Re: [cfarm-users] debugger architecture
Hi Christian,
> To port TinyCC on Silicon ...
It's good that you mention TinyCC. AFAIU, it contains a C interpreter.
Would it be possible to extend it, to contain a C interpreter and debugger?
This would make it possible to do debugging on platforms where 'ptrace'
is not available to normal users, due to "security" considerations [2][3].
Bruno
[2] https://attack.mitre.org/techniques/T1055/008/
[3] https://www.kernel.org/doc/Documentation/security/Yama.txt
More information about the cfarm-users
mailing list