Skip to content

Conversation

@sjenning
Copy link
Contributor

No description provided.

@sjenning
Copy link
Contributor Author

This is a lot. And the dependency stuff is still not as clean as I would like. I need to get the test stuff I have written committed too. Just need to get these merged though so I can stop thinking about them.

@jpoimboe
Copy link
Member

jpoimboe commented Mar 3, 2014

Confirmed that this fixes the string literal patching issue for me, i.e.:

Index: src/fs/proc/meminfo.c
===================================================================
--- src.orig/fs/proc/meminfo.c
+++ src/fs/proc/meminfo.c
@@ -95,7 +95,7 @@ static int meminfo_proc_show(struct seq_
        "Committed_AS:   %8lu kB\n"
        "VmallocTotal:   %8lu kB\n"
        "VmallocUsed:    %8lu kB\n"
-       "VmallocChunk:   %8lu kB\n"
+       "VmallocChunK:   %8lu kB\n"
 #ifdef CONFIG_MEMORY_FAILURE
        "HardwareCorrupted: %5lu kB\n"
 #endif

- Fixup debug messages
- Remove dead code
- No more DEPENDENCY state
- Reachability test is now the "Inclusion tree" for determining
  which syms/sections will be included in the output
- 'reachable' field is now and 'include' and is the sole
  consideration in including sections/symbols (no more complex
  conditional checks)
- Order LOCAL before GLOBAL in the symbol table.  Apparently, after
  a FILE sym, all LOCAL symbols should precede GLOBAL syms or readelf
  shows <corrupt>
- Handle __ksymtab_strings section and __ksymtab_* syms

Signed-off-by: Seth Jennings <sjenning@redhat.com>
@jpoimboe
Copy link
Member

jpoimboe commented Mar 5, 2014

@Spartacus06 Frankly this looks awesome. I bow before you sir. Nice work!

And it fixes the aforementioned string literal issue, as well as #40.

jpoimboe added a commit that referenced this pull request Mar 5, 2014
refactor and fix multiple issues
@jpoimboe jpoimboe merged commit 81cc4a3 into dynup:master Mar 5, 2014
@sjenning sjenning deleted the fixes branch March 5, 2014 16:15
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.

2 participants