-
Notifications
You must be signed in to change notification settings - Fork 6
Adding libtelnet #18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding libtelnet #18
Conversation
|
Telnet, in particular telnet option negotiation, is hard to get right. I keep meaning to get back to talkers and perhaps work on a node.js/deno style talker using wasm (in C or Rust, etc.). Of course it would be easy to run it in a browser too then. |
libtelnet didn't like the '%%', which required it to be '%%%%'. Also revamped the code to be a bit neater and use sds.
…t-out double escaping any before telnet write.
More tweaks
|
I would be wary of putting path specifiers in I would add paths to Using An example of where adding paths might make sense would be if you wanted to organized things in |
|
@Uzume, that's some really great feedback, thanks! I changed it because I was playing around a little with https://github.com/NASA-SW-VnV/ikos for a couple minutes, and it complained about implicit includes. But I didn't really think much else through more than that, and my C and compiling knowledge is practically non-existent these days (arguably, it always was 😁). So I really appreciate your feedback, and the explanation was great. I've revert the updates in a800df6 |
|
I am glad you listened. A static analyzer like IKOS will of course complain if it cannot find all of the code so one has to make sure to provide it much of the same information that is given to the compiler (or the preprocessor in this case). It is sometimes worthwhile to attempt to analyze parts of a program and ignore such issues but they are right to complain (and a user of such a tool is right to ignore such provided they understand the limitations they are working under). Most compilers also have many static analysis options to control their warnings for the very same reasons. Anyway, I imagine if you provide IKOS with the same Also, BTW, congratulations on v2.4.0!!! It only took more than a decade for this release. It seems you are diving back in. I am curious what you are currently building with. Are you using |
Hah, yeah.. I really should have tagged it ages back. But I figured there was a lot in
Just gcc - basically whatever you see in the docker container and the Makefile, that's what I was using. I didn't really look too hard at IKOS; I saw it mentioned, it had a docker container to run it with, and thought I'd give it a quick spin to see what it did as-is. I really didn't go much deeper than that, tbh. |
|
I just wonder how long until we have AI-based static analysis. Of course one would have to have a large code base to train such an AI on but some groups maintain such (e.g., Black Duck; you have probably head of Open Hub formerly Ohloh; also obviously Microsoft owns GitHub so they could do something with direct access to all the code here, etc.). |
I mean... it seems to work with my very short amount of "hey, I can log in and still see the text output" testing.
Anyone fancy trying it out?