Skip to content

Master pr nxstyle improvments#2

Closed
davids5 wants to merge 2 commits into
apache:masterfrom
nuttx-to-asf:master-pr-nxstyle-improvments
Closed

Master pr nxstyle improvments#2
davids5 wants to merge 2 commits into
apache:masterfrom
nuttx-to-asf:master-pr-nxstyle-improvments

Conversation

@davids5
Copy link
Copy Markdown
Contributor

@davids5 davids5 commented Dec 22, 2019

@patacongo -

This will get us off the ground on the formatting tool we can get in to the workfow.

We are going to need your expertise on the the makefile side. (be nice i got it to work ;)

There should be no formatting check changes - it just get us a tool that will work with compiler aware ide/editors.

make check_format - will check all the files that differ from master

image

tools/check_code_style.sh file name will check a file

@davids5 davids5 requested review from acassis and patacongo December 22, 2019 19:50
Comment thread tools/nxstyle.c
@davids5 davids5 requested review from Ouss4 and patacongo December 22, 2019 19:52
Comment thread tools/nxstyle.c Outdated
Comment thread tools/nxstyle.c Outdated
Comment thread tools/nxstyle.c Outdated
Comment thread tools/nxstyle.c Outdated
Comment thread tools/nxstyle.c Outdated
Comment thread tools/nxstyle.c Outdated
Comment thread tools/nxstyle.c
Comment thread tools/nxstyle.c
Comment thread tools/Makefile.unix
Comment thread tools/nxstyle.c Outdated
Comment thread tools/nxstyle.c Outdated
Comment thread tools/nxstyle.c Outdated
Comment thread tools/nxstyle.c Outdated
Comment thread tools/nxstyle.c Outdated
Comment thread tools/nxstyle.c Outdated
Comment thread tools/nxstyle.c Outdated
Comment thread tools/nxstyle.c Outdated
Comment thread tools/Makefile.unix
Comment thread tools/Makefile.unix
Comment thread tools/check_code_style.sh
Comment thread tools/check_code_style.sh
@davids5 davids5 force-pushed the master-pr-nxstyle-improvments branch from 6d3e8fc to 17d05b6 Compare December 22, 2019 20:41
Comment thread tools/nxstyle.c
Comment thread tools/Makefile.unix
Comment thread tools/check_code_style.sh
@patacongo
Copy link
Copy Markdown
Contributor

patacongo commented Dec 22, 2019

I added Xiao Xiang to the reviewers. We need to have a lot of concurrence here since this PR implements a portion of the workflow while there no workflow requirements in place. I think this piece of the workflow is not so controversial, but I would like to have Xiang provide his input as well. Xiang is the most authorative person on the build system and must be in the loop on build system changes.

@patacongo patacongo closed this Dec 22, 2019
@patacongo
Copy link
Copy Markdown
Contributor

patacongo commented Dec 23, 2019

What is this? How did I do this? What does closed mean? Is that like declined? What was closed?
Do I need to unclose something?
...
Okay I found the button that I must have pushed. Reopened.

@Ouss4
Copy link
Copy Markdown
Member

Ouss4 commented Dec 23, 2019

Yes close without merging is like decline.
It's still closed btw.

xiaoxiang781216 pushed a commit that referenced this pull request Sep 1, 2022
==2117790==ERROR: AddressSanitizer: global-buffer-overflow on address 0x64d9e3c0 at pc 0x59ac4e16 bp 0xcefe8058 sp 0xcefe8048
READ of size 1 at 0x64d9e3c0 thread T0
    #0 0x59ac4e15 in up_nputs sim/up_nputs.c:54
    #1 0x59a67e4c in syslog_default_write syslog/syslog_channel.c:220
    #2 0x59a67823 in syslog_default_write syslog/syslog_write.c:101
    #3 0x59a67f10 in syslog_write syslog/syslog_write.c:153
    #4 0x59a651c3 in syslogstream_flush syslog/syslog_stream.c:60
    #5 0x59a6564e in syslogstream_addchar syslog/syslog_stream.c:104
    #6 0x59a6576f in syslogstream_putc syslog/syslog_stream.c:140
    #7 0x5989fc4d in vsprintf_internal stdio/lib_libvsprintf.c:952
    #8 0x598a1298 in lib_vsprintf stdio/lib_libvsprintf.c:1379
    #9 0x59a64ea4 in nx_vsyslog syslog/vsyslog.c:223
    #10 0x598a601a in vsyslog syslog/lib_syslog.c:68
    #11 0x59b0e3dc in AIOTJS::logPrintf(int, char const*, ...) src/ajs_log.cpp:45
    #12 0x59b03d56 in jse_dump_obj src/jse/quickjs/jse_quickjs.cpp:569
    #13 0x59b03ea1 in jse_dump_error1(JSContext*, unsigned long long) src/jse/quickjs/jse_quickjs.cpp:602
    #14 0x59b03dd9 in jse_dump_error(JSContext*) src/jse/quickjs/jse_quickjs.cpp:591
    #15 0x59bed615 in ferry::DomComponent::callHook(char const*) src/framework/dom/component.cpp:65
    #16 0x59bfe0ff in ferry::DomComponent::initialize() src/framework/dom/component.cpp:645
    #17 0x59bb141d in dom_create_component(JSContext*, unsigned long long, unsigned long long, unsigned long long) (/home/wangbowen/project/central/vela_miot_bes_m0/bin/audio+0x365c41d)
    #18 0x59b4c0d3 in AIOTJS::__createComponent(JSContext*, unsigned long long, int, unsigned long long*) (/home/wangbowen/project/central/vela_miot_bes_m0/bin/audio+0x35f70d3)
    #19 0x5a56ec17 in js_call_c_function quickjs/quickjs.c:16108

Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants