-
Notifications
You must be signed in to change notification settings - Fork 620
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
Cxx: extract section information from __attribute__((section("SECTION"))) #3614
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
masatake
force-pushed
the
cxx-side-chain
branch
3 times, most recently
from
January 2, 2023 23:26
5104e3c
to
bca4308
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #3614 +/- ##
==========================================
+ Coverage 85.25% 85.33% +0.07%
==========================================
Files 230 231 +1
Lines 55502 55728 +226
==========================================
+ Hits 47320 47553 +233
+ Misses 8182 8175 -7 ☔ View full report in Codecov by Sentry. |
masatake
force-pushed
the
cxx-side-chain
branch
2 times, most recently
from
January 4, 2023 05:20
a058389
to
9195354
Compare
masatake
commented
Jan 5, 2023
masatake
commented
Jan 5, 2023
masatake
commented
Jan 5, 2023
masatake
commented
Jan 5, 2023
masatake
force-pushed
the
cxx-side-chain
branch
from
January 7, 2023 13:51
9195354
to
d358fe1
Compare
masatake
commented
Jan 14, 2023
masatake
commented
Jan 14, 2023
masatake
force-pushed
the
cxx-side-chain
branch
2 times, most recently
from
January 14, 2023 18:45
8a44db2
to
193cfe1
Compare
masatake
force-pushed
the
cxx-side-chain
branch
from
March 28, 2023 14:18
193cfe1
to
d8827e3
Compare
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
For extracting interesting information from sequences in __attribute__(...) in upper layers, attach the token chain built from the sequence to the token AROUND the sequence. Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
input.c: extern void f0 (void) __attribute__ ((section ("sec"))); tags output: f0 input-1.c \ /^extern void f0 (void) __attribute__ ((section ("sec")));$/;" \ kind:prototype line:1 language:C typeref:typename:void \ file: signature:(void) roles:def extras:fileScope end:1 \ section:sec properties:extern Signed-off-by: Masatake YAMATO <yamato@redhat.com>
…ection("SECTION"))) found in C/C++ code input.c: extern void f0 (void) __attribute__ ((section ("sec"))); tags: sec input-1.c \ /^extern void f0 (void) __attribute__ ((section ("sec")));$/;" \ kind:inputSection line:1 language:LdScript \ roles:destination Signed-off-by: Masatake YAMATO <yamato@redhat.com>
The original code could not extract .inittext in .section ".inittext","ax" Signed-off-by: Masatake YAMATO <yamato@redhat.com>
…und in Asm code In the original code, sections are tagged as "placement" role of "section" kind in Asm language. Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
…as("ALIAS"))__ Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
masatake
force-pushed
the
cxx-side-chain
branch
from
December 17, 2023 13:23
d8827e3
to
02b59a9
Compare
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
masatake
force-pushed
the
cxx-side-chain
branch
from
December 17, 2023 13:38
02b59a9
to
5c812c0
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
TODO