tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] [cfarm-users] debugger architecture


From: Christian Jullien
Subject: Re: [Tinycc-devel] [cfarm-users] debugger architecture
Date: Mon, 22 Mar 2021 09:33:12 +0100

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@clisp.org] 
Sent: Monday, March 22, 2021 09:24
To: jullien@eligis.com
Cc: cfarm-users@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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]