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:[email protected]] Sent: Monday, March 22, 2021 09:24 To: [email protected] Cc: [email protected] 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 _______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
