You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "0528Mike (via GitHub)" <gi...@apache.org> on 2024/03/14 10:07:27 UTC

[PR] kasan: Complete the creation of global variable shadow areas during c… [nuttx]

0528Mike opened a new pull request, #11917:
URL: https://github.com/apache/nuttx/pull/11917

   …ompilation
   
   Implement out-of-bounds detection of global variable access, only modified to support arm, arm64 and sim
   
   ## Summary
   Global variable out-of-bounds detection optimization practices
   ## Impact
   
   ## Testing
   The test has been successful and the program will be submitted to the app
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] kasan: Complete the creation of global variable shadow areas during c… [nuttx]

Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 commented on PR #11917:
URL: https://github.com/apache/nuttx/pull/11917#issuecomment-1997334903

   https://github.com/apache/nuttx/actions/runs/8278875678/job/22652132468?pr=11917
   ```
   ./tools/checkpatch.sh -g HEAD~...HEAD
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] kasan: Complete the creation of global variable shadow areas during c… [nuttx]

Posted by "W-Mai (via GitHub)" <gi...@apache.org>.
W-Mai commented on PR #11917:
URL: https://github.com/apache/nuttx/pull/11917#issuecomment-2041385199

   `camke -GNinja -DNUTTX_APPS_DIR=../apps -DBOARD_CONFIG=sim:posix_test ..`
   
   I tested `sim:posix` locally and got such an error.
   
   ```bash
   /opt/homebrew/Cellar/llvm/17.0.6/bin/clang -Wstrict-prototypes -g -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names  CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_hostirq.c.o CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_hostmemory.c.o CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_hostmisc.c.o CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_hosttime.c.o CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_hostuart.c.o CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_testset.c.o CMakeFiles/nuttx.dir/arch/sim/src/sim/posix/sim_hostfs.c.o CMakeFiles/nuttx.dir/empty.c.o -o nuttx  nuttx.rel  -lpthread  -lz  -lc++abi  -lm && :
   Undefined symbols for architecture arm64:
     "_g_allsyms", referenced from:
         _main in nuttx.rel
         _main in nuttx.rel
         _main in nuttx.rel
         _main in nuttx.rel
         _main in nuttx.rel
         _main in nuttx.rel
     "_g_nallsyms", referenced from:
         _main in nuttx.rel
         _main in nuttx.rel
         _main in nuttx.rel
         _main in nuttx.rel
         _main in nuttx.rel
   ld: symbol(s) not found for architecture arm64
   ```
   
   If there is a problem with the generation of the elf file, resulting in an error in the parsing of the python script, it makes sensible.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] kasan: Complete the creation of global variable shadow areas during c… [nuttx]

Posted by "0528Mike (via GitHub)" <gi...@apache.org>.
0528Mike commented on PR #11917:
URL: https://github.com/apache/nuttx/pull/11917#issuecomment-1997309055

   why this check is failed, how can I reproduce this error locally?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] kasan: Complete the creation of global variable shadow areas during c… [nuttx]

Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 commented on PR #11917:
URL: https://github.com/apache/nuttx/pull/11917#issuecomment-2004214582

   @0528Mike please fix python script error reported here:
   https://github.com/apache/nuttx/actions/runs/8291098297/job/22690319748?pr=11917


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] kasan: Complete the creation of global variable shadow areas during c… [nuttx]

Posted by "0528Mike (via GitHub)" <gi...@apache.org>.
0528Mike commented on PR #11917:
URL: https://github.com/apache/nuttx/pull/11917#issuecomment-2004317800

   > @0528Mike please fix python script error reported here: https://github.com/apache/nuttx/actions/runs/8291098297/job/22690319748?pr=11917
   
   OK, due to personal reason,I will check the python scripts in two days, clear the errors and submit them.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] kasan: Complete the creation of global variable shadow areas during c… [nuttx]

Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 closed pull request #11917: kasan: Complete the creation of global variable shadow areas during c…
URL: https://github.com/apache/nuttx/pull/11917


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org