profile
viewpoint

tzneal/ham-go 4

Amateur radio related code written in go

tzneal/bincmp 3

used for comparing symbol sizes in binaries

tzneal/coordconv 2

MGRS/UTM/UPS Coordinate Converter (partial port of NGA's geotrans)

tzneal/gitlab-issues 2

A tool to extract gitlab issues in text and CSV format

tzneal/prompt 2

prompt library in go inspired by networking equipment shells

tzneal/gopicotts 1

go wrapper around the pico text to speech engine

tzneal/airspyone_host 0

AirSpy's usemode driver and associated tools

tzneal/bleve 0

A modern text indexing library for go

tzneal/blueprint 0

A React-based UI toolkit for the web

PR opened radareorg/radare2

rasm2: treat reading from stdin the same as reading from a file

Add the missing return flag inversion so reading from stdin and a regular file both return zero on success.

+1 -0

0 comment

1 changed file

pr created time in a month

create barnchtzneal/radare2

branch : fix-read-stdin-exit-status

created branch time in a month

fork tzneal/radare2

UNIX-like reverse engineering framework and command-line toolset

http://www.radare.org/

fork in a month

issue commentradareorg/radare2

Replace some eprintf with r_cons_printf

Yes, but grep/curl have process exit codes that can be used to determine if an error occurred. As far as I could tell, there's no way to identify if a command was successful other than by adding support for parsing the possible outputs of each individual command.

tzneal

comment created time in a month

startedradareorg/radare2

started time in a month

issue openedradareorg/radare2

Replace some eprintf with r_cons_printf

Is your feature request related to a problem? Please describe.

I was working on a r2-pipe Go wrapper that read radare2's stderr to detect and report errors. This mostly works, except there are a lot of places where eprintf is used for non-error messages:

https://github.com/radareorg/radare2/blob/6c8cc9294b4a7095273dcb5045b0bee86276ecdb/libr/io/p/io_debug.c#L487

https://github.com/radareorg/radare2/blob/11dad4facbe0913457092f127cfae12e40cc714c/libr/main/radare2.c#L1099

https://github.com/radareorg/radare2/blob/11dad4facbe0913457092f127cfae12e40cc714c/libr/debug/debug.c#L112

https://github.com/radareorg/radare2/blob/11dad4facbe0913457092f127cfae12e40cc714c/libr/debug/debug.c#L599

Describe the solution you'd like Replace some non-error usages of eprintf with r_cons_printf

Would there be interest in merging some commits in that do that, or is there a better solution?

created time in a month

startederiklindernoren/ML-From-Scratch

started time in 4 months

more